Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
alsa: dmix & hook/lock
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
lagalopex
Guru
Guru


Joined: 16 Oct 2004
Posts: 562

PostPosted: Tue Jan 24, 2012 2:47 pm    Post subject: alsa: dmix & hook/lock Reply with quote

Hi!

I made a new alsa-configuration. Some userdefined upmixing, a global softvol and dmix.

Now I added a hook to set and lock some controls, unfortunately it failes:
The first "program" can play sound, but the second will fail with:
Code:
ALSA lib setup.c:96:(snd_sctl_install) Cannot lock ctl elem

I already have "optional true", but it seems to fail somewhere else, not in the plugin.

How can I manage to lock the controls while still being able to play from multiple sources?

(Setting the hook after dmix will fail, because dmix only accepts hw-slaves...)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum