I am writing a program that uses some libraries that outputs the sound
directly to /dev/dsp.
The trick to prevent that is to call esddsp myprog or more simply, to
export LD_PRELOAD="/usr/lib/"
before launching myprog.

Is there another way to do ?
Will it work with my program if I link it with /usr/lib/
and /usr/lib/  ?
Can I make without esddsp and without the LD_PRELOAD and don't touch the
libs Im using ?

Thanks a lot !

 (o-      SANDRAS Damien
 //\      Président ACM LLN

Open Source and Free Software Developers Meeting
       3rd and 4th february 2001, Brussels
Visit and subscribe to the mailing list!

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