I'm trying to set the buffer size of a core audio HAL plugin from an application.
Everything looks ok as if the buffer gets the new size... but the HAL plugin still uses the old size in its DoIOOperation
What am I doing wrong here?
Code Block AudioObjectPropertyAddress propertyAddress = {kAudioDevicePropertyBufferFrameSize, kAudioObjectPropertyScopeOutput, kAudioObjectPropertyElementMaster}; OSStatus err = AudioObjectSetPropertyData(inDeviceID, &propertyAddress, 0, NULL, sizeof(newBufferFrameSize), &newBufferFrameSize);
Everything looks ok as if the buffer gets the new size... but the HAL plugin still uses the old size in its DoIOOperation
What am I doing wrong here?