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 <glaur...@telegraph-road.org> 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 (Coreaudio-api@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/coreaudio-api/gorouben%40gmail.com > > This email sent to gorou...@gmail.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (Coreaudio-api@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com This email sent to arch...@mail-archive.com