Index: components/audio_modem/audio_player_impl.h |
diff --git a/components/audio_modem/audio_player_impl.h b/components/audio_modem/audio_player_impl.h |
index 50f10bf98874eefec319033a774a82ba2f951926..7ea518b84e387de4a14f5d4261d0de11bda197b5 100644 |
--- a/components/audio_modem/audio_player_impl.h |
+++ b/components/audio_modem/audio_player_impl.h |
@@ -65,6 +65,10 @@ |
uint32_t frames_skipped) override; |
void OnError(media::AudioOutputStream* stream) override; |
+ // Flushes the audio loop, making sure that any queued operations are |
+ // performed. |
+ void FlushAudioLoopForTesting(); |
+ |
bool is_playing_; |
// Self-deleting object. |