Anybody ???
-----Original Message-----
From: Nenad Sljivic [mailto:[email protected]]
Sent: 07 October 2011 18:51
To: '[email protected]'
Subject: dmix - unable to open slave
Hi,
I am trying to enable a software mixer on an MIPS based embedded target
board using alsa-lib v1.0.23.
When I try to play two audio files using these commands:
#aplay -vDplug:dmix song1.wav &
#aplay -vDplug:dmix song2.wav"
mixing works fine.
For some strange reason when I try the same thing using the "nenad_dmix"
device I am getting the following error:
ALSA lib pcm_dmix.c:1068:(snd_pcm_dmix_open) unable to open slave
aplay: main:654: audio open error: Invalid argument
The error occurs while trying to open device for the second time (song2.wav
playback). At the same time, song1.wav plays fine.
The content of my .asoundrc is given bellow:
pcm.nenad_dmix {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0666
slave {
pcm "hw:0,0"
period_time 0
period_size 3840
buffer_size 15360
rate 48000
}
}
Could some of you help me to resolve this issue?
Thanks,
Nenad
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user