AudioToolbox Functions

No overview available.

Topics

Functions

AudioCodecAppendInputData

Appends audio data to the codec’s input buffer.

AudioCodecGetProperty

Retrieves the value of a codec property.

AudioCodecGetPropertyInfo

Retrieves information about a codec property.

AudioCodecInitialize

Sets up the specified codec to perform a data format translation.

AudioCodecProduceOutputPackets

Retrieves output data from a codec.

AudioCodecReset

Flushes all the audio data in the codec and clears the input buffer.

AudioCodecSetProperty

Sets the value of a codec property.

AudioCodecUninitialize

Moves the codec from the initialized state back to the uninitialized state.

AudioComponentCopyName

Returns the generic name of an audio component.

AudioComponentCount

Returns the number of audio components that match a specified AudioComponentDescription structure.

AudioComponentFindNext

Finds the next component that matches a specified AudioComponentDescription structure after a specified audio component.

AudioComponentGetDescription

Gets the class description, as an AudioComponentDescription structure, of an audio component.

AudioComponentGetIcon

The UIImage of the audio component’s icon.

AudioComponentGetLastActiveTime

The time at which the application publishing the component was last active.

Deprecated
AudioComponentGetVersion

Gets the version of an audio component in hexadecimal form as 0xMMMMmmDD (major, minor, dot).

AudioComponentInstanceCanDo

Determines if an audio component instance implements a particular function.

AudioComponentInstanceDispose

Disposes of an audio component instance.

AudioComponentInstanceGetComponent

Retrieves a reference to an audio component from an instance of that audio component.

AudioComponentInstanceNew

Creates a new instance of an audio component.

AudioHardwareServiceAddPropertyListener

Registers a HAL audio object property listener callback function to be invoked when a specified property changes.

Deprecated
AudioHardwareServiceGetPropertyData

Gets the value for a specified property.

Deprecated
AudioHardwareServiceGetPropertyDataSize

Gets the payload size for a given property.

Deprecated
AudioHardwareServiceHasProperty

Queries a HAL audio object about whether or not it has a specified property.

Deprecated
AudioHardwareServiceIsPropertySettable

Queries a HAL audio object about whether a specified property is settable.

Deprecated
AudioHardwareServiceRemovePropertyListener

Unregisters a HAL audio object property listener callback function.

Deprecated
AudioHardwareServiceSetPropertyData

Asks a HAL audio object to change the value of a specified property.

Deprecated
AudioOutputUnitGetHostIcon

The UIImage of the host app’s icon.

Deprecated
AudioOutputUnitPublish

Registers an audio output unit for use by other applications.

Deprecated
AudioOutputUnitStart

Starts an I/O audio unit, which in turn starts the audio unit processing graph that it is connected to.

AudioOutputUnitStop

Stops an I/O audio unit, which in turn stops the audio unit processing graph that it is connected to.

AudioUnitAddPropertyListener

Registers a callback to receive audio unit property change notifications.

AudioUnitAddRenderNotify

Registers a callback to receive audio unit render notifications.

AudioUnitGetParameter

Gets the value of an audio unit parameter.

AudioUnitGetProperty

Gets the value of an audio unit property.

AudioUnitGetPropertyInfo

Gets information about an audio unit property.

AudioUnitInitialize

Initializes an audio unit

AudioUnitRemovePropertyListenerWithUserData

Unregisters a previously-registered property listener callback function.

AudioUnitRemoveRenderNotify

Unregisters a previously-registered render listener callback function.

AudioUnitRender

Initiates a rendering cycle for an audio unit.

AudioUnitReset

Resets an audio unit’s render state.

AudioUnitScheduleParameters

Schedules changes to the value of an audio unit parameter.

AudioUnitSetParameter

Sets the value of an audio unit parameter.

AudioUnitSetProperty

Sets the value of an audio unit property.

AudioUnitUninitialize

Uninitializes an audio unit.

DisposeMusicEventIterator

Disposes of a music event iterator.

DisposeMusicPlayer

Disposes of a music player.

DisposeMusicSequence

Disposes of a music sequence.

MusicEventIteratorDeleteEvent

Deletes the event at a music event iterator’s current position.

MusicEventIteratorGetEventInfo

Gets information about the event at a music event iterator’s current position.

MusicEventIteratorHasCurrentEvent

Indicates whether or not a music track contains an event at the music event iterator’s current position.

MusicEventIteratorHasNextEvent

Indicates whether or not a music track contains an event beyond the music event iterator’s current position.

MusicEventIteratorHasPreviousEvent

Indicates whether or not a music track contains an event before the music event iterator’s current position.

MusicEventIteratorNextEvent

Positions a music event iterator at the next event on a music track.

MusicEventIteratorPreviousEvent

Positions a music event iterator at the previous event on a music track.

MusicEventIteratorSeek

Positions a music event iterator at a specified timestamp, in beats.

MusicEventIteratorSetEventInfo

Sets information for the event at a music event iterator’s current position.

