scheduleBuffer(buffer:time:options:)
Schedules audio data playback at a specific time.
Declaration
func scheduleBuffer(buffer: AVAudioPCMBuffer, time when: AVAudioTime?, options: PHASEPushStreamBufferOptions = [])Parameters
- buffer:
Data that represents one portion of a contiguous audio stream.
- when:
The time to play the buffer.
- options:
The options for looping and buffer interruption.