If I'll find a way to do it with a stream in the near future I'll post here.I don't think you can get correct synchronization, there's no way to know when a chunk of samples will be played -- except by looking at the source code and adding one or two ugly hacks to your code.