Dear all, Here is a patch that should provide the functionality we want (mentioned in http://lists.freedesktop.org/archives/pulseaudio-discuss/2012-May/013544.html) without changing the current API too much. I am a beginner in PulseAudio so it is likely that I made some terrible mistakes. Ideally every async API call should take one extra callback for cancelation, instead of setting up the callback after the API call; however this will lead to a major API change. Regards, Favonia