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

Side by Side Diff: talk/media/webrtc/fakewebrtcvoiceengine.h

Issue 1224093003: Update audio code to use size_t more correctly, talk/ portion. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « talk/media/base/fakemediaengine.h ('k') | talk/media/webrtc/webrtcvoiceengine.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2010 Google Inc. 3 * Copyright 2010 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 WEBRTC_STUB_CONST(proc_sample_rate_hz, ()); 123 WEBRTC_STUB_CONST(proc_sample_rate_hz, ());
124 WEBRTC_STUB_CONST(proc_split_sample_rate_hz, ()); 124 WEBRTC_STUB_CONST(proc_split_sample_rate_hz, ());
125 WEBRTC_STUB_CONST(num_input_channels, ()); 125 WEBRTC_STUB_CONST(num_input_channels, ());
126 WEBRTC_STUB_CONST(num_output_channels, ()); 126 WEBRTC_STUB_CONST(num_output_channels, ());
127 WEBRTC_STUB_CONST(num_reverse_channels, ()); 127 WEBRTC_STUB_CONST(num_reverse_channels, ());
128 WEBRTC_VOID_STUB(set_output_will_be_muted, (bool muted)); 128 WEBRTC_VOID_STUB(set_output_will_be_muted, (bool muted));
129 WEBRTC_BOOL_STUB_CONST(output_will_be_muted, ()); 129 WEBRTC_BOOL_STUB_CONST(output_will_be_muted, ());
130 WEBRTC_STUB(ProcessStream, (webrtc::AudioFrame* frame)); 130 WEBRTC_STUB(ProcessStream, (webrtc::AudioFrame* frame));
131 WEBRTC_STUB(ProcessStream, ( 131 WEBRTC_STUB(ProcessStream, (
132 const float* const* src, 132 const float* const* src,
133 int samples_per_channel, 133 size_t samples_per_channel,
134 int input_sample_rate_hz, 134 int input_sample_rate_hz,
135 webrtc::AudioProcessing::ChannelLayout input_layout, 135 webrtc::AudioProcessing::ChannelLayout input_layout,
136 int output_sample_rate_hz, 136 int output_sample_rate_hz,
137 webrtc::AudioProcessing::ChannelLayout output_layout, 137 webrtc::AudioProcessing::ChannelLayout output_layout,
138 float* const* dest)); 138 float* const* dest));
139 WEBRTC_STUB(AnalyzeReverseStream, (webrtc::AudioFrame* frame)); 139 WEBRTC_STUB(AnalyzeReverseStream, (webrtc::AudioFrame* frame));
140 WEBRTC_STUB(AnalyzeReverseStream, ( 140 WEBRTC_STUB(AnalyzeReverseStream, (
141 const float* const* data, 141 const float* const* data,
142 int samples_per_channel, 142 size_t samples_per_channel,
143 int sample_rate_hz, 143 int sample_rate_hz,
144 webrtc::AudioProcessing::ChannelLayout layout)); 144 webrtc::AudioProcessing::ChannelLayout layout));
145 WEBRTC_STUB(set_stream_delay_ms, (int delay)); 145 WEBRTC_STUB(set_stream_delay_ms, (int delay));
146 WEBRTC_STUB_CONST(stream_delay_ms, ()); 146 WEBRTC_STUB_CONST(stream_delay_ms, ());
147 WEBRTC_BOOL_STUB_CONST(was_stream_delay_set, ()); 147 WEBRTC_BOOL_STUB_CONST(was_stream_delay_set, ());
148 WEBRTC_VOID_STUB(set_stream_key_pressed, (bool key_pressed)); 148 WEBRTC_VOID_STUB(set_stream_key_pressed, (bool key_pressed));
149 WEBRTC_BOOL_STUB_CONST(stream_key_pressed, ()); 149 WEBRTC_BOOL_STUB_CONST(stream_key_pressed, ());
150 WEBRTC_VOID_STUB(set_delay_offset_ms, (int offset)); 150 WEBRTC_VOID_STUB(set_delay_offset_ms, (int offset));
151 WEBRTC_STUB_CONST(delay_offset_ms, ()); 151 WEBRTC_STUB_CONST(delay_offset_ms, ());
152 WEBRTC_STUB(StartDebugRecording, (const char filename[kMaxFilenameSize])); 152 WEBRTC_STUB(StartDebugRecording, (const char filename[kMaxFilenameSize]));
(...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after
1270 DtmfInfo dtmf_info_; 1270 DtmfInfo dtmf_info_;
1271 webrtc::VoEMediaProcess* media_processor_; 1271 webrtc::VoEMediaProcess* media_processor_;
1272 FakeAudioProcessing audio_processing_; 1272 FakeAudioProcessing audio_processing_;
1273 }; 1273 };
1274 1274
1275 #undef WEBRTC_CHECK_HEADER_EXTENSION_ID 1275 #undef WEBRTC_CHECK_HEADER_EXTENSION_ID
1276 1276
1277 } // namespace cricket 1277 } // namespace cricket
1278 1278
1279 #endif // TALK_SESSION_PHONE_FAKEWEBRTCVOICEENGINE_H_ 1279 #endif // TALK_SESSION_PHONE_FAKEWEBRTCVOICEENGINE_H_
OLDNEW
« no previous file with comments | « talk/media/base/fakemediaengine.h ('k') | talk/media/webrtc/webrtcvoiceengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698