音频用例修改!

Signed-off-by: liangxiafei <liangxiafei@h-partners.com>
This commit is contained in:
liangxiafei 2024-01-12 19:06:26 +08:00
parent 1e37d38b60
commit 04b98801b2

View File

@ -52,14 +52,14 @@ constexpr int32_t AUDIO_SAMPLE_RATE = 48000;
constexpr int32_t VOLUME_MIN = 0;
constexpr int32_t VOLUME_MAX = 15;
constexpr int32_t VOLUME_BIT = 3;
constexpr int32_t RENDER_FRAME_SIZE = 4096;
constexpr int32_t RENDER_FRAME_SIZE = 3840;
constexpr int32_t RENDER_INTER_LEAVED = 1;
constexpr int32_t RENDER_STREAM_ID = 0;
constexpr int32_t RENDER_CHANNEL_MASK = 2;
constexpr int32_t CAPTURE_INTER_LEAVED = 1;
constexpr int32_t CAPTURE_STREAM_ID = 2;
constexpr int32_t CAPTURE_CHANNEL_MASK = 2;
constexpr int64_t AUDIO_FRAME_TIME_INTERFAL_DEFAULT = 21333;
constexpr int64_t AUDIO_FRAME_TIME_INTERFAL_DEFAULT = 20000;
static AudioManager *g_manager = nullptr;
static AudioAdapter *g_adapter = nullptr;