| Index: components/copresence/mediums/audio/audio_manager_impl.cc
|
| diff --git a/components/copresence/mediums/audio/audio_manager_impl.cc b/components/copresence/mediums/audio/audio_manager_impl.cc
|
| index 04d357c41925183d9355ee9d7cc22c425f469410..387eb54d33901ec0f65a2b9734945bdcf4c0d8be 100644
|
| --- a/components/copresence/mediums/audio/audio_manager_impl.cc
|
| +++ b/components/copresence/mediums/audio/audio_manager_impl.cc
|
| @@ -127,6 +127,7 @@ void AudioManagerImpl::StopPlaying(AudioType type) {
|
| // If we were only recording to hear our own played tokens, stop.
|
| if (!should_be_recording_[AUDIBLE] && !should_be_recording_[INAUDIBLE])
|
| recorder_->Stop();
|
| + playing_token_[type] = std::string();
|
| }
|
|
|
| void AudioManagerImpl::StartRecording(AudioType type) {
|
| @@ -153,7 +154,7 @@ void AudioManagerImpl::SetToken(AudioType type,
|
| }
|
|
|
| const std::string AudioManagerImpl::GetToken(AudioType type) {
|
| - return should_be_playing_[type] ? playing_token_[type] : "";
|
| + return playing_token_[type];
|
| }
|
|
|
| bool AudioManagerImpl::IsPlayingTokenHeard(AudioType type) {
|
|
|