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

Unified Diff: media/filters/audio_renderer_algorithm.h

Issue 205093002: Remove muting for extreme playbackRates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rip out muted_. Created 6 years, 9 months 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
« no previous file with comments | « no previous file | media/filters/audio_renderer_algorithm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/audio_renderer_algorithm.h
diff --git a/media/filters/audio_renderer_algorithm.h b/media/filters/audio_renderer_algorithm.h
index 39e4db6ca69b29f55fbcdf3bf9bc78672dbb99e2..f251ff72aa8b23c56467bb4f1a4da5328c411fdd 100644
--- a/media/filters/audio_renderer_algorithm.h
+++ b/media/filters/audio_renderer_algorithm.h
@@ -19,8 +19,6 @@
// are preserved. See audio_renderer_algorith.cc for a more elaborate
// description of the algorithm.
//
-// Audio at very low or very high playback rates are muted to preserve quality.
-//
#ifndef MEDIA_FILTERS_AUDIO_RENDERER_ALGORITHM_H_
#define MEDIA_FILTERS_AUDIO_RENDERER_ALGORITHM_H_
@@ -84,9 +82,6 @@ class MEDIA_EXPORT AudioRendererAlgorithm {
// Returns the samples per second for this audio stream.
int samples_per_second() { return samples_per_second_; }
- // Is the sound currently muted?
- bool is_muted() { return muted_; }
-
private:
// Within |search_block_|, find the block of data that is most similar to
// |target_block_|, and write it in |optimal_block_|. This method assumes that
@@ -140,12 +135,6 @@ class MEDIA_EXPORT AudioRendererAlgorithm {
// Buffered audio data.
AudioBufferQueue audio_buffer_;
- // True if the audio should be muted.
- bool muted_;
-
- // If muted, keep track of partial frames that should have been skipped over.
- double muted_partial_frame_;
-
// How many frames to have in the queue before we report the queue is full.
int capacity_;
« no previous file with comments | « no previous file | media/filters/audio_renderer_algorithm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698