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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 { | 556 { |
557 TEST_LOG("++"); | 557 TEST_LOG("++"); |
558 } | 558 } |
559 } // if (_playCount % 100 == 0) | 559 } // if (_playCount % 100 == 0) |
560 | 560 |
561 nSamplesOut = nSamples; | 561 nSamplesOut = nSamples; |
562 | 562 |
563 return 0; | 563 return 0; |
564 } | 564 } |
565 | 565 |
| 566 void AudioTransportImpl::PushCaptureData(int voe_channel, |
| 567 const void* audio_data, |
| 568 int bits_per_sample, |
| 569 int sample_rate, |
| 570 size_t number_of_channels, |
| 571 size_t number_of_frames) {} |
| 572 |
| 573 void AudioTransportImpl::PullRenderData(int bits_per_sample, |
| 574 int sample_rate, |
| 575 size_t number_of_channels, |
| 576 size_t number_of_frames, |
| 577 void* audio_data, |
| 578 int64_t* elapsed_time_ms, |
| 579 int64_t* ntp_time_ms) {} |
| 580 |
566 FuncTestManager::FuncTestManager() : | 581 FuncTestManager::FuncTestManager() : |
567 _audioDevice(NULL), | 582 _audioDevice(NULL), |
568 _audioEventObserver(NULL), | 583 _audioEventObserver(NULL), |
569 _audioTransport(NULL) | 584 _audioTransport(NULL) |
570 { | 585 { |
571 _playoutFile48 = webrtc::test::ResourcePath("audio_device\\audio_short48", | 586 _playoutFile48 = webrtc::test::ResourcePath("audio_device\\audio_short48", |
572 "pcm"); | 587 "pcm"); |
573 _playoutFile44 = webrtc::test::ResourcePath("audio_device\\audio_short44", | 588 _playoutFile44 = webrtc::test::ResourcePath("audio_device\\audio_short44", |
574 "pcm"); | 589 "pcm"); |
575 _playoutFile16 = webrtc::test::ResourcePath("audio_device\\audio_short16", | 590 _playoutFile16 = webrtc::test::ResourcePath("audio_device\\audio_short16", |
(...skipping 2151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2727 | 2742 |
2728 TEST_LOG("\n"); | 2743 TEST_LOG("\n"); |
2729 PRINT_TEST_RESULTS; | 2744 PRINT_TEST_RESULTS; |
2730 | 2745 |
2731 return 0; | 2746 return 0; |
2732 } | 2747 } |
2733 | 2748 |
2734 } // namespace webrtc | 2749 } // namespace webrtc |
2735 | 2750 |
2736 // EOF | 2751 // EOF |
OLD | NEW |