OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2010 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 |
11 #ifndef WEBRTC_MEDIA_WEBRTC_FAKEWEBRTCVOICEENGINE_H_ | 11 #ifndef WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVOICEENGINE_H_ |
12 #define WEBRTC_MEDIA_WEBRTC_FAKEWEBRTCVOICEENGINE_H_ | 12 #define WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVOICEENGINE_H_ |
13 | 13 |
14 #include <list> | 14 #include <list> |
15 #include <map> | 15 #include <map> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "webrtc/base/basictypes.h" | 18 #include "webrtc/base/basictypes.h" |
19 #include "webrtc/base/checks.h" | 19 #include "webrtc/base/checks.h" |
20 #include "webrtc/base/gunit.h" | 20 #include "webrtc/base/gunit.h" |
21 #include "webrtc/base/stringutils.h" | 21 #include "webrtc/base/stringutils.h" |
22 #include "webrtc/config.h" | 22 #include "webrtc/config.h" |
23 #include "webrtc/media/base/codec.h" | 23 #include "webrtc/media/base/codec.h" |
24 #include "webrtc/media/base/rtputils.h" | 24 #include "webrtc/media/base/rtputils.h" |
25 #include "webrtc/media/webrtc/fakewebrtccommon.h" | 25 #include "webrtc/media/engine/fakewebrtccommon.h" |
26 #include "webrtc/media/webrtc/webrtcvoe.h" | 26 #include "webrtc/media/engine/webrtcvoe.h" |
27 #include "webrtc/modules/audio_coding/acm2/rent_a_codec.h" | 27 #include "webrtc/modules/audio_coding/acm2/rent_a_codec.h" |
28 #include "webrtc/modules/audio_processing/include/audio_processing.h" | 28 #include "webrtc/modules/audio_processing/include/audio_processing.h" |
29 | 29 |
30 namespace cricket { | 30 namespace cricket { |
31 | 31 |
32 static const int kOpusBandwidthNb = 4000; | 32 static const int kOpusBandwidthNb = 4000; |
33 static const int kOpusBandwidthMb = 6000; | 33 static const int kOpusBandwidthMb = 6000; |
34 static const int kOpusBandwidthWb = 8000; | 34 static const int kOpusBandwidthWb = 8000; |
35 static const int kOpusBandwidthSwb = 12000; | 35 static const int kOpusBandwidthSwb = 12000; |
36 static const int kOpusBandwidthFb = 20000; | 36 static const int kOpusBandwidthFb = 20000; |
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
798 webrtc::VoiceEngineObserver* observer_; | 798 webrtc::VoiceEngineObserver* observer_; |
799 int playout_fail_channel_; | 799 int playout_fail_channel_; |
800 int send_fail_channel_; | 800 int send_fail_channel_; |
801 int recording_sample_rate_; | 801 int recording_sample_rate_; |
802 int playout_sample_rate_; | 802 int playout_sample_rate_; |
803 FakeAudioProcessing audio_processing_; | 803 FakeAudioProcessing audio_processing_; |
804 }; | 804 }; |
805 | 805 |
806 } // namespace cricket | 806 } // namespace cricket |
807 | 807 |
808 #endif // WEBRTC_MEDIA_WEBRTC_FAKEWEBRTCVOICEENGINE_H_ | 808 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVOICEENGINE_H_ |
OLD | NEW |