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

Unified Diff: webrtc/modules/audio_coding/codecs/audio_format.cc

Issue 2669583002: Added a flag to AudioCodecSpec to indicate adaptive bitrate support. (Closed)
Patch Set: int -> size_t to avoid unsigned/signed mismatch warnings on Windows. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/codecs/audio_format.cc
diff --git a/webrtc/modules/audio_coding/codecs/audio_format.cc b/webrtc/modules/audio_coding/codecs/audio_format.cc
index 88e42c5d3f65b99c71a89ad42e49740a5b8157ec..f2a87d3d86afb4edd1d60b8f85e54981dec82a58 100644
--- a/webrtc/modules/audio_coding/codecs/audio_format.cc
+++ b/webrtc/modules/audio_coding/codecs/audio_format.cc
@@ -77,4 +77,10 @@ std::ostream& operator<<(std::ostream& os, const SdpAudioFormat& saf) {
return os;
}
+AudioCodecSpec::AudioCodecSpec(const SdpAudioFormat& format)
+ : format(format) {}
+
+AudioCodecSpec::AudioCodecSpec(SdpAudioFormat&& format)
+ : format(std::move(format)) {}
+
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698