On Thu, 26 Feb 2004, Michel Dänzer wrote: > On Thu, 2004-02-26 at 15:33, Jaroslav Kysela wrote: > > > > It looks that the wrapper code does not work as expected. > > Can you add a printf calls to all public functions in > > the alsa-oss/alsa/alsa-oss.c code, so we can determine > > where the code hangs? > > The problem occurs when the ALSA_OSS_WRAPPER environment variable isn't > set. initialize() returns early, so the public functions segfault when > they try to dereference the uninitialized fds. > > Is there a reason why ALSA_OSS_WRAPPER must be set? Even if so, I think > it should cope more gracefully otherwise. :)
No reason. I ommited to remove this hack when I separated the wrapper code from the API emulation code. You can remove the lines without any side effect. I also found next problems in the emulation code, so I will release rc3 of alsa-oss package. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel