On Mon, 2006-03-20 at 16:04 -0700, Bobby Acha wrote: > > Hi all, > > > > Here is my problem. I have set up a Delta 44 (ice1712) soundcard. > It is functioning, but I am having great difficulty in setting up the > ability to record or play from multiple pairs of channels at the same > time. I also am having a hard time playing directly to the hw:0,0 > device. I am however able to use plughw:0,0. > > > > [EMAIL PROTECTED] ~]# aplay test.wav > > Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, > Stereo Aborted by signal Interrupt... > > > > > > [EMAIL PROTECTED] ~]# aplay -D hw:0,0 test.wav Playing WAVE > 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo > > aplay: set_params:896: Sample format non available > This won't work as you are trying to play an S16_LE .wav file to the hw device which only supports S32_LE. You must use plughw to play normal .wav files on this device. > > > [EMAIL PROTECTED] ~]# arecord -D ch12 test.wav ALSA lib > pcm_dshare.c:613:(snd_pcm_dshare_open) The dshare plugin supports only > playback stream > > arecord: main:544: audio open error: Invalid argument > I think you want dsnoop not dshare here. > > [EMAIL PROTECTED] ~]# arecord -D hw:0,0 test.wav Recording WAVE > 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono > > arecord: set_params:896: Sample format non available > See above - you are trying to capture 8 bit audio from the hw: device which only supports S32_LE. Plughw should work.
> Following is my asound.conf file. I have checked sing aplay and > arecord with the -l flag, and the conf file is being used. > > > > > > pcm_slave.delta { > > pcm "hw:0,0" > > channels 4 > > rate 44100 > > buffer_size 4096 > > period_size 2048 > > periods 0 > > period_time 0 > > } > > > > pcm.ch12 { > > type dshare > > ipc_key 47110815 > > slave delta > > bindings.0 0 > > bindings.1 1 > > } > > > > pcm.ch34 { > > type dshare > > ipc_key 47110815 > > slave delta > > bindings.0 2 > > bindings.1 3 > > } > > > > > > I have also tried using the pcm as "plughw:0,0". > > > > > > [EMAIL PROTECTED] ~]# aplay -D ch12 test.wav ALSA lib > pcm_dshare.c:687:(snd_pcm_dshare_open) dshare plugin can be only > connected to hw plugin Segmentation fault > > > > Any help would be greatly appreciated. > > > > Thanks, > > > > Bobby > > > > Senior Systems Engineer > > Colorado Public Radio > > Englewood, CO 80012 > > 303 871 9191 x 252 > > > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user