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

Unified Diff: media/audio/audio_parameters.h

Issue 5158003: Implement AudioOutputProxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 10 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/audio/audio_parameters.h
diff --git a/media/audio/audio_parameters.h b/media/audio/audio_parameters.h
index 9172d743066e0a93a8c4e95390c070f5e51d1b1e..83b84e2b1a9c817c0ef89930cf6c3f8df61e27d5 100644
--- a/media/audio/audio_parameters.h
+++ b/media/audio/audio_parameters.h
@@ -8,6 +8,13 @@
#include "base/basictypes.h"
struct AudioParameters {
+ // Compare is useful when AudioParameters is used as a key in
scherkus (not reviewing) 2010/11/24 05:03:12 nit: this comment can fit on a single line
Sergey Ulanov 2010/11/24 19:13:51 Done.
+ // std::map.
+ class Compare {
+ public:
+ bool operator()(const AudioParameters& a, const AudioParameters& b) const;
+ };
+
enum Format {
AUDIO_PCM_LINEAR = 0, // PCM is 'raw' amplitude samples.
AUDIO_PCM_LOW_LATENCY, // Linear PCM, low latency requested.

Powered by Google App Engine
This is Rietveld 408576698