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

Unified Diff: media/base/audio_hardware_config.h

Issue 2067863003: Mixing audio with different latency requirements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing bot redness Created 4 years, 6 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
Index: media/base/audio_hardware_config.h
diff --git a/media/base/audio_hardware_config.h b/media/base/audio_hardware_config.h
index a0d341c5b20e136b4b4cf02700cf85213390f639..612c5a0cad4ee715d2005850b5add7be4b355079 100644
--- a/media/base/audio_hardware_config.h
+++ b/media/base/audio_hardware_config.h
@@ -42,13 +42,6 @@ class MEDIA_EXPORT AudioHardwareConfig {
void UpdateInputConfig(const media::AudioParameters& input_params);
void UpdateOutputConfig(const media::AudioParameters& output_params);
- // For clients which don't need low latency, a larger buffer size should be
- // used to save power and CPU resources.
- int GetHighLatencyBufferSize() const;
-
- // |buffer_size| should be set to 0 if a client has no preference.
- static int GetHighLatencyBufferSize(int sample_rate, int buffer_size);
-
private:
// Cached values; access is protected by |config_lock_|.
mutable base::Lock config_lock_;

Powered by Google App Engine
This is Rietveld 408576698