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

This commit is contained in:
xiongguangjie 2022-10-11 16:53:27 +08:00
parent 2b64245c14
commit bbdcc44eb0
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -61,7 +61,7 @@ public:
bool inputFrame(const Frame::Ptr &frame) override;
private:
uint32_t _audio_idx = 0;
uint64_t _audio_idx = 0;
};
/**