Make bands vector in SplittingFilter Analysis const
BUG=webrtc:3146 R=kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/30229004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7761 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
8789376cd3
commit
cc144deaab
@ -31,7 +31,7 @@ SplittingFilter::SplittingFilter(int channels)
|
||||
}
|
||||
|
||||
void SplittingFilter::Analysis(const IFChannelBuffer* in_data,
|
||||
std::vector<IFChannelBuffer*>& bands) {
|
||||
const std::vector<IFChannelBuffer*>& bands) {
|
||||
DCHECK(bands.size() == 2 || bands.size() == 3);
|
||||
DCHECK_EQ(channels_, in_data->num_channels());
|
||||
for (size_t i = 0; i < bands.size(); ++i) {
|
||||
|
@ -57,7 +57,7 @@ class SplittingFilter {
|
||||
SplittingFilter(int channels);
|
||||
|
||||
void Analysis(const IFChannelBuffer* in_data,
|
||||
std::vector<IFChannelBuffer*>& bands);
|
||||
const std::vector<IFChannelBuffer*>& bands);
|
||||
void Synthesis(const std::vector<IFChannelBuffer*>& bands,
|
||||
IFChannelBuffer* out_data);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user