mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-05 10:58:11 +08:00
支持自动生成adts头
This commit is contained in:
@@ -31,9 +31,6 @@
|
||||
|
||||
using namespace ZL::Util;
|
||||
|
||||
static unsigned const samplingFrequencyTable[16] = { 96000, 88200,
|
||||
64000, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025,
|
||||
8000, 7350, 0, 0, 0 };
|
||||
|
||||
void writeAdtsHeader(const AdtsFrame &hed, uint8_t *pcAdts) {
|
||||
pcAdts[0] = (hed.syncword >> 4 & 0xFF); //8bit
|
||||
|
||||
Reference in New Issue
Block a user