Kiwano Engine v1.3.x
|
音频元数据 更多...
#include <AudioData.h>
Public 成员函数 | |
uint32_t | avg_bytes_per_sec () const noexcept |
Public 属性 | |
AudioFormat | format = AudioFormat::PCM |
音频格式 | |
uint16_t | channels = 2 |
声道,单声道为1,立体声为2 | |
uint32_t | samples_per_sec = 44100 |
采样率,11025 表示 11.025kHz。PCM格式的采样率通常为44.1kHz | |
uint16_t | bits_per_sample = 16 |
位深,PCM格式为 8 或 16 | |
uint16_t | block_align = 4 |
块对齐,PCM格式通常是 (channels * bits_per_sample) / 8 | |
音频元数据