Hi Guillaume, > On 22. Apr 2018, at 20:48, Guillaume Laurent <[email protected]> > wrote: > > Hello all, > > I have a virtual audio driver, using the AudioServerPlugin API, which applies > some simple effects like reverb or bass boost on the incoming sound. It works > correctly if the sound if coming from Quicktime Player, iTunes, ou a YouTube > video on Safari. But if the sound is coming from Chrome, I get a very noisy > result with lots of crackles. I suppose there’s a difference in the sound > format somehow, but I don’t see where or how in the AudioServerPlugin API I > can obtain that information ?
I think I saw something similar in my SoundPusher application (https://github.com/q-p/SoundPusher which includes an AudioServerPlugIn driver to capture and forward sound). In my case it was due to assuming a fixed offset between read and write sample timing; watching an HTML5 video in Safari showed this was in incorrect assumption. This may or may not be a problem for Chrome as well. In general, applications (should) rarely change the sample format, but the buffer sizes and timings be varied. So I’d check in that area. Daniel. _______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com This email sent to [email protected]
