Searched refs:PlayerType (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/base/telephony/call_manager/services/audio/src/ |
H A D | audio_player.cpp | 119 …er::Play(const std::string &path, AudioStandard::AudioStreamType streamType, PlayerType playerType) in Play() 170 int32_t AudioPlayer::Play(PlayerType playerType) in Play() 180 void AudioPlayer::SetStop(PlayerType playerType, bool state) in SetStop() 183 case PlayerType::TYPE_RING: in SetStop() 191 case PlayerType::TYPE_TONE: in SetStop() 199 case PlayerType::TYPE_SOUND: in SetStop() 212 bool AudioPlayer::IsStop(PlayerType playerType) in IsStop() 216 case PlayerType::TYPE_RING: in IsStop() 219 case PlayerType::TYPE_TONE: in IsStop() 222 case PlayerType::TYPE_SOUND: in IsStop()
|
H A D | ring.cpp | 69 audioPlayer_->SetStop(PlayerType::TYPE_RING, false); in Play() 81 audioPlayer_->SetStop(PlayerType::TYPE_RING, true); in Stop()
|
H A D | tone.cpp | 24 …ioPlay = int32_t (AudioPlayer::*)(const std::string &, AudioStandard::AudioStreamType, PlayerType); 73 AudioStandard::AudioStreamType::STREAM_MUSIC, PlayerType::TYPE_TONE); in Play() 97 audioPlayer_->SetStop(PlayerType::TYPE_TONE, true); in Stop()
|
H A D | sound.cpp | 49 audioPlayer_->SetStop(PlayerType::TYPE_SOUND, true); in Stop()
|
/ohos5.0/base/telephony/call_manager/services/audio/include/ |
H A D | audio_player.h | 28 enum PlayerType { enum 74 …int32_t Play(const std::string &path, AudioStandard::AudioStreamType streamType, PlayerType player… 75 int32_t Play(PlayerType playerType); 78 void SetStop(PlayerType playerType, bool state); 108 bool IsStop(PlayerType playerType);
|