writePCM(pcm:clockRate:channels:)

Send new audio to this track

func writePCM(pcm: Array<Int16>, clockRate: Int32, channels: Int32)

Parameters

pcm

16-bit signed linear PCM data (interleaved)

clockRate

the sampling rate of the data

channels

the number of audio channels