Chromium Code Reviews

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

Issue 2072753002: WebRtcVoiceEngine: Use AudioDecoderFactory to generate recv codecs. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/modules/audio_coding/codecs/audio_format.h
diff --git a/webrtc/modules/audio_coding/codecs/audio_format.h b/webrtc/modules/audio_coding/codecs/audio_format.h
index 61c0dd9f6fa127c32c3fd075c71c10b993419ff9..09075e49acba9b378af2aa47bc993cd9fc9181a2 100644
--- a/webrtc/modules/audio_coding/codecs/audio_format.h
+++ b/webrtc/modules/audio_coding/codecs/audio_format.h
@@ -37,6 +37,7 @@ struct SdpAudioFormat {
SdpAudioFormat& operator=(const SdpAudioFormat&);
SdpAudioFormat& operator=(SdpAudioFormat&&);
+ bool operator<(const SdpAudioFormat& b) const;
ossu 2016/06/16 16:21:24 So we can put them in a map/set.
ivoc 2016/07/06 15:24:51 Do they need to be sorted? If not, how about unord
ossu 2016/07/06 16:23:25 For unordered_map, we'd need to define a hasher in
ivoc 2016/07/08 12:50:32 Oh right, I didn't realize that, I guess I learned
std::string name;
int clockrate_hz;

Powered by Google App Engine