diff --git a/audiohandler/src/daudio_handler.cpp b/audiohandler/src/daudio_handler.cpp index b12f08c71d46cda55acb885322736d9800266fc5..36275a2e71c899a15091291d5a601a33138613d8 100644 --- a/audiohandler/src/daudio_handler.cpp +++ b/audiohandler/src/daudio_handler.cpp @@ -99,16 +99,6 @@ std::vector DAudioHandler::Query() infoJson["INTERRUPT_GROUP_ID"] = dev->interruptGroupId_; infoJson["VOLUME_GROUP_ID"] = dev->volumeGroupId_; - std::string audioEncoders = - HiStreamerQueryTool::GetInstance().QueryHiStreamerPluginInfo(HISTREAM_PLUGIN_TYPE::AUDIO_ENCODER); - DHLOGI("DAudio QueryAudioEncoderAbility info: %s", audioEncoders.c_str()); - infoJson[KEY_HISTREAMER_AUDIO_ENCODER] = audioEncoders; - - std::string audioDecoders = - HiStreamerQueryTool::GetInstance().QueryHiStreamerPluginInfo(HISTREAM_PLUGIN_TYPE::AUDIO_DECODER); - DHLOGI("DAudio QueryAudioDecoderAbility info: %s", audioDecoders.c_str()); - infoJson[KEY_HISTREAMER_AUDIO_DECODER] = audioDecoders; - dhItem.dhId = std::to_string(dhId); dhItem.attrs = infoJson.dump(); dhItemVec.push_back(dhItem); diff --git a/audiohandler/test/unittest/include/daudio_handler_test.h b/audiohandler/test/unittest/include/daudio_handler_test.h index fb2e016988e6c2a9305d09696f36330441bd217d..db960170262f96ea7148a651c8a9b98730317914 100644 --- a/audiohandler/test/unittest/include/daudio_handler_test.h +++ b/audiohandler/test/unittest/include/daudio_handler_test.h @@ -30,7 +30,7 @@ class DAudioHandlerTest : public testing::Test { public: static void SetUpTestCase(void); static void TearDownTestCase(void); - void SetUp(); + void SetUp(void); void TearDown(void); }; } // namespace DistributedHardware diff --git a/audiohandler/test/unittest/src/daudio_handler_test.cpp b/audiohandler/test/unittest/src/daudio_handler_test.cpp index f9a7162f81857e70d66aaa9cb85d0a0f41c5894b..04c547b3fa281341f13a3ba6a02ab7b6761f8717 100644 --- a/audiohandler/test/unittest/src/daudio_handler_test.cpp +++ b/audiohandler/test/unittest/src/daudio_handler_test.cpp @@ -26,7 +26,7 @@ void DAudioHandlerTest::SetUpTestCase(void) {} void DAudioHandlerTest::TearDownTestCase(void) {} -void DAudioHandlerTest::SetUp() {} +void DAudioHandlerTest::SetUp(void) {} void DAudioHandlerTest::TearDown(void) {}