From aa8fef3a644088dc48c6d41db9de68fea23fa536 Mon Sep 17 00:00:00 2001 From: niuhui Date: Sun, 23 Apr 2023 18:27:16 +0800 Subject: [PATCH] fix code check Signed-off-by: niuhui --- .../mfc_test/distributedaudiotest.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hdf_service/distributed_audio/mfc_test/distributedaudiotest.cpp b/hdf_service/distributed_audio/mfc_test/distributedaudiotest.cpp index de2c7306..51cfa1fe 100644 --- a/hdf_service/distributed_audio/mfc_test/distributedaudiotest.cpp +++ b/hdf_service/distributed_audio/mfc_test/distributedaudiotest.cpp @@ -46,11 +46,11 @@ struct Response { }; using namespace OHOS::DistributedHardware; -AudioManager *g_manager = nullptr; -AudioAdapter *g_adapter = nullptr; -AudioRender *g_render = nullptr; -AudioCapture *g_capture = nullptr; -AudioAdapterDescriptor *g_devices = nullptr; +static AudioManager *g_manager = nullptr; +static AudioAdapter *g_adapter = nullptr; +static AudioRender *g_render = nullptr; +static AudioCapture *g_capture = nullptr; +static AudioAdapterDescriptor *g_devices = nullptr; static constexpr const char* PLAY_THREAD = "playThread"; static constexpr const char* CAPTURE_THREAD = "captureThread"; -- Gitee