AudioToolbox Namespace

Low-level audio toolkit stack, used to create custom audio playback and recording applications.

Remarks

Use AudioToolbox to create your own audio processing applications from the basic building blocks: AudioToolbox.AudioFile to read and write audio files, AudioToolbox.AudioFileStream to parse audio files progressively; And use the AudioToolbox.InputAudioQueue to record as well as AudioToolbox.OutputAudioQueue to play audio.

In addition to the low-level toolkit to create your own audio processing, the AudioToolbox.SystemSound can be used to play short audio clips.

Classes

TypeReason
_MidiDataAn abstract base class for AudioToolbox.MidiMetaEvent and AudioToolbox.MidiRawData.
AccessoryInfoUSB Accessory Information
AudioBalanceFadeHolds left/right balance and front/back fade values.
AudioBalanceFadeTypeAn enumeration whose values specify whether balance/fade manipulation should always have a gain of less than 1.0.
AudioBufferRepresents a collection of audio samples.
AudioBuffersEncapsulated a series of AudioBuffers.
AudioChannelBitAn enumeration whose values specify constants in the AudioToolbox.AudioChannelLayout.Bitmap property.
AudioChannelDescriptionDescribes an Audio Channel.
AudioChannelFlagsFlags for the AudioToolbox.AudioChannelDescription.Flags property.
AudioChannelLabelAn enumeration whose values specify the AudioToolbox.AudioChannelDescription.Label property.
AudioChannelLayoutSpecifies the file or hardware audio channel layout.
AudioChannelLayoutTagAn enumeration whose values are valid for channel layout tags.
AudioChannelLayoutTagExtensionsAn extension class that provides a AudioToolbox.AudioChannelLayoutTagExtensions.ToAudioChannel extension method to the AudioToolbox.AudioChannelLayoutTag class.
AudioClassDescriptionA class that describes an installed codec.
AudioCodecComponentTypeEnumeration of values used to specify linear PCM conversions.
AudioConverterThe linear PCM audio formats converter.
AudioConverterComplexInputDataDelegate associated with the AudioToolbox.AudioConverter.AudioConverterComplexInputData event.
AudioConverterErrorAn enumeration whose values specify various types of errors relating to the AudioToolbox.AudioConverter.
AudioConverterPrimeInfoThe priming information for an audio converter.
AudioConverterPrimeMethodThe prime method constants.
AudioConverterQualityConstants for the rendering quality of the sample rate converter.
AudioConverterSampleRateConverterComplexityConstants for the sample rate conversion algorithm.
AudioFileClass used to create audio files or read audio files.
AudioFileChunkTypeAn enumeration whose values specify different types of chunks appropriate to audio files.
AudioFileErrorThe error codes returned by AudioToolbox.AudioFile.
AudioFileFlagsAn enumeration whose values are valid flags for the AudioToolbox.AudioFile.Create method.
AudioFileGlobalInfoEncapsulates global audio-file information.
AudioFileInfoDictionaryMetadata-like information relating to a particular audio file.
AudioFileLoopDirectionAn enumeration whose values specify an audio-loop's direction.
AudioFileMarkerA class that represents a specific named position within an audio file.
AudioFileMarkerListA collection of AudioToolbox.AudioFileMarkers.
AudioFileMarkerTypeAn enumeration whose values specify the AudioFileMark.Type property.
AudioFilePacketTableInfoRepresents the number of valid frames in a file and where they begin or end.
AudioFilePermissionAn enumeration whose values specify the permissions argument in the Monotouch.AudioToolbox.AudioFile.Open method.
AudioFilePropertyAn enumeration whose values represent information about a AudioToolbox.AudioFile. See the AudioToolbox.AudioFile.GetProperty and AudioToolbox.AudioFile.SetProperty methods.
AudioFileRegionRepresents a named region within an audio file.
AudioFileRegionFlagsAn enumeration whose values are used in the AudioFileRegion.Flags property.
AudioFileRegionListA list of AudioToolbox.AudioFileRegions.
AudioFileSmpteTimeA struct that encapsulates a Society of Motion Picture and Television Engineers time.
AudioFileStreamProcess partial audio files.
AudioFileStreamPropertyAn enumeration whose values represent properties of AudioToolbox.AudioFileStream.
AudioFileStreamPropertyFlagAn enumeration whose values flag whether a AudioToolbox.AudioFileStreamProperty is cached.
AudioFileStreamStatusAn enumeration whose values indicate the status following calls to the AudioToolbox.AudioFileStream.Seek or AudioToolbox.AudioFileStream.ParseBytes methods.
AudioFileTypeKnown audio file types. Used to specify the kind of audio file to create, or as a hint to the audio parser about the contents of the file.
AudioFormatTuple structure that encapsulates both an AudioChannelLayoutTag and an AudioStreamBasicDescription.
AudioFormatAvailabilityThe application developer can use this class to retrieve the properties of available encoders and decoders.
AudioFormatErrorAn enumeration whose values specify various errors relating to audio formats.
AudioFormatFlagsFlags describing the stream in the AudioToolbox.AudioStreamBasicDescription.
AudioFormatTypeAudio format identifiers used by AudioToolbox.AudioStreamBasicDescription.
AudioPanningInfoInformation on audio panning.
AudioQueueBase class for Input and Output audio queues.
AudioQueue+AudioQueuePropertyChangedThe delegate to be used with the AudioToolbox.AudioQueue.AddListener and AudioToolbox.AudioQueue.RemoveListener methods.
AudioQueueBufferRepresents an audio queue buffer.
AudioQueueChannelAssignmentChannel assignments used as a parameter to the AudioToolbox.AudioQueue.SetChannelAssignments method.
AudioQueueDevicePropertyAn enumeration whose values specify properties of an audio queue device (number of channels and sample rate).
AudioQueueExceptionAn exception thrown by the AudioQueue class if there is a problem with the configuration parameters.
AudioQueueHardwareCodecPolicyAn enumeration whose values are used for the AudioToolbox.AudioQueue.HardwareCodecPolicy property.
AudioQueueLevelMeterStateRepresents the level meter information on an audio channel.
AudioQueueParameterAn enumeration whose values specify various parameters of an audio queue.
AudioQueueParameterEventA class that encapsulates values used as parameterEvents in calls to the AudioToolbox.AudioQueue.EnqueueBuffer method.
AudioQueueProcessingTapHolds the state for an AudioQueue processing tap.
AudioQueueProcessingTapDelegateSignature for AudioQueue's Tap callback handlers.
AudioQueueProcessingTapFlagsFlags used when an AudioQueue tap is created, and used by the tap processor callback.
AudioQueuePropertyAn enumeration whose values specify properties of audio queues.
AudioQueueStatusAn enumeration whose values specify the status of an audio queue.
AudioQueueTimelineObjects used to track audio queue timelines
AudioQueueTimePitchAlgorithmAn enumeration whose values specify the Time Pitch algorithm. Used with AudioToolbox.AudioQueueProperty.TimePitchAlgorithm.
AudioServicesErrorAn enumeration of values that can be returned by the AudioToolbox.SystemSound.AddSystemSoundCompletion method.
AudioSessionInterface to to control the audio context of your application
AudioSession+PropertyListenerThe delegate used with the AudioToolbox.AudioSession.AddListener and AudioToolbox.AudioSession.RemoveListener properties.
AudioSessionActiveFlagsFlags passed to AudioSession's SetActive method.
AudioSessionCategoryCategories for your audio session.
AudioSessionErrorsAn enumeration whose values can be returned by the AudioToolbox.AudioSession.SetActive method or the AudioToolbox.AudioSession.ErrorCode property.
AudioSessionExceptionException thrown by AudioSession's methods if invalid data is passed to AudioSession, or if the session is not properly configured.
AudioSessionInputRouteKindThe available audio input sources on the device.
AudioSessionInterruptionStateAn enumeration whose values represent the beginning and end of an audio session interruption.
AudioSessionInterruptionTypeAn enumeration whose values indicate whether the application should resume after an interruption. Returned by the AudioToolbox.AudioSession.InterruptionType property.
AudioSessionModeThe fine detail over the audio mode, an extension to the AudioSession Category
AudioSessionOutputRouteKindAn enumeration whose values specify different kinds of output routes.
AudioSessionPropertyAn enumeration whose values specify properties for audio sessions.
AudioSessionPropertyEventArgsProvides data for the event.
AudioSessionRouteChangeEventArgsProvides data for the AudioToolbox.AudioSessionRouteChangeEventArgs.AudioRouteChanged event.
AudioSessionRouteChangeReasonThe reason for AudioSession route change event to be raised.
AudioSessionRoutingOverridePossible values to override the audio route
AudioSourceA derived class from AudioFile that exposes virtual methods that can be hooked into (for reading and writing)
AudioStreamBasicDescriptionAudio packet stream description.
AudioStreamPacketDescriptionAn AudioPacket description.
AudioTimeStampRepresents an audio time stamp in various formats.
AudioTimeStamp+AtsFlagsRepresents the valid elements in an AudioTimeStamp structure.
AudioValueRangeA struct that holds minimum and maximum float values, indicating a range.
CABarBeatTimeStruct defining bar beat time, for use with AudioToolbox.MusicSequence methods such as AudioToolbox.MusicSequence.BarBeatToTimeBeats.
ExtendedNoteOnEventA struct that describes a note-on event with extended parameters.
InputAudioQueueAn Input Audio Queue, used for audio capturing and recording.
InputCompletedEventArgsProvides data for the AudioToolbox.InputCompletedEventArgs.InputCompleted event.
InputSourceInfoInput accessory information.
InstrumentInfoInformation on an instrument. Returned by AudioToolbox.SoundBank.GetInstrumentInfo.
MidiChannelMessageA struct describing a MIDI channel message. Used by the AudioToolbox.MusicTrack.AddMidiChannelEvent method.
MidiMetaEventEncapsulates a MIDI meta-event such as a time signature, lyrics, etc.
MidiNoteMessageEncapsulates a MIDI musical note.
MidiRawDataEncapsulates a MIDI System-Exclusive (SysEx) message.
MusicEventTypeAn enumeration whose values describe various music event types.
MusicEventUserDataA subclass of AudioToolbox.MidiRawData that describes a user-defined event.
MusicPlayerAn object that plays a AudioToolbox.MusicSequence.
MusicPlayerStatusAn enumeration whose values describe the status of a AudioToolbox.MusicPlayer.
MusicSequenceA music sequence.
MusicSequenceFileFlagsCan be used to specify that an existing file should be erased when creating a new file. Used with the AudioToolbox.MusicSequence.CreateFile method.
MusicSequenceFileTypeIDAn enumeration that specifies the type of a music sequence file.
MusicSequenceLoadFlagsAn enumeration that specifies the loadFlags values in the AudioToolbox.MusicSequence.LoadData and AudioToolbox.MusicSequence.LoadFile methods.
MusicSequenceTypeAn enumeration whose values specify the AudioToolbox.MusicSequence.SequenceType property of a AudioToolbox.MusicSequence.
MusicTrackA music track is a series of time-stamped music events and is a component of a AudioToolbox.MusicSequence.
OutputAudioQueueThe output AudioQueue.
PacketReceivedEventArgsProvides data for the AudioToolbox.PacketReceivedEventArgs.PacketDecoded event.
PanningModeAn enumeration whose values specify the panning mode (sound-field vs. vector-based).
PropertyFoundEventArgsProvides data for the AudioToolbox.PropertyFoundEventArgs.PropertyFound event.
SmpteTimeSMPTE-based time representation. SMPTE times are used to synchronize an point in the audio stream with some external event.
SmpteTimeTypeAn enumeration whose values specify the version of SMPTE time used by a AudioToolbox.SmpteTime.
SoundBankA MIDI sound bank.
SystemSoundProvides methods for producing simple sounds.