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: Eric Gorouben <email@hidden>
- Date: Mon, 23 Apr 2018 09:59:55 +0200
Hi
I’ve experienced similar problems (and still experience some).
The problem seems to happen in situations where the buffer size changes
quickly, or the buffer size is small, or the timing is jittering, or the timing
is not absolutely stable. In these cases you may end up in a constant underrun
state.
I assume that your driver is unclocked (kAudioDeviceClockAlgorithmUnclocked).
Did you trace your output to exactly see what happens and when?
Depending on your driver’s needs, you can add a safety offset that will make
core audio write data at a higher sample time.
Regards
Eric
> Le 22 avr. 2018 à 20:48, Guillaume Laurent <email@hidden> a
> écrit :
>
> 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 ?
>
> Thanks,
>
> Guillaume.
> _______________________________________________
> 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
_______________________________________________
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