Commit bbdcc44e by xiongguangjie

mute audio maker avoid uint32_t cycle and 8k aac a frame is 128ms

parent 2b64245c
......@@ -223,7 +223,7 @@ static uint8_t s_mute_adts[] = {0xff, 0xf1, 0x6c, 0x40, 0x2d, 0x3f, 0xfc, 0x00,
#define MUTE_ADTS_DATA s_mute_adts
#define MUTE_ADTS_DATA_LEN sizeof(s_mute_adts)
#define MUTE_ADTS_DATA_MS 130
#define MUTE_ADTS_DATA_MS 128
bool MuteAudioMaker::inputFrame(const Frame::Ptr &frame) {
if (frame->getTrackType() == TrackVideo) {
......
......@@ -61,7 +61,7 @@ public:
bool inputFrame(const Frame::Ptr &frame) override;
private:
uint32_t _audio_idx = 0;
uint64_t _audio_idx = 0;
};
/**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论