May 25, 2006
6:59 p.m.
Emmanuel Maillard <mahanuu(a)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(a)winehq.org