Audio ducking on Mac when creating audiounit with VoiceProcessingIO

Hi,
I've noticed that in Mac if when creating audiounit with VoiceProcessingIO it is ducking all the system audio.

Is there a way to avoid it?

This is how I create it:
Code Block
    AudioComponentDescription ioUnitDescription;
    ioUnitDescription.componentType = kAudioUnitType_Output;
    ioUnitDescription.componentSubType = kAudioUnitSubType_VoiceProcessingIO;
    ioUnitDescription.componentManufacturer = kAudioUnitManufacturer_Apple;
    ioUnitDescription.componentFlags = 0;
    ioUnitDescription.componentFlagsMask = 0;
    AudioComponent outputComponent = AudioComponentFindNext(NULL, &ioUnitDescription);
    result = AudioComponentInstanceNew(outputComponent, &m_audioUnit);

Post not yet marked as solved Up vote post of zvba Down vote post of zvba
851 views

Replies

@zvba did you ever figure this out? i'm hitting the same thing and would love some pointers. thanks!

@zvba Any new ideas since that time about this ducking issue?