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

Unified Diff: media/audio/audio_parameters.h

Issue 12387006: Pass more detailed audio hardware configuration information to the renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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
Index: media/audio/audio_parameters.h
===================================================================
--- media/audio/audio_parameters.h (revision 186233)
+++ media/audio/audio_parameters.h (working copy)
@@ -76,6 +76,9 @@
int channels() const { return channels_; }
int input_channels() const { return input_channels_; }
+ // Set to CHANNEL_LAYOUT_DISCRETE with given number of channels.
+ void SetDiscreteChannels(int channels);
+
private:
Format format_; // Format of the stream.
ChannelLayout channel_layout_; // Order of surround sound channels.

Powered by Google App Engine
This is Rietveld 408576698