AudioQueueStart(_:_:)
Begins playing or recording audio.
Declaration
func AudioQueueStart(_ inAQ: AudioQueueRef, _ inStartTime: UnsafePointer<AudioTimeStamp>?) -> OSStatusParameters
- inAQ:
The audio queue to start.
- inStartTime:
The time at which the audio queue should start.
To specify a start time relative to the timeline of the associated audio device, use the
mSampleTimefield of theAudioTimeStampstructure. UseNULLto indicate that the audio queue should start as soon as possible.
Return Value
A result code. See Result Codes.
Discussion
If the associated audio device is not already running, this function starts it.