-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello list! 

Today I updated alsa-lib from 1.0.9b to 1.0.11. Until now I was using an 
~/.asoundrc that allowed me to (a) play back stereo sound on all four 
speakers (by duplicating via the route plugin), and (b) to listen to multiple 
audio sources via dmix. I have an ice1724-based card ("Terratec Aureon 5.1"). 

After the update, I had to add "format S32_LE" to my dmix definition -- why?

The two pcms work; I can either play back using the dmix plugin or have 
duplicated sound with my ch40dup pcm. But the combination fails with the 
following error message: 

ALSA lib pcm_params.c:2152:(snd_pcm_hw_refine_slave) Slave PCM not usable

I will paste my .asoundrc at the end of this E-Mail. Any help is highly 
appreciated. :-)

Thanks in advance,
        Eric MSP Veith

P.S.: I always thought that my cards supports hardware mixing, that is, doing 
the job of the dmix plugin. Am I wrong with my assumption? I could not get it 
working until today.

So, here comes the file:

pcm.ice1724 {
    type hw
    card 0
}
ctl.ice1724 {
    type hw
    card 0
}

pcm.!default {
    type plug
    slave.pcm "ch40dup"
}
ctl.!default {
    type hw
    card 0
}

pcm.swmixer {
    type dmix
    ipc_key 1024
    slave {
        pcm "hw:0,0"
        format S32_LE
        channels 4
        period_time 0
        period_size 1024
        buffer_size 8192
    }
    bindings {
        0 0
        1 1
    }
}
ctl.swmixer {
    type hw
    card 0
}

pcm.ch40dup {
    type route
    slave {
        pcm "swmixer"
        channels 4
    }
    ttable.0.0 1
    ttable.1.1 1
    ttable.0.2 1
    ttable.1.3 1
}
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFExCNuMpEdE19y46cRAlFSAJ94PR3+jgpJOlE/avENrsHiEIkeWACggqJI
UVQ9t3l2rSeWpNO9QZFrDGM=
=gi4i
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to