Skip to content

Commit 5c7e8fe

Browse files
committed
Add Remote I/O unit for ios
iOS provides three I/O (input/output) units. The vast majority of audio-unit applications use the Remote I/O unit, which connects to input and output audio hardware and provides low-latency access to individual incoming and outgoing audio sample values. For VoIP apps, the Voice-Processing I/O unit extends the Remote I/O unit by adding acoustic echo cancelation and other features. To send audio back to your application rather than to output audio hardware, use the Generic Output unit. See https://developer.apple.com/library/content/documentation/MusicAudio/Conceptual/AudioUnitHostingGuide_iOS/UsingSpecificAudioUnits/UsingSpecificAudioUnits.html
1 parent 89a8494 commit 5c7e8fe

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/audio_unit/types.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,5 +446,12 @@ pub enum IOType {
446446
///
447447
/// **Available** in OS X v10.7 and later.
448448
VoiceProcessingIO = 1987078511,
449+
/// Connects to device hardware for input, output, or simultaneous input and output.
450+
/// Use it for playback, recording, or low-latency simultaneous input and output where echo
451+
/// cancelation is not needed.
452+
///
453+
/// See https://developer.apple.com/library/content/documentation/MusicAudio/Conceptual/AudioUnitHostingGuide_iOS/UsingSpecificAudioUnits/UsingSpecificAudioUnits.html
454+
/// **Available** in iOS.
455+
RemoteIO = 1919512419,
449456
}
450457

0 commit comments

Comments
 (0)