MusicEventIteratorSetEventTime

Sets the timestamp for the event at a music event iterator’s current position.

MusicPlayerGetBeatsForHostTime

Gets the beat number associated a specified host time.

MusicPlayerGetHostTimeForBeats

Gets the host time associated with a specified beat.

MusicPlayerGetPlayRateScalar

Gets the playback rate multiplier for a music player.

MusicPlayerGetSequence

Gets the music sequence associated with a music player.

MusicPlayerGetTime

Gets the playback point for a music player, in beats.

MusicPlayerIsPlaying

Indicates whether or not a music player is playing.

MusicPlayerPreroll

Prepares a music player to play.

MusicPlayerSetPlayRateScalar

Sets a playback rate multiplier for a music player.

MusicPlayerSetSequence

Sets the music sequence for the music player to play.

MusicPlayerSetTime

Sets the playback point for a music player, in beats.

MusicPlayerStart

Starts playback of a music player.

MusicPlayerStop

Stops playback of a music player.

MusicSequenceBarBeatTimeToBeats

Formats a music sequence’s bar-beat time to its beat time.

MusicSequenceBeatsToBarBeatTime

Formats a music sequence’s beat time to its bar-beat time.

MusicSequenceDisposeTrack

Removes a music track from a music sequence, and disposes of the track.

MusicSequenceFileCreate

Creates a MIDI file from the events in a music sequence.

MusicSequenceFileCreateData

Creates a data object containing the events from a music sequence.

MusicSequenceFileLoad

Loads data into a music sequence from a URL reference.

MusicSequenceFileLoadData

Load data into a music sequence from a data reference.

MusicSequenceGetAUGraph

Gets the audio processing graph associated with a music sequence.

MusicSequenceGetBeatsForSeconds

Calculates the number of beats that correspond to a number of seconds.

MusicSequenceGetIndTrack

Gets the music track at the specified track index.

MusicSequenceGetInfoDictionary

Returns a dictionary containing music sequence information.

MusicSequenceGetSecondsForBeats

Calculates the number of seconds that correspond to a number of beats.

MusicSequenceGetSequenceType

Gets the sequence type for a music sequence.

MusicSequenceGetTempoTrack

Gets the tempo track for a music sequence.

MusicSequenceGetTrackCount

Gets the number of music tracks owned by a music sequence.

MusicSequenceGetTrackIndex

Gets the index number for a specified music track.

MusicSequenceNewTrack

Add a new, empty music track to a music sequence.

MusicSequenceReverse

Reverses the MIDI and tempo events in a music sequence, so the start becomes the end.

MusicSequenceSetAUGraph

Associates an audio processing graph with a music sequence.

MusicSequenceSetMIDIEndpoint

Associates a specified MIDI endpoint with all music tracks in a music sequence.

MusicSequenceSetSequenceType

Sets the sequence type for a music sequence.

MusicSequenceSetUserCallback

Registers a user callback function with a music sequence.

MusicTrackClear

Removes a specified range of music track events.

MusicTrackCopyInsert

Copies a range of events from one music track and inserts them into another music track.

MusicTrackCut

Removes a specified range of music track events, and shifts later events toward the start of the track to fill in the gap.

MusicTrackGetDestMIDIEndpoint

Gets the MIDI endpoint that is the event target for a music track.

MusicTrackGetDestNode

Gets the audio unit node that is the event target for a music track.

MusicTrackGetProperty

Gets a music track property value.

MusicTrackGetSequence

Gets the music sequence that the music track is a member of.

MusicTrackMerge

Copies a range of events from one music track and merges them into another music track.

MusicTrackMoveEvents

Shifts music track events forward or backward in time, in terms of beats.

MusicTrackNewAUPresetEvent

Adds an event of type AUPresetEvent to a music track.

MusicTrackNewExtendedNoteEvent

Adds an event of type ExtendedNoteOnEvent to a music track.

MusicTrackNewExtendedTempoEvent

Adds a tempo to a music track.

MusicTrackNewMIDIChannelEvent

Adds an event of type MIDIChannelMessage to a music track.

MusicTrackNewMIDINoteEvent

Adds an event of type MIDINoteMessage to a music track.

MusicTrackNewMIDIRawDataEvent

Adds an event of type MIDIRawData to a music track.

MusicTrackNewMetaEvent

Adds an event of type MIDIMetaEvent to a music track.

MusicTrackNewParameterEvent

Adds an event of type ParameterEvent to a music track.

MusicTrackNewUserEvent

Adds an event of type MusicEventUserData to a music track.

MusicTrackSetDestMIDIEndpoint

Sets the music track’s event target to a MIDI endpoint.

MusicTrackSetDestNode

Sets the music track’s event target to an audio unit node.

MusicTrackSetProperty

Sets a music track property value.

NewMusicEventIterator

Creates a new music event iterator.

NewMusicPlayer

Creates a new music player.

NewMusicSequence

Creates a new empty music sequence.