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

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

Issue 1234463003: Integrate Intelligibility with APM (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added resampling support to InterleaveTo; removed VAD logic 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 * 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 int 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 int 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(ProcessReverseStream,
146 (float* const* data,
147 int samples_per_channel,
148 int sample_rate_hz,
149 webrtc::AudioProcessing::ChannelLayout layout));
145 WEBRTC_STUB(set_stream_delay_ms, (int delay)); 150 WEBRTC_STUB(set_stream_delay_ms, (int delay));
146 WEBRTC_STUB_CONST(stream_delay_ms, ()); 151 WEBRTC_STUB_CONST(stream_delay_ms, ());
147 WEBRTC_BOOL_STUB_CONST(was_stream_delay_set, ()); 152 WEBRTC_BOOL_STUB_CONST(was_stream_delay_set, ());
148 WEBRTC_VOID_STUB(set_stream_key_pressed, (bool key_pressed)); 153 WEBRTC_VOID_STUB(set_stream_key_pressed, (bool key_pressed));
149 WEBRTC_BOOL_STUB_CONST(stream_key_pressed, ()); 154 WEBRTC_BOOL_STUB_CONST(stream_key_pressed, ());
150 WEBRTC_VOID_STUB(set_delay_offset_ms, (int offset)); 155 WEBRTC_VOID_STUB(set_delay_offset_ms, (int offset));
151 WEBRTC_STUB_CONST(delay_offset_ms, ()); 156 WEBRTC_STUB_CONST(delay_offset_ms, ());
152 WEBRTC_STUB(StartDebugRecording, (const char filename[kMaxFilenameSize])); 157 WEBRTC_STUB(StartDebugRecording, (const char filename[kMaxFilenameSize]));
153 WEBRTC_STUB(StartDebugRecording, (FILE* handle)); 158 WEBRTC_STUB(StartDebugRecording, (FILE* handle));
154 WEBRTC_STUB(StopDebugRecording, ()); 159 WEBRTC_STUB(StopDebugRecording, ());
(...skipping 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after
1270 DtmfInfo dtmf_info_; 1275 DtmfInfo dtmf_info_;
1271 webrtc::VoEMediaProcess* media_processor_; 1276 webrtc::VoEMediaProcess* media_processor_;
1272 FakeAudioProcessing audio_processing_; 1277 FakeAudioProcessing audio_processing_;
1273 }; 1278 };
1274 1279
1275 #undef WEBRTC_CHECK_HEADER_EXTENSION_ID 1280 #undef WEBRTC_CHECK_HEADER_EXTENSION_ID
1276 1281
1277 } // namespace cricket 1282 } // namespace cricket
1278 1283
1279 #endif // TALK_SESSION_PHONE_FAKEWEBRTCVOICEENGINE_H_ 1284 #endif // TALK_SESSION_PHONE_FAKEWEBRTCVOICEENGINE_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/common_audio/include/audio_util.h » ('j') | webrtc/common_audio/include/audio_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698