[alsa-devel] External PCM hook SO is dlclosed after calling install, making it hard to have hooks in it

Paul Fertser fercerpav at gmail.com
Tue Jun 30 13:24:51 CEST 2009


On Tue, Jun 30, 2009 at 11:21:39AM +0200, Takashi Iwai wrote:
> Paul Fertser wrote:
> > TBH, i've not tried but i'm pretty sure it will fix the problem. I
> > tried with dlopen workaround (to increase the refcounter) in install
> > function and i tried with LD_PRELOAD'ing the library before starting
> > an alsa app; both workarounds worked.
> 
> OK, I fixed this on GIT now.

Wow! Thanks a lot for this fast and proper fix! I compile-tested it,
will try running later, but it should be ok. :)

While reading the diff i saw you introduced several unused variables,
patch attached.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav at gmail.com
-------------- next part --------------



More information about the Alsa-devel mailing list