### .asoundrc for intel8x0
pcm.intel8x0-hw { type hw card 0 }
pcm.dsp0 { type plug slave.pcm "intel8x0" }
pcm.dsp1 { type plug slave.pcm "intel8x0" }
pcm.dsp { type plug slave.pcm "intel8x0" }
pcm.!default { type plug slave.pcm "intel8x0" }
pcm.intel8x0 { type dmix ipc_key 1234 slave { pcm "hw:0,0" period_time 0 period_size 1024 buffer_size 32768 } }
ctl.intel8x0-hw { type hw card 0 }
-------------------------------------------------------------------------------- wim delvaux wrote:
Hi all,
I stil am unable to use the mutlichannel possibilities. The following is my .asoundrc file
pcm.dsp0 { type dmix ipc_key 1024 # must be unique! slave { pcm "hw:0,0" # you cannot use a "plug" device here, darn. period_time 0 period_size 1024 # must be power of 2 buffer_size 8192 # dito. It rate 44100 #format "S32_LE" #periods 128 # dito. #rate 8000 # with rate 8000 you *will* hear, # if ossmix is used :) } }
pcm.dsp1 { type dmix ipc_key 1026 # must be unique! slave { pcm "hw:0,1" # you cannot use a "plug" device here, darn. period_time 0 period_size 1024 # must be power of 2 buffer_size 8192 # dito. It rate 44100 #format "S32_LE" #periods 128 # dito. #rate 8000 # with rate 8000 you *will* hear, # if ossmix is used :) } }
pcm.intel8x0 { type hw card 0 }
ctl.intel8x0 { type hw card 0 }
If I try to play sound using alsaplayer I get
[EMAIL PROTECTED]:.../u19809$ alsaplayer --device "hw:0,1" Snd.mp3
ALSA lib pcm_hw.c:1056:(snd_pcm_hw_open) open /dev/snd/pcmC0D1p failed: No such device
snd_pcm_open: No such device (hw:0,1)
Failed to initialize plugin!
Failed to register plugin: /usr/lib/alsaplayer/output/libalsa_out.so
Failed to load output plugin "alsa". Trying defaults.
ALSA lib pcm_hw.c:1056:(snd_pcm_hw_open) open /dev/snd/pcmC0D1p failed: No such device
snd_pcm_open: No such device (hw:0,1)
Failed to initialize plugin!
/usr/lib/alsaplayer/output/libalsa_out.so failed to load
error opening /dev/dsp
Failed to initialize plugin!
/usr/lib/alsaplayer/output/liboss_out.so failed to load
NOTE: THIS IS THE NULL PLUGIN. YOU WILL NOT HEAR SOUND!!
But ...
[EMAIL PROTECTED]:.../u19809$ alsaplayer --device "hw:0,0" Snd.mp3
works ...
Please advice ...
W
------------------------------------------------------- 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-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
------------------------------------------------------- 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-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user