From b871e13c90e7907db83aa5d1af69cc7b77e0c613 Mon Sep 17 00:00:00 2001 From: NiceyRain Date: Tue, 9 Sep 2025 15:32:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=84=A6=E7=82=B9=E6=89=93?= =?UTF-8?q?=E6=96=AD=E6=97=B6=E9=97=B4=E4=B8=BA1000ms?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: NiceyRain --- frameworks/native/audiocapturer/src/audio_capturer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/native/audiocapturer/src/audio_capturer.cpp b/frameworks/native/audiocapturer/src/audio_capturer.cpp index f8f0da96ef..e5bdc280cd 100644 --- a/frameworks/native/audiocapturer/src/audio_capturer.cpp +++ b/frameworks/native/audiocapturer/src/audio_capturer.cpp @@ -35,7 +35,7 @@ namespace AudioStandard { static constexpr uid_t UID_MSDP_SA = 6699; static constexpr int32_t WRITE_OVERFLOW_NUM = 100; static constexpr int32_t AUDIO_SOURCE_TYPE_INVALID_5 = 5; -static constexpr uint32_t BLOCK_INTERRUPT_CALLBACK_IN_MS = 300; // 300ms +static constexpr uint32_t BLOCK_INTERRUPT_CALLBACK_IN_MS = 1000; // 1000ms static constexpr int32_t MINIMUM_BUFFER_SIZE_MSEC = 5; static constexpr int32_t MAXIMUM_BUFFER_SIZE_MSEC = 20; static constexpr uint32_t DECIMAL_BASE = 10; -- Gitee