雙聲道一次采樣
雙聲道一次采樣的結(jié)果叫一個(gè)audio frame。
The size of a packet is expressed in audio frames.
An audio frame in a PCM stream is a set of samples (the set contains one sample for each channel in the stream) that play or are recorded at the same time (clock tick).
Thus, the size of an audio frame is the sample size multiplied by the number of channels in the stream.
For example, the frame size for a stereo (2-channel) stream with 16-bit samples is four bytes.
對(duì)于16bit位深的雙聲道洋幻,一個(gè)audio frame為4Bytes碳却。
References:
大學(xué)計(jì)算機(jī)基礎(chǔ) 著者: 高敬陽(yáng)主編. 高敬陽(yáng). 出版商:清華大學(xué)出版社, Bei jing : Qing hua ta xue chu ban she, 2005. Page 205
https://msdn.microsoft.com/zh-cn/library/windows/hardware/dd316756