增加流式ogg解封装支持 (#1705)
* 增加流式ogg解封装支持 * 增加TF卡引脚连接说明 * 修复圆角图标屏幕导致的显示问题 * 优化聊天消息显示 * 修改解封装实现 --------- Co-authored-by: smalllin0 <aslinqf@163.com>
This commit is contained in:
@ -23,7 +23,7 @@
|
||||
#include "processors/audio_debugger.h"
|
||||
#include "wake_word.h"
|
||||
#include "protocol.h"
|
||||
|
||||
#include "ogg_demuxer.h"
|
||||
|
||||
/*
|
||||
* There are two types of audio data flow:
|
||||
@ -146,6 +146,8 @@ private:
|
||||
std::mutex input_resampler_mutex_;
|
||||
esp_ae_rate_cvt_handle_t input_resampler_ = nullptr;
|
||||
esp_ae_rate_cvt_handle_t output_resampler_ = nullptr;
|
||||
|
||||
OggDemuxer demuxer_;
|
||||
|
||||
// Encoder/Decoder state
|
||||
int encoder_sample_rate_ = 16000;
|
||||
|
||||
Reference in New Issue
Block a user