Searched refs:callbackLoop_ (Results 1 – 4 of 4) sorted by relevance
215 std::thread callbackLoop_; // thread for callback to client and write. member in OHOS::AudioStandard::AudioProcessInClientInner344 if (callbackLoop_.joinable()) { in ~AudioProcessInClientInner()349 callbackLoop_.join(); in ~AudioProcessInClientInner()614 callbackLoop_ = std::thread([this] { this->RecordProcessCallbackFuc(); }); in Init()615 pthread_setname_np(callbackLoop_.native_handle(), "OS_AudioRecCb"); in Init()618 callbackLoop_ = std::thread([this] { this->ProcessCallbackFucIndependent(); }); in Init()619 pthread_setname_np(callbackLoop_.native_handle(), "OS_AudioPlayCb"); in Init()622 callbackLoop_ = std::thread([this] { this->ProcessCallbackFuc(); }); in Init()623 pthread_setname_np(callbackLoop_.native_handle(), "OS_AudioPlayCb"); in Init()
263 std::thread callbackLoop_; // thread for callback to client and write. member in OHOS::AudioStandard::CapturerInClientInner1043 callbackLoop_ = std::thread([this] { this->ReadCallbackFunc(); }); in SetCaptureMode()1044 pthread_setname_np(callbackLoop_.native_handle(), "OS_AudioReadCB"); in SetCaptureMode()1469 if (callbackLoop_.joinable()) { in ReleaseAudioStream()1470 callbackLoop_.join(); in ReleaseAudioStream()
891 callbackLoop_ = std::thread([this] { this->WriteCallbackFunc(); }); in SetRenderMode()892 pthread_setname_np(callbackLoop_.native_handle(), "OS_AudioWriteCB"); in SetRenderMode()1398 if (callbackLoop_.joinable()) { in ReleaseAudioStream()1399 callbackLoop_.join(); in ReleaseAudioStream()
319 std::thread callbackLoop_; // thread for callback to client and write. variable