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

Side by Side Diff: webrtc/audio/test/low_bandwidth_audio_test.h

Issue 2998923002: Use SingleThreadedTaskQueue in DirectTransport (Closed)
Patch Set: Appease win_msvc_rel. 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2017 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 #ifndef WEBRTC_AUDIO_TEST_LOW_BANDWIDTH_AUDIO_TEST_H_ 10 #ifndef WEBRTC_AUDIO_TEST_LOW_BANDWIDTH_AUDIO_TEST_H_
(...skipping 23 matching lines...) Expand all
34 size_t GetNumAudioStreams() const override; 34 size_t GetNumAudioStreams() const override;
35 size_t GetNumFlexfecStreams() const override; 35 size_t GetNumFlexfecStreams() const override;
36 36
37 std::unique_ptr<test::FakeAudioDevice::Capturer> CreateCapturer() override; 37 std::unique_ptr<test::FakeAudioDevice::Capturer> CreateCapturer() override;
38 std::unique_ptr<test::FakeAudioDevice::Renderer> CreateRenderer() override; 38 std::unique_ptr<test::FakeAudioDevice::Renderer> CreateRenderer() override;
39 39
40 void OnFakeAudioDevicesCreated( 40 void OnFakeAudioDevicesCreated(
41 test::FakeAudioDevice* send_audio_device, 41 test::FakeAudioDevice* send_audio_device,
42 test::FakeAudioDevice* recv_audio_device) override; 42 test::FakeAudioDevice* recv_audio_device) override;
43 43
44 test::PacketTransport* CreateSendTransport(Call* sender_call) override; 44 test::PacketTransport* CreateSendTransport(
45 test::PacketTransport* CreateReceiveTransport() override; 45 SingleThreadedTaskQueueForTesting* task_queue,
46 Call* sender_call) override;
47 test::PacketTransport* CreateReceiveTransport(
48 SingleThreadedTaskQueueForTesting* task_queue) override;
46 49
47 void ModifyAudioConfigs( 50 void ModifyAudioConfigs(
48 AudioSendStream::Config* send_config, 51 AudioSendStream::Config* send_config,
49 std::vector<AudioReceiveStream::Config>* receive_configs) override; 52 std::vector<AudioReceiveStream::Config>* receive_configs) override;
50 53
51 void PerformTest() override; 54 void PerformTest() override;
52 void OnTestFinished() override; 55 void OnTestFinished() override;
53 56
54 private: 57 private:
55 test::FakeAudioDevice* send_audio_device_; 58 test::FakeAudioDevice* send_audio_device_;
56 }; 59 };
57 60
58 } // namespace test 61 } // namespace test
59 } // namespace webrtc 62 } // namespace webrtc
60 63
61 #endif // WEBRTC_AUDIO_TEST_LOW_BANDWIDTH_AUDIO_TEST_H_ 64 #endif // WEBRTC_AUDIO_TEST_LOW_BANDWIDTH_AUDIO_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698