From 9488e27d9b3a30805451ccfda997fb869c1fbf92 Mon Sep 17 00:00:00 2001 From: niuhui Date: Sun, 23 Apr 2023 18:39:40 +0800 Subject: [PATCH] fix code check Signed-off-by: niuhui --- .../distributed_audio/mfc_test/distributedaudiotest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hdf_service/distributed_audio/mfc_test/distributedaudiotest.cpp b/hdf_service/distributed_audio/mfc_test/distributedaudiotest.cpp index de2c7306..365a5557 100644 --- a/hdf_service/distributed_audio/mfc_test/distributedaudiotest.cpp +++ b/hdf_service/distributed_audio/mfc_test/distributedaudiotest.cpp @@ -569,7 +569,7 @@ static std::string GetVolume() return "true;"+volStr; } -std::string SpkMicPlayEvent(const std::string &cmd) +static std::string SpkMicPlayEvent(const std::string &cmd) { if (cmd == CMD_START_SPK || cmd == CMD_START_SPK_EXT) { return StartRender(); @@ -593,7 +593,7 @@ std::string SpkMicPlayEvent(const std::string &cmd) return ""; } -void HandleAudioEvent(const std::string& cmd, std::string& cmdResString, struct Request& req) +static void HandleAudioEvent(const std::string& cmd, std::string& cmdResString, struct Request& req) { // find audio device if (cmd == CMD_FIND || cmd == CMD_FIND_EXT) { -- Gitee