UInt32 flag = 1;
AudioUnitSetProperty(rioUnit, kAudioOutputUnitProperty_EnableIO,
kAudioUnitScope_Output, kOutputBus, &flag, sizeof(flag));
AudioUnitSetProperty(rioUnit, kAudioUnitProperty_StreamFormat,
kAudioUnitScope_Output, kInputBus, &audioFormat, sizeof(audioFormat));
AudioUnitSetProperty(rioUnit, kAudioUnitProperty_SetRenderCallback,
kAudioUnitScope_Global, kOutputBus, &outputProc, sizeof(outputProc));
with 44100.0 set as the SR in the audioFormat, and also set as the preferred SR. Still it always defaults to a hardware SR of 8000.0. Is this the way life is? Running 3.1.2 on the phone.
brad