Lines Matching refs:audioPlayer_
24 Sound::Sound() : audioPlayer_(new (std::nothrow) AudioPlayer()) {}
28 if (audioPlayer_ != nullptr) {
29 delete audioPlayer_;
30 audioPlayer_ = nullptr;
36 if (audioPlayer_ == nullptr) {
37 TELEPHONY_LOGE("audioPlayer_ is nullptr");
40 return audioPlayer_->Play(TYPE_SOUND);
45 if (audioPlayer_ == nullptr) {
46 TELEPHONY_LOGE("audioPlayer_ is nullptr");
49 audioPlayer_->SetStop(PlayerType::TYPE_SOUND, true);
55 if (audioPlayer_ == nullptr) {
56 TELEPHONY_LOGE("audioPlayer_ is nullptr");
59 audioPlayer_->ReleaseRenderer();
60 audioPlayer_->ReleaseCapturer();