| Index: media/audio/clockless_audio_sink.h
|
| diff --git a/media/audio/clockless_audio_sink.h b/media/audio/clockless_audio_sink.h
|
| index 2251b007c56bfaa1cd327d3afde3258ed9eb8e3f..9dc1331930d5f9ce00b6c578fd5278d56d9685f2 100644
|
| --- a/media/audio/clockless_audio_sink.h
|
| +++ b/media/audio/clockless_audio_sink.h
|
| @@ -41,6 +41,12 @@ class MEDIA_EXPORT ClocklessAudioSink
|
| // Returns the time taken to consume all the audio.
|
| base::TimeDelta render_time() { return playback_time_; }
|
|
|
| + // Enables audio frame hashing. Must be called prior to Initialize().
|
| + void StartAudioHashForTesting();
|
| +
|
| + // Returns the hash of all audio frames seen since construction.
|
| + std::string GetAudioHashForTesting();
|
| +
|
| protected:
|
| ~ClocklessAudioSink() override;
|
|
|
| @@ -48,6 +54,7 @@ class MEDIA_EXPORT ClocklessAudioSink
|
| scoped_ptr<ClocklessAudioSinkThread> thread_;
|
| bool initialized_;
|
| bool playing_;
|
| + bool hashing_;
|
|
|
| // Time taken in last set of Render() calls.
|
| base::TimeDelta playback_time_;
|
|
|