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

Side by Side Diff: webrtc/modules/audio_coding/audio_network_adaptor/include/audio_network_adaptor.h

Issue 3011943002: Move optional.h to webrtc/api/ (Closed)
Patch Set: 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) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_INCLUDE_AUDIO_NETWORK_ ADAPTOR_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_INCLUDE_AUDIO_NETWORK_ ADAPTOR_H_
12 #define WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_INCLUDE_AUDIO_NETWORK_ ADAPTOR_H_ 12 #define WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_INCLUDE_AUDIO_NETWORK_ ADAPTOR_H_
13 13
14 #include "webrtc/rtc_base/optional.h" 14 #include "webrtc/api/optional.h"
15 15
16 namespace webrtc { 16 namespace webrtc {
17 17
18 struct AudioEncoderRuntimeConfig { 18 struct AudioEncoderRuntimeConfig {
19 AudioEncoderRuntimeConfig(); 19 AudioEncoderRuntimeConfig();
20 AudioEncoderRuntimeConfig(const AudioEncoderRuntimeConfig& other); 20 AudioEncoderRuntimeConfig(const AudioEncoderRuntimeConfig& other);
21 ~AudioEncoderRuntimeConfig(); 21 ~AudioEncoderRuntimeConfig();
22 rtc::Optional<int> bitrate_bps; 22 rtc::Optional<int> bitrate_bps;
23 rtc::Optional<int> frame_length_ms; 23 rtc::Optional<int> frame_length_ms;
24 // Note: This is what we tell the encoder. It doesn't have to reflect 24 // Note: This is what we tell the encoder. It doesn't have to reflect
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 virtual AudioEncoderRuntimeConfig GetEncoderRuntimeConfig() = 0; 58 virtual AudioEncoderRuntimeConfig GetEncoderRuntimeConfig() = 0;
59 59
60 virtual void StartDebugDump(FILE* file_handle) = 0; 60 virtual void StartDebugDump(FILE* file_handle) = 0;
61 61
62 virtual void StopDebugDump() = 0; 62 virtual void StopDebugDump() = 0;
63 }; 63 };
64 64
65 } // namespace webrtc 65 } // namespace webrtc
66 66
67 #endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_INCLUDE_AUDIO_NETWO RK_ADAPTOR_H_ 67 #endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_INCLUDE_AUDIO_NETWO RK_ADAPTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698