On Wed, 21 Jan 2004, Takashi Iwai wrote:

> At Wed, 21 Jan 2004 13:55:53 +0100,
> p z oooo wrote:
> > 
> > Hi,
> > 
> > When I remove control through hwdep layer on emu10k1 
> > driver when in use by oss emulation I got oops. 
> > This is because oss emulation holds pointer to this control.
> > Is there any api to disable an then enable oss emulation or 
> > only proc interface ???
> 
> hmm weird, the access to ctl elements in mixer_oss.c is restricted
> with card->controls_rwsem.  since snd_emu10k1_del_controls issues
> down_write() for it, it must be safe...

I think that he meant that slot->kcontrol members are not removed. 
We need probably rebuild the OSS mixer -> ALSA control connections when
a control - which is used with the OSS mixer code - was removed.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to