Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(952)

Unified Diff: media/renderers/audio_renderer_impl.h

Issue 2492953003: media: Delete renderer/demuxer splicing code. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/renderers/audio_renderer_impl.h
diff --git a/media/renderers/audio_renderer_impl.h b/media/renderers/audio_renderer_impl.h
index d76ba06621e94ba6bd0a3a5d2cc39097b5965122..df18b2a1a61ebb9b51f2eb4b55ba0f881aa46b14 100644
--- a/media/renderers/audio_renderer_impl.h
+++ b/media/renderers/audio_renderer_impl.h
@@ -47,7 +47,6 @@ namespace media {
class AudioBufferConverter;
class AudioBus;
class AudioClock;
-class AudioSplicer;
class DecryptingDemuxerStream;
class MEDIA_EXPORT AudioRendererImpl
@@ -126,7 +125,7 @@ class MEDIA_EXPORT AudioRendererImpl
// Handles buffers that come out of |splicer_|.
// Returns true if more buffers are needed.
- bool HandleSplicerBuffer_Locked(const scoped_refptr<AudioBuffer>& buffer);
+ bool HandleDecodedBuffer_Locked(const scoped_refptr<AudioBuffer>& buffer);
// Helper functions for DecodeStatus values passed to
// DecodedAudioReady().
@@ -201,7 +200,6 @@ class MEDIA_EXPORT AudioRendererImpl
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
- std::unique_ptr<AudioSplicer> splicer_;
std::unique_ptr<AudioBufferConverter> buffer_converter_;
// Whether or not we expect to handle config changes.
@@ -231,7 +229,7 @@ class MEDIA_EXPORT AudioRendererImpl
std::unique_ptr<base::TickClock> tick_clock_;
// Memory usage of |algorithm_| recorded during the last
- // HandleSplicerBuffer_Locked() call.
+ // HandleDecodedBuffer_Locked() call.
int64_t last_audio_memory_usage_;
// Sample rate of the last decoded audio buffer. Allows for detection of

Powered by Google App Engine
This is Rietveld 408576698