OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |