diff --git a/hdf_service/distributed_audio/mfc_test/distributedaudiotest.cpp b/hdf_service/distributed_audio/mfc_test/distributedaudiotest.cpp index de2c73065f999024665ba945a8310ecc0a7b93d0..e0b756aee6b43011fd7c578d95762fc54f20d292 100644 --- a/hdf_service/distributed_audio/mfc_test/distributedaudiotest.cpp +++ b/hdf_service/distributed_audio/mfc_test/distributedaudiotest.cpp @@ -65,8 +65,8 @@ std::vector renderData; static DeviceStatus g_spkStatus = DEVICE_IDLE; static DeviceStatus g_micStatus = DEVICE_IDLE; -std::thread g_palyingThread; -std::thread g_capingThread; +static std::thread g_palyingThread; +static std::thread g_capingThread; FILE *g_micFile = nullptr; static std::string CloseSpk();