dmix - unable to open slave

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

 



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 of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux