I also had a similar requirement of using ExternalPlayoutGetData (external audio sink). I implemented
a thread in my application which calls ExternalPlayoutGetData for every ~10ms.
I also do observe loss of audio sometimes. Is this the issue you are also facing ?
I suspect this could be to deal something with ~10ms accuracy. Are there any other ways like
callbacks or other to get the audio packets to my application asynchronously instead of application
probing it for every ~10ms ??