diff --git a/hdf_service/distributed_audio/mfc_test/distributedaudiotest.cpp b/hdf_service/distributed_audio/mfc_test/distributedaudiotest.cpp index de2c73065f999024665ba945a8310ecc0a7b93d0..365a555736170eaf35f02db5046b0c8ed6059603 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) {