Index: media/renderers/audio_renderer_impl.h |
diff --git a/media/renderers/audio_renderer_impl.h b/media/renderers/audio_renderer_impl.h |
index 1db9bd340c55337a103f0a2eb2498ca56e7f0625..8db17cd0f9bbcf35b1d747d1d484d08a06fd8436 100644 |
--- a/media/renderers/audio_renderer_impl.h |
+++ b/media/renderers/audio_renderer_impl.h |
@@ -232,6 +232,10 @@ class MEDIA_EXPORT AudioRendererImpl |
// HandleSplicerBuffer_Locked() call. |
int64_t last_audio_memory_usage_; |
+ // Sample rate of the last decoded audio buffer. Allows for detection of |
+ // sample rate changes due to implicit AAC configuration change. |
+ int32_t last_decoded_sample_rate_; |
DaleCurtis
2016/03/18 00:16:23
Just int
chcunningham
2016/03/25 01:41:16
Done.
|
+ |
// After Initialize() has completed, all variables below must be accessed |
// under |lock_|. ------------------------------------------------------------ |
base::Lock lock_; |