Hi I'm using portaudio on win32. It works well. But is there no lock-mechanism? I need to be sure, that the callback function isn't called while my program is processing the buffers. pa_lockstream( stream ); do something; pa_unlockstream( stream ); Or is there any other way to make the whole thing thread-safe? BTW: Where is this pa_linux?? Best, Hans