On Mon, 26 Jan 2004, Thomas Charbonnel wrote:
Now if you do specify 'channels 18' in the dmix slave definition, the error is as follows :
aplay: set_params:827: Sample format non available
I have 'format S32_LE' set in the dmix slave definition, but it doesn't seem to be taken into account.
It should be. Did you used 'aplay -D plug:your_dmix'?
Jaroslav
You're right, I only used '-D my_dmix'.
Using '-D plug:my_dmix' works properly, so I guess the problem is solved, thanks !
For the record here's the working .asoundrc section :
pcm.hdsp_dmix { type dmix ipc_key 1024 slave { pcm { type hw card 2 } rate 44100 format S32_LE channels 18 } }
Of course people will have to tweak the card and channels number to match their setup.
Thomas
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel