摘要: 音频输出的每个采样(Sample)数据类型和布局 libav音频输出格式为原始波形数据,即PCM(模拟脉冲信号)或者Wave数据。每一个Sample的数据类型可能为uint8, int16, int32, float, double, 见枚举类型AVSampleFormat:enum AVSampleFormat{ AV_SAMPLE_FMT_NONE = -1, AV_SAMPLE_FMT_U8, ///< unsigned 8 bits AV_SAMPLE_FMT_S16, ///< signed 16 bits AV_SAMPL... 阅读全文
posted @ 2013-12-17 10:24 剑起飞虹 阅读(1482) 评论(2) 推荐(1)