Skip to content

Commit

Permalink
[sketch-ios] Disable output in VoiceProcessingAudioUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
akihikodaki committed Nov 29, 2019
1 parent 6a662ee commit 3a75487
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdk/objc/native/src/audio/voice_processing_audio_unit.mm
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ static OSStatus GetAGCState(AudioUnit audio_unit, UInt32* enabled) {
return false;
}

/*
// Enable output on the output scope of the output element.
UInt32 enable_output = 1;
result = AudioUnitSetProperty(vpio_unit_, kAudioOutputUnitProperty_EnableIO,
Expand All @@ -134,6 +135,7 @@ static OSStatus GetAGCState(AudioUnit audio_unit, UInt32* enabled) {
(long)result);
return false;
}
*/

// Specify the callback function that provides audio samples to the audio
// unit.
Expand Down

0 comments on commit 3a75487

Please sign in to comment.