dmix problems with analog out (HDMI out works fine with dmix)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi All,

I am using ALSA 1.0.24 with the attached asound.conf.  I am attempting to share (mix) the analog output between Asterisk and aplay.  However, when Asterisk is running, my application throws an error when attempting to play a wave file via aplay.  If I stop Asterisk, aplay plays the wave file just fine.  If I remove the asound.conf file, Asterisk and aplay are both happy and share the analog output just find with the default ALSA dmix implementation.  However, we need this asound.conf to work for us for other reasons.  What is wrong with it.  I have even tried replacing dmix with dshare and get the same bad behavior.  We are running CentOS 6.0.  As a caveat, I am attempting to use dmix with analog audio.  If I use it with HDMI audio, it works flawlessly (same asound.conf with tweek to specify HDMI).  Thanks in advance for your help.

[root@devkrakorar snd]# su silentm -c "aplay -Dplug:dmixer /usr/share/sounds/alsa/Front_
Center.wav"
ALSA lib pcm_hw.c:1293:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-22): Invalid argument

ALSA lib pcm_dmix.c:1068:(snd_pcm_dmix_open) unable to open slave
aplay: main:660: audio open error: Invalid argument
[root@devkrakorar snd]#

Best Regards,

--
Rob Krakora
MessageNet Systems
101 East Carmel Dr. Suite 105
Carmel, IN 46032
(317)566-1677
Ext 212
(317)663-0808 Fax

Attachment: asound.conf
Description: Binary data

Attachment: alsa.conf
Description: Binary data

Attachment: alsa-info.txt.PwOfopSqfX
Description: Binary data

------------------------------------------------------------------------------
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-d2dcopy1
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Free Dating Site]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux