[Darwine] Re: Mac OS X Audio driver

Alexandre Julliard julliard at winehq.org
Thu May 25 13:59:49 CDT 2006

Emmanuel Maillard <mahanuu at opendarwin.org> writes:

> All callback used by CoreAudio/AudioUnit are call from a thread
> created by CoreAudio.
> Its why i can't use debug channels, critical section and call
> DriverCallback directly ...

Yes, you can't do much without a valid thread. That's really a broken
API if you ask me... Anyway, please remove the #ifdefs, and add
comments to the functions that run in a foreign thread to ensure that
no one tries to call Windows APIs from there.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list