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

Side by Side Diff: webrtc/modules/audio_processing/audio_processing_impl.h

Issue 1227213002: Update audio code to use size_t more correctly, webrtc/modules/audio_processing/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 4 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 int sample_rate_hz() const override; 71 int sample_rate_hz() const override;
72 int proc_sample_rate_hz() const override; 72 int proc_sample_rate_hz() const override;
73 int proc_split_sample_rate_hz() const override; 73 int proc_split_sample_rate_hz() const override;
74 int num_input_channels() const override; 74 int num_input_channels() const override;
75 int num_output_channels() const override; 75 int num_output_channels() const override;
76 int num_reverse_channels() const override; 76 int num_reverse_channels() const override;
77 void set_output_will_be_muted(bool muted) override; 77 void set_output_will_be_muted(bool muted) override;
78 bool output_will_be_muted() const override; 78 bool output_will_be_muted() const override;
79 int ProcessStream(AudioFrame* frame) override; 79 int ProcessStream(AudioFrame* frame) override;
80 int ProcessStream(const float* const* src, 80 int ProcessStream(const float* const* src,
81 int samples_per_channel, 81 size_t samples_per_channel,
82 int input_sample_rate_hz, 82 int input_sample_rate_hz,
83 ChannelLayout input_layout, 83 ChannelLayout input_layout,
84 int output_sample_rate_hz, 84 int output_sample_rate_hz,
85 ChannelLayout output_layout, 85 ChannelLayout output_layout,
86 float* const* dest) override; 86 float* const* dest) override;
87 int ProcessStream(const float* const* src, 87 int ProcessStream(const float* const* src,
88 const StreamConfig& input_config, 88 const StreamConfig& input_config,
89 const StreamConfig& output_config, 89 const StreamConfig& output_config,
90 float* const* dest) override; 90 float* const* dest) override;
91 int AnalyzeReverseStream(AudioFrame* frame) override; 91 int AnalyzeReverseStream(AudioFrame* frame) override;
92 int AnalyzeReverseStream(const float* const* data, 92 int AnalyzeReverseStream(const float* const* data,
93 int samples_per_channel, 93 size_t samples_per_channel,
94 int sample_rate_hz, 94 int sample_rate_hz,
95 ChannelLayout layout) override; 95 ChannelLayout layout) override;
96 int AnalyzeReverseStream(const float* const* data, 96 int AnalyzeReverseStream(const float* const* data,
97 const StreamConfig& reverse_config) override; 97 const StreamConfig& reverse_config) override;
98 int set_stream_delay_ms(int delay) override; 98 int set_stream_delay_ms(int delay) override;
99 int stream_delay_ms() const override; 99 int stream_delay_ms() const override;
100 bool was_stream_delay_set() const override; 100 bool was_stream_delay_set() const override;
101 void set_delay_offset_ms(int offset) override; 101 void set_delay_offset_ms(int offset) override;
102 int delay_offset_ms() const override; 102 int delay_offset_ms() const override;
103 void set_stream_key_pressed(bool key_pressed) override; 103 void set_stream_key_pressed(bool key_pressed) override;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 bool transient_suppressor_enabled_; 189 bool transient_suppressor_enabled_;
190 rtc::scoped_ptr<TransientSuppressor> transient_suppressor_; 190 rtc::scoped_ptr<TransientSuppressor> transient_suppressor_;
191 const bool beamformer_enabled_; 191 const bool beamformer_enabled_;
192 rtc::scoped_ptr<Beamformer<float>> beamformer_; 192 rtc::scoped_ptr<Beamformer<float>> beamformer_;
193 const std::vector<Point> array_geometry_; 193 const std::vector<Point> array_geometry_;
194 }; 194 };
195 195
196 } // namespace webrtc 196 } // namespace webrtc
197 197
198 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ 198 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/audio_buffer.cc ('k') | webrtc/modules/audio_processing/audio_processing_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698