Re: sound effect plugin using the AudioServerPlugin API gives noisy results on sound coming from Chrome
Re: sound effect plugin using the AudioServerPlugin API gives noisy results on sound coming from Chrome
- Subject: Re: sound effect plugin using the AudioServerPlugin API gives noisy results on sound coming from Chrome
- From: Daniel Vollmer <email@hidden>
- Date: Mon, 23 Apr 2018 08:48:33 +0200
Hi Guillaume,
> On 22. Apr 2018, at 20:48, Guillaume Laurent <email@hidden>
> 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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden