Home › Forums › OpenEars › Audio driver issues in combination with AirPlay › Reply To: No speech detection after a while, and then crash
October 13, 2012 at 1:09 pm
#11609
Ferm
Participant
No I am not using audiosession in my code.
I added the following to disable output in ContinousAudioUnit
UInt32 enableOutput = 0;
setEnableIOStatus = AudioUnitSetProperty(audioDriver->audioUnit,
kAudioOutputUnitProperty_EnableIO,
kAudioUnitScope_Output,
0,
&enableOutput,
sizeof(enableOutput));
if(setEnableIOStatus != noErr) {
if(openears_logging == 1) NSLog(@”Couldn’t disable IO output: %d”,(int)setEnableIOStatus);
}
But then I got “cont_ad_calib failed”