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

Side by Side Diff: media/base/channel_mixer.h

Issue 645853011: Fix errors in comments. Make comments match code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use DCHECK_EQ Created 6 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 unified diff | Download patch
« no previous file with comments | « media/base/channel_layout.cc ('k') | media/base/channel_mixer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_BASE_CHANNEL_MIXER_H_ 5 #ifndef MEDIA_BASE_CHANNEL_MIXER_H_
6 #define MEDIA_BASE_CHANNEL_MIXER_H_ 6 #define MEDIA_BASE_CHANNEL_MIXER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/macros.h"
11 #include "media/base/channel_layout.h" 11 #include "media/base/channel_layout.h"
12 #include "media/base/media_export.h" 12 #include "media/base/media_export.h"
13 13
14 namespace media { 14 namespace media {
15 15
16 class AudioBus; 16 class AudioBus;
17 class AudioParameters; 17 class AudioParameters;
18 18
19 // ChannelMixer is for converting audio between channel layouts. The conversion 19 // ChannelMixer is for converting audio between channel layouts. The conversion
20 // matrix is built upon construction and used during each Transform() call. The 20 // matrix is built upon construction and used during each Transform() call. The
(...skipping 20 matching lines...) Expand all
41 // Optimization case for when we can simply remap the input channels to output 41 // Optimization case for when we can simply remap the input channels to output
42 // channels and don't need to do a multiply-accumulate loop over |matrix_|. 42 // channels and don't need to do a multiply-accumulate loop over |matrix_|.
43 bool remapping_; 43 bool remapping_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(ChannelMixer); 45 DISALLOW_COPY_AND_ASSIGN(ChannelMixer);
46 }; 46 };
47 47
48 } // namespace media 48 } // namespace media
49 49
50 #endif // MEDIA_BASE_CHANNEL_MIXER_H_ 50 #endif // MEDIA_BASE_CHANNEL_MIXER_H_
OLDNEW
« no previous file with comments | « media/base/channel_layout.cc ('k') | media/base/channel_mixer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698