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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 int32_t TerminateInternal(); | 97 int32_t TerminateInternal(); |
98 | 98 |
99 void GetPlayoutData(int sample_rate, size_t number_of_channels, | 99 void GetPlayoutData(int sample_rate, size_t number_of_channels, |
100 size_t number_of_frames, bool feed_data_to_apm, | 100 size_t number_of_frames, bool feed_data_to_apm, |
101 void* audio_data, int64_t* elapsed_time_ms, | 101 void* audio_data, int64_t* elapsed_time_ms, |
102 int64_t* ntp_time_ms); | 102 int64_t* ntp_time_ms); |
103 | 103 |
104 // Initialize channel by setting Engine Information then initializing | 104 // Initialize channel by setting Engine Information then initializing |
105 // channel. | 105 // channel. |
106 int InitializeChannel(voe::ChannelOwner* channel_owner); | 106 int InitializeChannel(voe::ChannelOwner* channel_owner); |
107 rtc::CriticalSection callbackCritSect_; | |
108 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; | 107 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; |
109 | 108 |
110 AudioFrame audioFrame_; | 109 AudioFrame audioFrame_; |
111 voe::SharedData* shared_; | 110 voe::SharedData* shared_; |
112 }; | 111 }; |
113 | 112 |
114 } // namespace webrtc | 113 } // namespace webrtc |
115 | 114 |
116 #endif // VOICE_ENGINE_VOE_BASE_IMPL_H_ | 115 #endif // VOICE_ENGINE_VOE_BASE_IMPL_H_ |
OLD | NEW |