It seems that the only device a mono stream can be played on is the "default" pcm device.
Devices like "front" and "rear" are stereo only devices.
It would be nice if alsa-lib would open one of these devices, and if the application tries to set 1 channel instead of 2, then somehow make alsa-lib do the duplication of the channels.
A similar thing should happen for "surround40" device. If 1 channel is asked for, alsa-lib should duplicate it for all channels. If 2 channels are asked for, then alsa-lib should create 4 channels automatically.
alsa-lib seems to manage to do this sort of thing for sample rates, and sample formats, why not number of channels ?
Cheers James
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel