Home
last modified time | relevance | path

Searched refs:playerType (Results 1 – 3 of 3) sorted by relevance

/base/telephony/call_manager/services/audio/src/
Daudio_player.cpp121 …er::Play(const std::string &path, AudioStandard::AudioStreamType streamType, PlayerType playerType) in Play() argument
147 SetStop(playerType, false); in Play()
150 if (IsStop(playerType)) { in Play()
159 if (IsStop(playerType)) { in Play()
172 int32_t AudioPlayer::Play(PlayerType playerType) in Play() argument
174 SetStop(playerType, false); in Play()
182 void AudioPlayer::SetStop(PlayerType playerType, bool state) in SetStop() argument
184 switch (playerType) { in SetStop()
214 bool AudioPlayer::IsStop(PlayerType playerType) in IsStop() argument
217 switch (playerType) { in IsStop()
Dtone.cpp49 PlayerType playerType = PlayerType::TYPE_TONE; in Play() local
51 playerType = PlayerType::TYPE_DTMF; in Play()
67 …eDescriptorPath(currentToneDescriptor_), AudioStandard::AudioStreamType::STREAM_MUSIC, playerType); in Play()
81 PlayerType playerType = PlayerType::TYPE_TONE; in Stop() local
83 playerType = PlayerType::TYPE_DTMF; in Stop()
93 audioPlayer_->SetStop(playerType, true); in Stop()
/base/telephony/call_manager/services/audio/include/
Daudio_player.h72 …_t Play(const std::string &path, AudioStandard::AudioStreamType streamType, PlayerType playerType);
73 int32_t Play(PlayerType playerType);
76 void SetStop(PlayerType playerType, bool state);
99 bool IsStop(PlayerType playerType);