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

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

Issue 1525173002: Bugfix that fixes the integration issue that cause WebRTC AEC mobile to fail (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added missing input_sample_rate_hz() to FakeAudioProcessing Created 5 years 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 | « no previous file | webrtc/modules/audio_processing/audio_processing_impl.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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 webrtc::AudioProcessing::ChannelLayout input_layout, 67 webrtc::AudioProcessing::ChannelLayout input_layout,
68 webrtc::AudioProcessing::ChannelLayout output_layout, 68 webrtc::AudioProcessing::ChannelLayout output_layout,
69 webrtc::AudioProcessing::ChannelLayout reverse_layout)); 69 webrtc::AudioProcessing::ChannelLayout reverse_layout));
70 WEBRTC_STUB(Initialize, ( 70 WEBRTC_STUB(Initialize, (
71 const webrtc::ProcessingConfig& processing_config)); 71 const webrtc::ProcessingConfig& processing_config));
72 72
73 WEBRTC_VOID_FUNC(SetExtraOptions, (const webrtc::Config& config)) { 73 WEBRTC_VOID_FUNC(SetExtraOptions, (const webrtc::Config& config)) {
74 experimental_ns_enabled_ = config.Get<webrtc::ExperimentalNs>().enabled; 74 experimental_ns_enabled_ = config.Get<webrtc::ExperimentalNs>().enabled;
75 } 75 }
76 76
77 WEBRTC_STUB_CONST(input_sample_rate_hz, ());
77 WEBRTC_STUB_CONST(proc_sample_rate_hz, ()); 78 WEBRTC_STUB_CONST(proc_sample_rate_hz, ());
78 WEBRTC_STUB_CONST(proc_split_sample_rate_hz, ()); 79 WEBRTC_STUB_CONST(proc_split_sample_rate_hz, ());
79 WEBRTC_STUB_CONST(num_input_channels, ()); 80 WEBRTC_STUB_CONST(num_input_channels, ());
80 WEBRTC_STUB_CONST(num_output_channels, ()); 81 WEBRTC_STUB_CONST(num_output_channels, ());
81 WEBRTC_STUB_CONST(num_reverse_channels, ()); 82 WEBRTC_STUB_CONST(num_reverse_channels, ());
82 WEBRTC_VOID_STUB(set_output_will_be_muted, (bool muted)); 83 WEBRTC_VOID_STUB(set_output_will_be_muted, (bool muted));
83 WEBRTC_STUB(ProcessStream, (webrtc::AudioFrame* frame)); 84 WEBRTC_STUB(ProcessStream, (webrtc::AudioFrame* frame));
84 WEBRTC_STUB(ProcessStream, ( 85 WEBRTC_STUB(ProcessStream, (
85 const float* const* src, 86 const float* const* src,
86 size_t samples_per_channel, 87 size_t samples_per_channel,
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 int playout_fail_channel_; 814 int playout_fail_channel_;
814 int send_fail_channel_; 815 int send_fail_channel_;
815 int recording_sample_rate_; 816 int recording_sample_rate_;
816 int playout_sample_rate_; 817 int playout_sample_rate_;
817 FakeAudioProcessing audio_processing_; 818 FakeAudioProcessing audio_processing_;
818 }; 819 };
819 820
820 } // namespace cricket 821 } // namespace cricket
821 822
822 #endif // TALK_SESSION_PHONE_FAKEWEBRTCVOICEENGINE_H_ 823 #endif // TALK_SESSION_PHONE_FAKEWEBRTCVOICEENGINE_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/audio_processing_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698