Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit 3a75487

Browse files
committed
[sketch-ios] Disable output in VoiceProcessingAudioUnit
1 parent 6a662ee commit 3a75487

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sdk/objc/native/src/audio/voice_processing_audio_unit.mm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ static OSStatus GetAGCState(AudioUnit audio_unit, UInt32* enabled) {
122122
return false;
123123
}
124124

125+
/*
125126
// Enable output on the output scope of the output element.
126127
UInt32 enable_output = 1;
127128
result = AudioUnitSetProperty(vpio_unit_, kAudioOutputUnitProperty_EnableIO,
@@ -134,6 +135,7 @@ static OSStatus GetAGCState(AudioUnit audio_unit, UInt32* enabled) {
134135
(long)result);
135136
return false;
136137
}
138+
*/
137139

138140
// Specify the callback function that provides audio samples to the audio
139141
// unit.

0 commit comments

Comments
 (0)