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

Unified Diff: media/audio/audio_parameters.h

Issue 12662038: Revert 187936 "Pass more detailed audio hardware configuration i..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1440/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
« no previous file with comments | « media/audio/audio_output_resampler.cc ('k') | media/audio/audio_parameters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_parameters.h
===================================================================
--- media/audio/audio_parameters.h (revision 189875)
+++ media/audio/audio_parameters.h (working copy)
@@ -51,7 +51,7 @@
int sample_rate, int bits_per_sample,
int frames_per_buffer);
void Reset(Format format, ChannelLayout channel_layout,
- int channels, int input_channels,
+ int input_channels,
int sample_rate, int bits_per_sample,
int frames_per_buffer);
@@ -76,9 +76,6 @@
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.
« no previous file with comments | « media/audio/audio_output_resampler.cc ('k') | media/audio/audio_parameters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698