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

Side by Side Diff: webrtc/modules/audio_coding/neteq/accelerate.h

Issue 1345433002: Add RTC_ prefix to contructormagic macros. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Formatting fix. Created 5 years, 3 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // if possible, performs the time-stretching. 58 // if possible, performs the time-stretching.
59 ReturnCodes CheckCriteriaAndStretch(const int16_t* input, 59 ReturnCodes CheckCriteriaAndStretch(const int16_t* input,
60 size_t input_length, 60 size_t input_length,
61 size_t peak_index, 61 size_t peak_index,
62 int16_t best_correlation, 62 int16_t best_correlation,
63 bool active_speech, 63 bool active_speech,
64 bool fast_mode, 64 bool fast_mode,
65 AudioMultiVector* output) const override; 65 AudioMultiVector* output) const override;
66 66
67 private: 67 private:
68 DISALLOW_COPY_AND_ASSIGN(Accelerate); 68 RTC_DISALLOW_COPY_AND_ASSIGN(Accelerate);
69 }; 69 };
70 70
71 struct AccelerateFactory { 71 struct AccelerateFactory {
72 AccelerateFactory() {} 72 AccelerateFactory() {}
73 virtual ~AccelerateFactory() {} 73 virtual ~AccelerateFactory() {}
74 74
75 virtual Accelerate* Create(int sample_rate_hz, 75 virtual Accelerate* Create(int sample_rate_hz,
76 size_t num_channels, 76 size_t num_channels,
77 const BackgroundNoise& background_noise) const; 77 const BackgroundNoise& background_noise) const;
78 }; 78 };
79 79
80 } // namespace webrtc 80 } // namespace webrtc
81 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_ACCELERATE_H_ 81 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_ACCELERATE_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/main/acm2/codec_owner.h ('k') | webrtc/modules/audio_coding/neteq/audio_decoder_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698