Mono Sound Vs. Stereo Sound


zzhu8192

Still Fresh
Joined
May 10, 2006
Messages
50
Location
Austin, TX
Website
www.unicorn-jockey.com
I'm having a hard time figuring out whether I'm doing something wrong in trying to get mono audio on the GP2X.

code snippet.

int channels=1;
int stereo=0;
ioctl(gp2x_dev[3], SNDCTL_DSP_CHANNELS, &channels);
ioctl(gp2x_dev[3], SNDCTL_DSP_STEREO, &stereo);


Yet, the sound still phases in and out on the right speaker.
Has anyone else run into this issue? Or am I missing something obvious?

Thanks!
 
Back
Top