Too many channels...
2008-11-06 10:16:48 GMT
Dear all
I used PortAudio-19 to write a very simple program that displays the number of channels for sound in/out with the default sound device (plus some other info, like the available sample rates). This works nicely on Mac OS X, and I also managed to compile it on Linux (Ubuntu 8.04). On Linux, however, it looks as if the /dev/dsp device has 16 channels for input and output, which is not true (the hardware has only two channels). I think that the sound driver(s) or some other audio-related software layer 'invents' a few extra channels. Is there a way to circumvent this? I'm not a Linux expert at all, so I'd be glad for some help...
Here's how I compiled my program:
gcc -lrt -lasound -lpthread -lportaudio -o TestDevicesPA19 TestDevicesPA19.c
Thanks
Matthias
_______________________________________________ Portaudio mailing list Portaudio <at> techweb.rfa.org http://techweb.rfa.org/mailman/listinfo/portaudio
RSS Feed