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

Unified Diff: media/base/channel_mixer.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/base/channel_mixer.h
===================================================================
--- media/base/channel_mixer.h (revision 186233)
+++ media/base/channel_mixer.h (working copy)
@@ -14,6 +14,7 @@
namespace media {
class AudioBus;
+class AudioParameters;
// ChannelMixer is for converting audio between channel layouts. The conversion
// matrix is built upon construction and used during each Transform() call. The
@@ -23,9 +24,12 @@
// input channels as defined in the matrix.
class MEDIA_EXPORT ChannelMixer {
public:
- ChannelMixer(ChannelLayout input, ChannelLayout output);
+ ChannelMixer(ChannelLayout input_layout, ChannelLayout output_layout);
DaleCurtis 2013/03/07 02:41:39 Can this constructor just be removed?
+ ChannelMixer(const AudioParameters& input, const AudioParameters& output);
~ChannelMixer();
+ void Initialize(const AudioParameters& input, const AudioParameters& output);
+
// Transforms all channels from |input| into |output| channels.
void Transform(const AudioBus* input, AudioBus* output);

Powered by Google App Engine
This is Rietveld 408576698