• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: sound effect plugin using the AudioServerPlugin API gives noisy results on sound coming from Chrome
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Guillaume Laurent <email@hidden>
  • Date: Mon, 23 Apr 2018 17:03:29 +0200

I tried logging some info in the DoIOOperation() method but since it’s called
very often it’s hard to extract useful info (I’m not a sound/core audio
expert). Anyway, thank you, your answer corroborates the one of Daniel just
before.

> On 23 Apr 2018, at 09:59, Eric Gorouben <email@hidden> wrote:
>
> 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

References: 
 >sound effect plugin using the AudioServerPlugin API gives noisy results on sound coming from Chrome (From: Guillaume Laurent <email@hidden>)
 >Re: sound effect plugin using the AudioServerPlugin API gives noisy results on sound coming from Chrome (From: Eric Gorouben <email@hidden>)

  • Prev by Date: Re: sound effect plugin using the AudioServerPlugin API gives noisy results on sound coming from Chrome
  • Next by Date: questions regarding AVAssetResourceLoaderDelegate
  • Previous by thread: Re: sound effect plugin using the AudioServerPlugin API gives noisy results on sound coming from Chrome
  • Next by thread: questions regarding AVAssetResourceLoaderDelegate
  • Index(es):
    • Date
    • Thread