May 25, 2006
2:28 p.m.
Here it come, I remove Ken's patches, remove ifdefs and add some comments. Changelog : Initial Audio Driver for Mac OS X Emmanuel Le 25 mai 06 à 20:59, Alexandre Julliard a écrit :
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