Expand description
§Bindings to the AVFAudio framework
See Apple’s docs and the general docs on framework crates for more information.
Structs§
- AVAU
Preset Event AVMusicEvents - The event class representing a preset load and change on the AVMusicTrack’s destinationAudioUnit.
- AVAudio3D
Angular Orientation AVAudioTypes - Struct representing the orientation of the listener in 3D space
- AVAudio3D
Mixing Point Source InHead Mode AVAudioMixing - In-head modes available for AVAudio3DMixingSourceModePointSource in AVAudio3DMixingRenderingAlgorithmAuto
- AVAudio3D
Mixing Rendering Algorithm AVAudioMixing - Types of rendering algorithms available per input bus of the environment node
- AVAudio3D
Mixing Source Mode AVAudioMixing - Source types available per input bus of the environment node
- AVAudio3D
Point AVAudioTypes - Struct representing a point in 3D space
- AVAudio3D
Vector Orientation AVAudioTypes - Struct representing the orientation of the listener in 3D space
- AVAudio
Application AVAudioApplication - Class containing methods that relate to an application bundle’s audio (i.e. a collection of one or more AVAudioSession instances)
- AVAudio
Application Microphone Injection Permission AVAudioApplication - These are the values returned by microphoneInjectionPermission.
- AVAudio
Application Record Permission AVAudioApplication - These are the values returned by recordPermission.
- AVAudio
Buffer AVAudioBuffer - A buffer of audio data, with a format.
- AVAudio
Channel Layout AVAudioChannelLayout - A description of the roles of a set of audio channels.
- AVAudio
Common Format AVAudioFormat - A format other than one of the common ones below.
- AVAudio
Compressed Buffer AVAudioBuffer - A subclass of AVAudioBuffer for use with compressed audio formats.
- AVAudio
Connection Point AVAudioConnectionPoint - A representation of either a source or destination connection point in AVAudioEngine.
- AVAudio
Content Source AVAudioSettings - Apple’s documentation
- AVAudio
Converter AVAudioConverter - Converts streams of audio between various formats.
- AVAudio
Converter Input Status AVAudioConverter - You must return one of these codes from your AVAudioConverterInputBlock.
- AVAudio
Converter Output Status AVAudioConverter - These values are returned from convertToBuffer:error:withInputFromBlock:
- AVAudio
Converter Prime Info AVAudioConverterandAVAudioTypes - This struct is the value of the primeInfo property and specifies priming information.
- AVAudio
Converter Prime Method AVAudioConverter - values for the primeMethod property. See further discussion under AVAudioConverterPrimeInfo.
- AVAudio
Dynamic Range Control Configuration AVAudioSettings - Apple’s documentation
- AVAudio
Engine AVAudioEngine - An AVAudioEngine contains a group of connected AVAudioNodes (“nodes”), each of which performs an audio signal generation, processing, or input/output task.
- AVAudio
Engine Manual Rendering Error AVAudioEngine - Error codes that could be returned from AVAudioEngine manual rendering mode methods,
e.g.
enableManualRenderingMode:format:maximumFrameCount:error:andrenderOffline:toBuffer:error:. Note that this is not a comprehensive list, and the underlying audio units could return other error codes (e.g. see kAudioUnitErr_* in AudioToolbox/AUComponent.h) from these methods as applicable. - AVAudio
Engine Manual Rendering Mode AVAudioEngine - By default, the engine is connected to an audio device and automatically renders in realtime. It can also be configured to operate in manual rendering mode, i.e. not connected to an audio device and rendering in response to requests from the client.
- AVAudio
Engine Manual Rendering Status AVAudioEngine - Status codes returned from the render call to the engine operating in manual rendering mode.
- AVAudio
Environment Distance Attenuation Model AVAudioEnvironmentNode - Types of distance attenuation models
- AVAudio
Environment Distance Attenuation Parameters AVAudioEnvironmentNode - Parameters specifying the amount of distance attenuation
- AVAudio
Environment Node AVAudioEnvironmentNodeandAVAudioNode - Mixer node that simulates a 3D environment
- AVAudio
Environment Output Type AVAudioEnvironmentNode - Types of output for AVAudio3DMixingRenderingAlgorithmAuto
- AVAudio
Environment Reverb Parameters AVAudioEnvironmentNode - Parameters used to control the reverb in AVAudioEnvironmentNode
- AVAudio
File AVAudioFile - An audio file opened for reading or writing.
- AVAudio
Format AVAudioFormat - A representation of an audio format.
- AVAudioIO
Node AVAudioIONodeandAVAudioNode - Base class for a node that performs audio input or output in the engine.
- AVAudio
Input Node AVAudioIONodeandAVAudioNode - A node that performs audio input in the engine.
- AVAudio
Mixer Node AVAudioMixerNodeandAVAudioNode - A node that mixes its inputs to a single output.
- AVAudio
Mixing Destination AVAudioMixing - An object representing a connection to a mixer node from a node that conforms to AVAudioMixing protocol
- AVAudio
Node AVAudioNode - Base class for an audio generation, processing, or I/O block.
- AVAudio
Output Node AVAudioIONodeandAVAudioNode - A node that performs audio output in the engine.
- AVAudioPCM
Buffer AVAudioBuffer - A subclass of AVAudioBuffer for use with PCM audio formats.
- AVAudio
Player AVAudioPlayer - Apple’s documentation
- AVAudio
Player Node AVAudioNodeandAVAudioPlayerNode - Play buffers or segments of audio files.
- AVAudio
Player Node Buffer Options AVAudioPlayerNode - Options controlling buffer scheduling.
- AVAudio
Player Node Completion Callback Type AVAudioPlayerNode - Specifies when the completion handler must be invoked.
- AVAudio
Quality AVAudioSettings - Apple’s documentation
- AVAudio
Recorder AVAudioRecorder - An object that records audio data to a file.
- AVAudio
Routing Arbiter AVAudioRoutingArbiter - The interface to participate in audio routing arbitration.
- AVAudio
Routing Arbitration Category AVAudioRoutingArbiter - The category describes the general type of audio that the app plans to use.
- AVAudio
Sequencer AVAudioSequencer - A collection of MIDI events organized into AVMusicTracks, plus a player to play back the events.
- AVAudio
Session AVAudioSession - Apple’s documentation
- AVAudio
Session Activation Options AVAudioSessionTypes - For use with activateWithOptions:completionHandler:
- AVAudio
Session Capability AVAudioSessionRoute - Describes whether a specific capability is supported and if that capability is currently enabled
- AVAudio
Session Category Options AVAudioSessionTypes - Customization of various aspects of a category’s behavior.
Use with
AVAudioSession/setCategory:mode:options:error:. - AVAudio
Session Channel Description AVAudioSessionRoute - Information about a port’s audio channels.
- AVAudio
Session Data Source Description AVAudioSessionRoute - Information about one of potentially multiple data sources associated with a port.
- AVAudio
SessionIO Type AVAudioSessionTypes - Values to be used by setAggregatedIOPreference:error: method.
- AVAudio
Session Interruption Options AVAudioSessionTypes - Values for AVAudioSessionInterruptionOptionKey in AVAudioSessionInterruptionNotification’s userInfo dictionary.
- AVAudio
Session Interruption Reason AVAudioSessionTypes - Values for AVAudioSessionInterruptionReasonKey in AVAudioSessionInterruptionNotification’s userInfo dictionary.
- AVAudio
Session Interruption Type AVAudioSessionTypes - Values for AVAudioSessionInterruptionTypeKey in AVAudioSessionInterruptionNotification’s userInfo dictionary.
- AVAudio
Session Microphone Injection Mode AVAudioSessionTypes - Various modes to inject audio coming from a session to another app’s input stream
- AVAudio
Session Port Description AVAudioSessionRoute - Information about a port, a physical connector or audio device.
- AVAudio
Session Port Extension Bluetooth Microphone AVAudioSessionRoute - An object that describes capabilities of Bluetooth microphone ports.
- AVAudio
Session Port Override AVAudioSessionTypes - For use with overrideOutputAudioPort:error:
- AVAudio
Session Prompt Style AVAudioSessionTypes - The prompt style is a hint to sessions that use AVAudioSessionModeVoicePrompt to modify the type of prompt they play in response to other audio activity on the system, such as Siri or phone calls. Sessions that issue voice prompts are encouraged to pay attention to changes in the prompt style and modify their prompts in response. Apple encourages the use of non-verbal prompts when the Short style is requested.
- AVAudio
Session Record Permission AVAudioSessionTypes - These are the values returned by recordPermission.
- AVAudio
Session Rendering Mode AVAudioSessionTypes - Apple’s documentation
- AVAudio
Session Route Change Reason AVAudioSessionTypes - Values for AVAudioSessionRouteChangeReasonKey in AVAudioSessionRouteChangeNotification’s userInfo dictionary
- AVAudio
Session Route Description AVAudioSessionRoute - A description of the input and output ports which comprise a route.
- AVAudio
Session Route Sharing Policy AVAudioSessionTypes - Starting in iOS 11, tvOS 11, and watchOS 5, the route sharing policy allows a session to specify that its output audio should be routed somewhere other than the default system output, when appropriate alternative routes are available.
- AVAudio
Session SetActive Options AVAudioSessionTypes - options for use when calling setActive:withOptions:error:
- AVAudio
Session Silence Secondary Audio Hint Type AVAudioSessionTypes - Values for AVAudioSessionSilenceSecondaryAudioHintTypeKey in AVAudioSessionSilenceSecondaryAudioHintNotification’s userInfo dictionary, to indicate whether optional secondary audio muting should begin or end.
- AVAudio
Sink Node AVAudioNodeandAVAudioSinkNode - AVAudioSinkNode wraps a client provided block to receive input audio on the audio IO thread.
- AVAudio
Source Node AVAudioNodeandAVAudioSourceNode - AVAudioSourceNode wraps a client provided block to supply audio.
- AVAudio
Stereo Orientation AVAudioSessionTypes - Constants indicating stereo input audio orientation, for use with built-in mic input data sources with a stereo polar pattern selected.
- AVAudio
Time AVAudioTime - Represent a moment in time.
- AVAudio
Unit AVAudioNodeandAVAudioUnit - An AVAudioNode implemented by an audio unit.
- AVAudio
Unit Component AVAudioUnitComponent - Provides details about an audio unit such as type, subtype, manufacturer, location etc. User tags can be added to the AVAudioUnitComponent which can be queried later for display.
- AVAudio
Unit Component Manager AVAudioUnitComponent - A singleton object that provides an easy way to find audio components that are registered with the system.
- AVAudio
Unit Delay AVAudioNodeandAVAudioUnitandAVAudioUnitDelayandAVAudioUnitEffect - an AVAudioUnitEffect that implements a delay effect
- AVAudio
Unit Distortion AVAudioNodeandAVAudioUnitandAVAudioUnitDistortionandAVAudioUnitEffect - An AVAudioUnitEffect that implements a multi-stage distortion effect.
- AVAudio
Unit Distortion Preset AVAudioUnitDistortion - Apple’s documentation
- AVAudio
UnitEQ AVAudioNodeandAVAudioUnitandAVAudioUnitEQandAVAudioUnitEffect - An AVAudioUnitEffect that implements a Multi-Band Equalizer.
- AVAudio
UnitEQ Filter Parameters AVAudioUnitEQ - Filter parameters used by AVAudioUnitEQ.
- AVAudio
UnitEQ Filter Type AVAudioUnitEQ - Filter types available to use with AVAudioUnitEQ.
- AVAudio
Unit Effect AVAudioNodeandAVAudioUnitandAVAudioUnitEffect - an AVAudioUnit that processes audio in real-time
- AVAudio
Unit Generator AVAudioNodeandAVAudioUnitandAVAudioUnitGenerator - an AVAudioUnit that generates audio output
- AVAudio
UnitMIDI Instrument AVAudioNodeandAVAudioUnitandAVAudioUnitMIDIInstrument - Base class for MIDI instruments.
- AVAudio
Unit Reverb AVAudioNodeandAVAudioUnitandAVAudioUnitEffectandAVAudioUnitReverb - an AVAudioUnitEffect that implements a reverb
- AVAudio
Unit Reverb Preset AVAudioUnitReverb - Apple’s documentation
- AVAudio
Unit Sampler AVAudioNodeandAVAudioUnitandAVAudioUnitMIDIInstrumentandAVAudioUnitSampler - Apple’s sampler audio unit.
- AVAudio
Unit Time Effect AVAudioNodeandAVAudioUnitandAVAudioUnitTimeEffect - an AVAudioUnit that processes audio in non real-time
- AVAudio
Unit Time Pitch AVAudioNodeandAVAudioUnitandAVAudioUnitTimeEffectandAVAudioUnitTimePitch - an AVAudioUnitTimeEffect that provides good quality time stretching and pitch shifting
- AVAudio
Unit Varispeed AVAudioNodeandAVAudioUnitandAVAudioUnitTimeEffectandAVAudioUnitVarispeed - an AVAudioUnitTimeEffect that can be used to control the playback rate
- AVAudio
Voice Processing Other Audio Ducking Configuration AVAudioIONode - The configuration of ducking other (i.e. non-voice) audio
- AVAudio
Voice Processing Other Audio Ducking Level AVAudioIONode - Ducking level applied to other (i.e. non-voice) audio by AVAudio voice processing AU.
- AVAudio
Voice Processing Speech Activity Event AVAudioIONode - Types of speech activity events.
- AVBeat
Range AVAudioSequencerandAVAudioTypes - Used to describe a specific time range within an AVMusicTrack.
- AVExtended
Note OnEvent AVMusicEvents - The event class representing a custom extension of a MIDI note-on.
- AVExtended
Tempo Event AVMusicEvents - The event class representing a tempo change to a specific beats-per-minute value.
- AVMIDI
Channel Event AVMusicEvents - The event base class for all MIDI messages which operate on a single MIDI channel.
- AVMIDI
Channel Pressure Event AVMusicEvents - The event class representing MIDI channel pressure messages.
- AVMIDI
Control Change Event AVMusicEvents - The event class representing MIDI control change messages.
- AVMIDI
Control Change Message Type AVMusicEvents - Types of MIDI control change events. See the General MIDI Specification for details.
- AVMIDI
Meta Event AVMusicEvents - The event class representing MIDI Meta-Event messages.
- AVMIDI
Meta Event Type AVMusicEvents - Constants which indicate which type of MIDI Meta-Event to create.
- AVMIDI
Note Event AVMusicEvents - The event class representing MIDI note-on/off messages.
- AVMIDI
Pitch Bend Event AVMusicEvents - The event class representing MIDI pitch bend messages.
- AVMIDI
Player AVMIDIPlayer - A player for music file formats (MIDI, iMelody).
- AVMIDI
Poly Pressure Event AVMusicEvents - The event class representing MIDI “poly” or “key” pressure messages.
- AVMIDI
Program Change Event AVMusicEvents - The event class representing MIDI program or patch change messages.
- AVMIDI
Sysex Event AVMusicEvents - The event class representing MIDI system exclusive messages.
- AVMusic
Event AVMusicEvents - The base class for all events associated with an AVMusicTrack.
- AVMusic
Sequence Load Options AVAudioSequencer - Determines whether data on different MIDI channels is mapped to multiple tracks, or if the tracks are preserved as-is.
- AVMusic
Track AVAudioSequencer - A collection of music events which will be sent to a given destination, and which can be offset, muted, etc. independently of events in other tracks.
- AVMusic
Track Loop Count AVAudioSequencer - Apple’s documentation
- AVMusic
User Event AVMusicEvents - The event class representing custom user messages.
- AVParameter
Event AVMusicEvents - The event class representing a parameter set/change event on the AVMusicTrack’s destinationAudioUnit.
- AVSpeech
Boundary AVSpeechSynthesis - Apple’s documentation
- AVSpeech
Synthesis Marker AVSpeechSynthesis - Apple’s documentation
- AVSpeech
Synthesis Marker Mark AVSpeechSynthesis - Markers used in the output event callback. Used for providing metadata on synthesized audio.
- AVSpeech
Synthesis Personal Voice Authorization Status AVSpeechSynthesis - Apple’s documentation
- AVSpeech
Synthesis Provider Audio Unit AVSpeechSynthesisProviderandobjc2-audio-toolboxand non-watchOS - Apple’s documentation
- AVSpeech
Synthesis Provider Request AVSpeechSynthesisProvider - An
AVSpeechSynthesisProviderRequestgets delivered to anAVSpeechSynthesisProviderAudioUnitin order to synthesize audio. This is distinct from anAVSpeechUtterance,which is a generic utterance to be spoken. - AVSpeech
Synthesis Provider Voice AVSpeechSynthesisProvider - The representation of a provided voice that is available for speech synthesis.
- AVSpeech
Synthesis Voice AVSpeechSynthesis - AVSpeechSynthesisVoice encapsulates the attributes of the voice used to synthesize speech on the system.
- AVSpeech
Synthesis Voice Gender AVSpeechSynthesis - Apple’s documentation
- AVSpeech
Synthesis Voice Quality AVSpeechSynthesis - Apple’s documentation
- AVSpeech
Synthesis Voice Traits AVSpeechSynthesis - Apple’s documentation
- AVSpeech
Synthesizer AVSpeechSynthesis - AVSpeechSynthesizer allows speaking of speech utterances with a basic queuing mechanism.
- AVSpeech
Utterance AVSpeechSynthesis - AVSpeechUtterance is the atom of speaking a string or pausing the synthesizer.
Constants§
- AVAudio
Session Interruption Flags_ Should Resume Deprecated AVAudioSessionDeprecated - Apple’s documentation
- AVAudio
Session SetActive Flags_ Notify Others OnDeactivation Deprecated AVAudioSessionDeprecated - Apple’s documentation
Statics§
- AVAudio
Application ⚠Input Mute State Change Notification AVAudioApplication - Notification sent to registered listeners when the application’s input is muted or unmuted.
- AVAudio
Application ⚠Mute State Key AVAudioApplication - Keys for AVAudioApplicationInputMuteStateChangeNotification Value is NSNumber type with boolean value 0 for unmuted or value 1 for muted (samples zeroed out)
- AVAudio
BitRate ⚠Strategy_ Constant AVAudioSettings - Apple’s documentation
- AVAudio
BitRate ⚠Strategy_ Long Term Average AVAudioSettings - Apple’s documentation
- AVAudio
BitRate ⚠Strategy_ Variable AVAudioSettings - Apple’s documentation
- AVAudio
BitRate ⚠Strategy_ Variable Constrained AVAudioSettings - Apple’s documentation
- AVAudio
Engine ⚠Configuration Change Notification AVAudioEngine - A notification generated on engine configuration changes when rendering to/from an audio device.
- AVAudio
File ⚠Type Key AVAudioSettings - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeyAlbum AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeyApproximate Duration InSeconds AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeyArtist AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeyChannel Layout AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeyComments AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeyComposer AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeyCopyright AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeyEncoding Application AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeyGenre AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeyISRC AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeyKey Signature AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeyLyricist AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeyNominal BitRate AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeyRecorded Date AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeySource BitDepth AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeySource Encoder AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeySub Title AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeyTempo AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeyTime Signature AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeyTitle AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeyTrack Number AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer ⚠Info Dictionary KeyYear AVAudioSequencer - Apple’s documentation
- AVAudio
Session ⚠Available Inputs Change Notification AVAudioSessionTypes - Notification sent to registered listeners when there are changes in
availableInputs. - AVAudio
Session ⚠Category Ambient AVAudioSessionTypes - Use this category for background sounds such as rain, car engine noise, etc. Mixes with other music.
- AVAudio
Session ⚠Category Audio Processing Deprecated AVAudioSessionTypes - Use this category when using a hardware codec or signal processor while not playing or recording audio.
- AVAudio
Session ⚠Category Multi Route AVAudioSessionTypes - Use this category to customize the usage of available audio accessories and built-in audio hardware. For example, this category provides an application with the ability to use an available USB output and headphone output simultaneously for separate, distinct streams of audio data. Use of this category by an application requires a more detailed knowledge of, and interaction with, the capabilities of the available audio routes. May be used for input, output, or both. Note that not all output types and output combinations are eligible for multi-route. Input is limited to the last-in input port. Eligible inputs consist of the following: AVAudioSessionPortUSBAudio, AVAudioSessionPortHeadsetMic, and AVAudioSessionPortBuiltInMic. Eligible outputs consist of the following: AVAudioSessionPortUSBAudio, AVAudioSessionPortLineOut, AVAudioSessionPortHeadphones, AVAudioSessionPortHDMI, and AVAudioSessionPortBuiltInSpeaker. Note that AVAudioSessionPortBuiltInSpeaker is only allowed to be used when there are no other eligible outputs connected.
- AVAudio
Session ⚠Category Play AndRecord AVAudioSessionTypes - Use this category when recording and playing back audio.
- AVAudio
Session ⚠Category Playback AVAudioSessionTypes - Use this category for music tracks.
- AVAudio
Session ⚠Category Record AVAudioSessionTypes - Use this category when recording audio.
- AVAudio
Session ⚠Category Solo Ambient AVAudioSessionTypes - Use this category for background sounds. Other music will stop playing.
- AVAudio
Session ⚠Interruption Notification AVAudioSessionTypes - Notification sent to registered listeners when the system has interrupted the audio session and when the interruption has ended.
- AVAudio
Session ⚠Interruption Option Key AVAudioSessionTypes - Only present for end interruption events. Value is of type AVAudioSessionInterruptionOptions.
- AVAudio
Session ⚠Interruption Reason Key AVAudioSessionTypes - Only present in begin interruption events. Value is of type AVAudioSessionInterruptionReason.
- AVAudio
Session ⚠Interruption Type Key AVAudioSessionTypes - keys for AVAudioSessionInterruptionNotification Value is an NSNumber representing an AVAudioSessionInterruptionType
- AVAudio
Session ⚠Interruption WasSuspended Key Deprecated AVAudioSessionTypes - Only present in begin interruption events, where the interruption is a direct result of the application being suspended by the operating sytem. Value is a boolean NSNumber, where a true value indicates that the interruption is the result of the application being suspended, rather than being interrupted by another audio session.
- AVAudio
Session ⚠Location Lower AVAudioSessionRoute - Apple’s documentation
- AVAudio
Session ⚠Location Upper AVAudioSessionRoute - Apple’s documentation
- AVAudio
Session ⚠Media Services Were Lost Notification AVAudioSessionTypes - Notification sent to registered listeners if the media server is killed.
- AVAudio
Session ⚠Media Services Were Reset Notification AVAudioSessionTypes - Notification sent to registered listeners when the media server restarts.
- AVAudio
Session ⚠Microphone Injection Capabilities Change Notification AVAudioSessionTypes - Notification sent to registered listeners when the system’s capability to inject audio into input stream is changed
- AVAudio
Session ⚠Microphone Injection IsAvailable Key AVAudioSessionTypes - Keys for AVAudioSessionMicrophoneInjectionCapabilitiesChangeNotification
- AVAudio
Session ⚠Mode Default AVAudioSessionTypes - The default mode
- AVAudio
Session ⚠Mode Game Chat AVAudioSessionTypes - Set by Game Kit on behalf of an application that uses a GKVoiceChat object; valid only with the AVAudioSessionCategoryPlayAndRecord category. Do not set this mode directly. If you need similar behavior and are not using a GKVoiceChat object, use AVAudioSessionModeVoiceChat instead.
- AVAudio
Session ⚠Mode Measurement AVAudioSessionTypes - Appropriate for applications that wish to minimize the effect of system-supplied signal processing for input and/or output audio signals. This mode disables some dynamics processing on input and output resulting in a lower output playback level.
- AVAudio
Session ⚠Mode Movie Playback AVAudioSessionTypes - Appropriate for applications playing movie content. Only valid with AVAudioSessionCategoryPlayback. Setting this mode engages appropriate output signal processing for movie playback scenarios. Content using this mode is eligible for Enhance Dialogue processing on supported routes with capable hardware
- AVAudio
Session ⚠Mode Short Form Video AVAudioSessionTypes - Appropriate for applications playing short-form video content.
- AVAudio
Session ⚠Mode Spoken Audio AVAudioSessionTypes - Appropriate for applications which play spoken audio and wish to be paused (via audio session interruption) rather than ducked if another app (such as a navigation app) plays a spoken audio prompt. Examples of apps that would use this are podcast players and audio books. For more information, see the related category option AVAudioSessionCategoryOptionInterruptSpokenAudioAndMixWithOthers.
- AVAudio
Session ⚠Mode Video Chat AVAudioSessionTypes - Only valid with kAudioSessionCategory_PlayAndRecord. Reduces the number of allowable audio routes to be only those that are appropriate for video chat applications. May engage appropriate system-supplied signal processing. Has the side effect of setting AVAudioSessionCategoryOptionAllowBluetoothHFP and AVAudioSessionCategoryOptionDefaultToSpeaker. Using this mode without the VoiceProcessing IO unit or AVAudioEngine with voice processing enabled will result in the following:
- AVAudio
Session ⚠Mode Video Recording AVAudioSessionTypes - Only valid with AVAudioSessionCategoryPlayAndRecord or AVAudioSessionCategoryRecord. Modifies the audio routing options and may engage appropriate system-supplied signal processing.
- AVAudio
Session ⚠Mode Voice Chat AVAudioSessionTypes - Only valid with AVAudioSessionCategoryPlayAndRecord. Appropriate for Voice over IP (VoIP) applications. Reduces the number of allowable audio routes to be only those that are appropriate for VoIP applications and may engage appropriate system-supplied signal processing. Has the side effect of setting AVAudioSessionCategoryOptionAllowBluetoothHFP. Using this mode without the VoiceProcessing IO unit or AVAudioEngine with voice processing enabled will result in the following:
- AVAudio
Session ⚠Mode Voice Prompt AVAudioSessionTypes - Appropriate for applications which play audio using text to speech. Setting this mode allows for different routing behaviors when connected to certain audio devices such as CarPlay. An example of an app that would use this mode is a turn by turn navigation app that plays short prompts to the user. Typically, these same types of applications would also configure their session to use AVAudioSessionCategoryOptionDuckOthers and AVAudioSessionCategoryOptionInterruptSpokenAudioAndMixWithOthers
- AVAudio
Session ⚠Mute State Key AVAudioSessionTypes - Keys for
AVAudioSessionOutputMuteStateChangeNotificationValue isNSNumbertype with boolean value 0 for unmuted or value 1 for muted (samples zeroed out) - AVAudio
Session ⚠Orientation Back AVAudioSessionRoute - Apple’s documentation
- AVAudio
Session ⚠Orientation Bottom AVAudioSessionRoute - Apple’s documentation
- AVAudio
Session ⚠Orientation Front AVAudioSessionRoute - Apple’s documentation
- AVAudio
Session ⚠Orientation Left AVAudioSessionRoute - Apple’s documentation
- AVAudio
Session ⚠Orientation Right AVAudioSessionRoute - Apple’s documentation
- AVAudio
Session ⚠Orientation Top AVAudioSessionRoute - Apple’s documentation
- AVAudio
Session ⚠Output Mute State Change Notification AVAudioSessionTypes - Notification sent to registered listeners when session’s output mute state changes.
- AVAudio
Session ⚠Polar Pattern Cardioid AVAudioSessionRoute - Apple’s documentation
- AVAudio
Session ⚠Polar Pattern Omnidirectional AVAudioSessionRoute - Apple’s documentation
- AVAudio
Session ⚠Polar Pattern Stereo AVAudioSessionRoute - If you select a data source with AVAudioSessionPolarPatternStereo, then you must call setPreferredInputOrientation:error: on your Audio Session so that left and right are presented from the correct directions.
- AVAudio
Session ⚠Polar Pattern Subcardioid AVAudioSessionRoute - Apple’s documentation
- AVAudio
Session ⚠PortAVB AVAudioSessionTypes - Input or output connected via AVB (Audio Video Bridging)
- AVAudio
Session ⚠Port AirPlay AVAudioSessionTypes - Output on a remote Air Play device
- AVAudio
Session ⚠Port Bluetooth A2DP AVAudioSessionTypes - Output on a Bluetooth A2DP device
- AVAudio
Session ⚠Port BluetoothHFP AVAudioSessionTypes - Input or output on a Bluetooth Hands-Free Profile device
- AVAudio
Session ⚠Port BluetoothLE AVAudioSessionTypes - Output on a Bluetooth Low Energy device
- AVAudio
Session ⚠Port Built InMic AVAudioSessionTypes - Built-in microphone on an iOS device
- AVAudio
Session ⚠Port Built InReceiver AVAudioSessionTypes - The speaker you hold to your ear when on a phone call
- AVAudio
Session ⚠Port Built InSpeaker AVAudioSessionTypes - Built-in speaker on an iOS device
- AVAudio
Session ⚠Port CarAudio AVAudioSessionTypes - Input or output via Car Audio
- AVAudio
Session ⚠Port Continuity Microphone AVAudioSessionTypes - Continuity microphone for appletv.
- AVAudio
Session ⚠Port Display Port AVAudioSessionTypes - Input or output connected via DisplayPort
- AVAudio
Session ⚠Port Fire Wire AVAudioSessionTypes - Input or output connected via FireWire
- AVAudio
Session ⚠PortHDMI AVAudioSessionTypes - Output via High-Definition Multimedia Interface
- AVAudio
Session ⚠Port Headphones AVAudioSessionTypes - Headphone or headset output
- AVAudio
Session ⚠Port Headset Mic AVAudioSessionTypes - Microphone on a wired headset. Headset refers to an accessory that has headphone outputs paired with a microphone.
- AVAudio
Session ⚠Port Line In AVAudioSessionTypes - Line level input on a dock connector
- AVAudio
Session ⚠Port Line Out AVAudioSessionTypes - Line level output on a dock connector
- AVAudio
Session ⚠PortPCI AVAudioSessionTypes - Input or output connected via the PCI (Peripheral Component Interconnect) bus
- AVAudio
Session ⚠Port Thunderbolt AVAudioSessionTypes - Input or output connected via Thunderbolt
- AVAudio
Session ⚠PortUSB Audio AVAudioSessionTypes - Input or output on a Universal Serial Bus device
- AVAudio
Session ⚠Port Virtual AVAudioSessionTypes - Input or output that does not correspond to real audio hardware
- AVAudio
Session ⚠Rendering Capabilities Change Notification AVAudioSessionTypes - Notification sent to registered listeners when the rendering capabilities change.
- AVAudio
Session ⚠Rendering Mode Change Notification AVAudioSessionTypes - Notification sent to registered listeners when the resolved rendering mode changes.
- AVAudio
Session ⚠Rendering Mode NewRendering Mode Key AVAudioSessionTypes - keys for AVAudioSessionRenderingModeChangeNotification Contains a payload of NSInteger representing the new resolved rendering mode
- AVAudio
Session ⚠Route Change Notification AVAudioSessionTypes - Notification sent to registered listeners when an audio route change has occurred.
- AVAudio
Session ⚠Route Change Previous Route Key AVAudioSessionTypes - value is AVAudioSessionRouteDescription *
- AVAudio
Session ⚠Route Change Reason Key AVAudioSessionTypes - keys for AVAudioSessionRouteChangeNotification value is an NSNumber representing an AVAudioSessionRouteChangeReason
- AVAudio
Session ⚠Silence Secondary Audio Hint Notification AVAudioSessionTypes - Notification sent to registered listeners when they are in the foreground with an active audio session and primary audio from other applications starts and stops.
- AVAudio
Session ⚠Silence Secondary Audio Hint Type Key AVAudioSessionTypes - keys for AVAudioSessionSilenceSecondaryAudioHintNotification value is an NSNumber representing an AVAudioSessionSilenceSecondaryAudioHintType
- AVAudio
Session ⚠Spatial Audio Enabled Key AVAudioSessionTypes - keys for AVAudioSessionSpatialPlaybackCapabilitiesChangedNotification value is an NSNumber whose boolean value indicates if spatial audio enabled.
- AVAudio
Session ⚠Spatial Playback Capabilities Changed Notification AVAudioSessionTypes - Notification sent to registered listeners when spatial playback capabilities are changed due to a change in user preference.
- AVAudio
Session ⚠User Intent ToUnmute Output Notification AVAudioSessionTypes - Notification sent to registered listeners when the application’s output is muted and user hints to unmute.
- AVAudio
Unit ⚠Component Manager Registrations Changed Notification AVAudioUnitComponent - A notification generated when AVAudioUnitComponentManager updates its list of components.
- AVAudio
Unit ⚠Component Tags DidChange Notification AVAudioUnitComponent - Apple’s documentation
- AVAudio
Unit ⚠Manufacturer Name Apple AVAudioUnitComponent - Apple’s documentation
- AVAudio
Unit ⚠Type Effect AVAudioUnitComponent - Apple’s documentation
- AVAudio
Unit ⚠Type Format Converter AVAudioUnitComponent - Apple’s documentation
- AVAudio
Unit ⚠Type Generator AVAudioUnitComponent - Apple’s documentation
- AVAudio
Unit ⚠TypeMIDI Processor AVAudioUnitComponent - Apple’s documentation
- AVAudio
Unit ⚠Type Mixer AVAudioUnitComponent - Apple’s documentation
- AVAudio
Unit ⚠Type Music Device AVAudioUnitComponent - Apple’s documentation
- AVAudio
Unit ⚠Type Music Effect AVAudioUnitComponent - Apple’s documentation
- AVAudio
Unit ⚠Type Offline Effect AVAudioUnitComponent - Apple’s documentation
- AVAudio
Unit ⚠Type Output AVAudioUnitComponent - Apple’s documentation
- AVAudio
Unit ⚠Type Panner AVAudioUnitComponent - Apple’s documentation
- AVChannel
Layout ⚠Key AVAudioSettings - Apple’s documentation
- AVEncoderASP
Frequency ⚠Key AVAudioSettings - Apple’s documentation
- AVEncoder
Audio ⚠Quality ForVBR Key AVAudioSettings - Apple’s documentation
- AVEncoder
Audio ⚠Quality Key AVAudioSettings - Apple’s documentation
- AVEncoder
BitDepth ⚠Hint Key AVAudioSettings - Apple’s documentation
- AVEncoder
BitRate ⚠Key AVAudioSettings - Apple’s documentation
- AVEncoder
BitRate ⚠PerChannel Key AVAudioSettings - Apple’s documentation
- AVEncoder
BitRate ⚠Strategy Key AVAudioSettings - Apple’s documentation
- AVEncoder
Content ⚠Source Key AVAudioSettings - Apple’s documentation
- AVEncoder
Dynamic ⚠Range Control Configuration Key AVAudioSettings - Apple’s documentation
- AVExtended
Note ⚠OnEvent Default Instrument AVMusicEvents - A constant representing the default instrument ID to use for an AVExtendedNoteOnEvent. This indicates to the system to use the instrument currently loaded on the channel referenced by the groupID. This is the only supported value at this time.
- AVFormatID
Key ⚠AVAudioSettings - Apple’s documentation
- AVLinearPCM
BitDepth ⚠Key AVAudioSettings - Apple’s documentation
- AVLinearPCM
IsBig ⚠Endian Key AVAudioSettings - Apple’s documentation
- AVLinearPCM
IsFloat ⚠Key AVAudioSettings - Apple’s documentation
- AVLinearPCM
IsNon ⚠Interleaved AVAudioSettings - Apple’s documentation
- AVNumber
OfChannels ⚠Key AVAudioSettings - Apple’s documentation
- AVSample
Rate ⚠Converter Algorithm Key AVAudioSettings - Apple’s documentation
- AVSample
Rate ⚠Converter Algorithm_ Mastering AVAudioSettings - Apple’s documentation
- AVSample
Rate ⚠Converter Algorithm_ Minimum Phase AVAudioSettings - Apple’s documentation
- AVSample
Rate ⚠Converter Algorithm_ Normal AVAudioSettings - Apple’s documentation
- AVSample
Rate ⚠Converter Audio Quality Key AVAudioSettings - Apple’s documentation
- AVSample
Rate ⚠Key AVAudioSettings - Apple’s documentation
- AVSpeech
Synthesis ⚠Available Voices DidChange Notification AVSpeechSynthesis - Posted when available voices for speech synthesis on the system have changed. For example, if new 3rd party voices are available through a downloaded app, or if a new personal voice is available and the app is authorized to access personal voices.
- AVSpeech
SynthesisIPA ⚠Notation Attribute AVSpeechSynthesis - Apple’s documentation
- AVSpeech
Synthesis ⚠Voice Identifier Alex AVSpeechSynthesis - Apple’s documentation
- AVSpeech
Utterance ⚠Default Speech Rate AVSpeechSynthesis - Apple’s documentation
- AVSpeech
Utterance ⚠Maximum Speech Rate AVSpeechSynthesis - Apple’s documentation
- AVSpeech
Utterance ⚠Minimum Speech Rate AVSpeechSynthesis - Apple’s documentation
Traits§
- AVAudio3D
Mixing AVAudioMixing - Protocol that defines 3D mixing properties
- AVAudio
Mixing AVAudioMixing - Protocol that defines properties applicable to the input bus of a mixer node
- AVAudio
Player Delegate AVAudioPlayer - Apple’s documentation
- AVAudio
Recorder Delegate AVAudioRecorder - A protocol for delegates of AVAudioRecorder.
- AVAudio
Session Delegate Deprecated AVAudioSessionDeprecated - Apple’s documentation
- AVAudio
Stereo Mixing AVAudioMixing - Protocol that defines stereo mixing properties
- AVSpeech
Synthesizer Delegate AVSpeechSynthesis - Defines an interface for delegates of AVSpeechSynthesizer to receive notifications of important speech utterance events.
Type Aliases§
- AVAudio3D
Vector AVAudioTypes - Struct representing a vector in 3D space
- AVAudio
Channel Count AVAudioTypes - A number of audio channels.
- AVAudio
Converter Input Block AVAudioBufferandAVAudioConverterandAVAudioTypesandblock2 - A block which will be called by convertToBuffer:error:withInputFromBlock: to get input data as needed.
- AVAudio
Engine Manual Rendering Block AVAudioEngineandAVAudioTypesandblock2andobjc2-core-audio-types - Block to render the engine when operating in manual rendering mode
- AVAudio
Frame Count AVAudioTypes - A number of audio sample frames.
- AVAudio
Frame Position AVAudioTypes - A position in an audio file or stream.
- AVAudioIO
Node Input Block AVAudioIONodeandAVAudioTypesandblock2andobjc2-core-audio-types - A block which will be called by AVAudioEngine’s render call when operating in the manual rendering mode, to get input data as needed.
- AVAudio
Node Bus AVAudioTypes - The index of a bus on an AVAudioNode.
- AVAudio
Node Completion Handler AVAudioTypesandblock2 - Generic callback handler.
- AVAudio
Node TapBlock AVAudioBufferandAVAudioNodeandAVAudioTimeandblock2 - A block that receives copies of the output of an AVAudioNode.
- AVAudio
Packet Count AVAudioTypes - A number of packets of compressed audio data.
- AVAudio
Player Node Completion Handler AVAudioPlayerNodeandblock2 - Buffer or file completion callback handler.
- AVAudio
Sequencer Info Dictionary Key AVAudioSequencer - Apple’s documentation
- AVAudio
Sequencer User Callback AVAudioSequencerandAVAudioTypesandblock2 - Apple’s documentation
- AVAudio
Session Category AVAudioSessionTypes - A category defines a broad set of behaviors for a session.
- AVAudio
Session Location AVAudioSessionRoute - The location of a data source on an iOS device.
- AVAudio
Session Mode AVAudioSessionTypes - Modes modify the audio category in order to introduce behavior that is tailored to the specific use of audio within an application. Available in iOS 5.0 and greater.
- AVAudio
Session Orientation AVAudioSessionRoute - The orientation or directionality of a data source on an iOS device.
- AVAudio
Session Polar Pattern AVAudioSessionRoute - The possible polar patterns for a data source on an iOS device.
- AVAudio
Session Port AVAudioSessionTypes - A port describes a specific type of audio input or output device or connector.
- AVAudio
Sink Node Receiver Block AVAudioSinkNodeandAVAudioTypesandblock2andobjc2-core-audio-types - Block to receive audio data from AVAudioSinkNode
- AVAudio
Source Node Render Block AVAudioSourceNodeandAVAudioTypesandblock2andobjc2-core-audio-types - Block to supply audio data to AVAudioSourceNode
- AVMIDI
Player Completion Handler AVMIDIPlayerandblock2 - Generic callback block.
- AVMusic
Event Enumeration Block AVAudioSequencerandAVAudioTypesandAVMusicEventsandblock2 - The block type used to enumerate and optionally remove AVMusicEvents when using
AVMusicTrack(enumerateEventsInRange:usingBlock:) - AVMusic
Time Stamp AVAudioTypes - The time position in beats of playback and events in the AVAudioSequencer and its components.
- AVSpeech
Synthesis Provider Output Block AVSpeechSynthesisandAVSpeechSynthesisProviderandblock2 - A block of information that is relevant to the generation of speech synthesis.
- AVSpeech
Synthesizer Buffer Callback AVAudioBufferandAVSpeechSynthesisandblock2 - Apple’s documentation
- AVSpeech
Synthesizer Marker Callback AVSpeechSynthesisandblock2 - Apple’s documentation