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

Side by Side Diff: voice_engine/voe_base_impl.h

Issue 3018523002: Clean out unused methods from VoiceEngine and VoEBase. (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « voice_engine/statistics.cc ('k') | voice_engine/voe_base_impl.cc » ('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 * 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 26 matching lines...) Expand all
37 } 37 }
38 voe::TransmitMixer* transmit_mixer() override { 38 voe::TransmitMixer* transmit_mixer() override {
39 return shared_->transmit_mixer(); 39 return shared_->transmit_mixer();
40 } 40 }
41 int Terminate() override; 41 int Terminate() override;
42 42
43 int CreateChannel() override; 43 int CreateChannel() override;
44 int CreateChannel(const ChannelConfig& config) override; 44 int CreateChannel(const ChannelConfig& config) override;
45 int DeleteChannel(int channel) override; 45 int DeleteChannel(int channel) override;
46 46
47 int StartReceive(int channel) override;
48 int StartPlayout(int channel) override; 47 int StartPlayout(int channel) override;
49 int StartSend(int channel) override; 48 int StartSend(int channel) override;
50 int StopPlayout(int channel) override; 49 int StopPlayout(int channel) override;
51 int StopSend(int channel) override; 50 int StopSend(int channel) override;
52 51
53 int GetVersion(char version[1024]) override;
54
55 int LastError() override;
56
57 AudioTransport* audio_transport() override { return this; } 52 AudioTransport* audio_transport() override { return this; }
58 53
59 int AssociateSendChannel(int channel, int accociate_send_channel) override;
60
61 // AudioTransport 54 // AudioTransport
62 int32_t RecordedDataIsAvailable(const void* audio_data, 55 int32_t RecordedDataIsAvailable(const void* audio_data,
63 const size_t number_of_frames, 56 const size_t number_of_frames,
64 const size_t bytes_per_sample, 57 const size_t bytes_per_sample,
65 const size_t number_of_channels, 58 const size_t number_of_channels,
66 const uint32_t sample_rate, 59 const uint32_t sample_rate,
67 const uint32_t audio_delay_milliseconds, 60 const uint32_t audio_delay_milliseconds,
68 const int32_t clock_drift, 61 const int32_t clock_drift,
69 const uint32_t volume, 62 const uint32_t volume,
70 const bool key_pressed, 63 const bool key_pressed,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 rtc::CriticalSection callbackCritSect_; 111 rtc::CriticalSection callbackCritSect_;
119 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; 112 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_;
120 113
121 AudioFrame audioFrame_; 114 AudioFrame audioFrame_;
122 voe::SharedData* shared_; 115 voe::SharedData* shared_;
123 }; 116 };
124 117
125 } // namespace webrtc 118 } // namespace webrtc
126 119
127 #endif // VOICE_ENGINE_VOE_BASE_IMPL_H_ 120 #endif // VOICE_ENGINE_VOE_BASE_IMPL_H_
OLDNEW
« no previous file with comments | « voice_engine/statistics.cc ('k') | voice_engine/voe_base_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698