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

Side by Side Diff: media/cast/test/utility/default_config.h

Issue 2133223003: Revert of Refactoring: Merge VideoSenderConfig and AudioSenderConfig. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « media/cast/test/simulator.cc ('k') | media/cast/test/utility/default_config.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_CAST_TEST_UTILITY_DEFAULT_CONFIG_H_ 5 #ifndef MEDIA_CAST_TEST_UTILITY_DEFAULT_CONFIG_H_
6 #define MEDIA_CAST_TEST_UTILITY_DEFAULT_CONFIG_H_ 6 #define MEDIA_CAST_TEST_UTILITY_DEFAULT_CONFIG_H_
7 7
8 #include "media/cast/cast_config.h" 8 #include "media/cast/cast_config.h"
9 9
10 namespace media { 10 namespace media {
11 namespace cast { 11 namespace cast {
12 12
13 // Returns a FrameReceiverConfig initialized to "good-to-go" values. This 13 // Returns a FrameReceiverConfig initialized to "good-to-go" values. This
14 // specifies 48 kHz, 2-channel Opus-coded audio, with standard ssrc's, payload 14 // specifies 48 kHz, 2-channel Opus-coded audio, with standard ssrc's, payload
15 // type, and a dummy name. 15 // type, and a dummy name.
16 FrameReceiverConfig GetDefaultAudioReceiverConfig(); 16 FrameReceiverConfig GetDefaultAudioReceiverConfig();
17 17
18 // Returns a FrameReceiverConfig initialized to "good-to-go" values. This 18 // Returns a FrameReceiverConfig initialized to "good-to-go" values. This
19 // specifies VP8-coded video, with standard ssrc's, payload type, and a dummy 19 // specifies VP8-coded video, with standard ssrc's, payload type, and a dummy
20 // name. 20 // name.
21 FrameReceiverConfig GetDefaultVideoReceiverConfig(); 21 FrameReceiverConfig GetDefaultVideoReceiverConfig();
22 22
23 // Returns a FrameSenderConfig initialized to default values. This means 23 // Returns a AudioSenderConfig initialized to default values. This means
24 // 48 kHz, 2-channel Opus-coded audio. Default values for SSRCs and payload 24 // 48 kHz, 2-channel Opus-coded audio. Default values for SSRCs and payload
25 // type. 25 // type.
26 FrameSenderConfig GetDefaultAudioSenderConfig(); 26 AudioSenderConfig GetDefaultAudioSenderConfig();
27 27
28 // Returns a FrameSenderConfig initialized to default values. This means 28 // Returns a VideoSenderConfig initialized to default values. This means
29 // 30 Hz VP8 coded code. Default values for SSRCs and payload type. 29 // 30 Hz VP8 coded code. Default values for SSRCs and payload type.
30 FrameSenderConfig GetDefaultVideoSenderConfig(); 30 VideoSenderConfig GetDefaultVideoSenderConfig();
31 31
32 // Returns a callback that does nothing. 32 // Returns a callback that does nothing.
33 CreateVideoEncodeAcceleratorCallback 33 CreateVideoEncodeAcceleratorCallback
34 CreateDefaultVideoEncodeAcceleratorCallback(); 34 CreateDefaultVideoEncodeAcceleratorCallback();
35 35
36 // Returns a callback that does nothing. 36 // Returns a callback that does nothing.
37 CreateVideoEncodeMemoryCallback CreateDefaultVideoEncodeMemoryCallback(); 37 CreateVideoEncodeMemoryCallback CreateDefaultVideoEncodeMemoryCallback();
38 38
39 } // namespace cast 39 } // namespace cast
40 } // namespace media 40 } // namespace media
41 41
42 #endif // MEDIA_CAST_TEST_UTILITY_DEFAULT_CONFIG_H_ 42 #endif // MEDIA_CAST_TEST_UTILITY_DEFAULT_CONFIG_H_
OLDNEW
« no previous file with comments | « media/cast/test/simulator.cc ('k') | media/cast/test/utility/default_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698