Chromium Code Reviews

Unified Diff: webrtc/api/audio_codecs/audio_format.h

Issue 2936533003: Implement operator<< for AudioCodecInfo and AudioCodecSpec (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « no previous file | webrtc/api/audio_codecs/audio_format.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/audio_codecs/audio_format.h
diff --git a/webrtc/api/audio_codecs/audio_format.h b/webrtc/api/audio_codecs/audio_format.h
index d8e33426b67c5551852c5c429ae45c676cda2f10..e8e5774e753a0edb903557c70115e965a97779d7 100644
--- a/webrtc/api/audio_codecs/audio_format.h
+++ b/webrtc/api/audio_codecs/audio_format.h
@@ -120,6 +120,8 @@ struct AudioCodecInfo {
// network conditions.
};
+std::ostream& operator<<(std::ostream& os, const AudioCodecInfo& aci);
+
// AudioCodecSpec ties an audio format to specific information about the codec
// and its implementation.
struct AudioCodecSpec {
@@ -133,6 +135,8 @@ struct AudioCodecSpec {
AudioCodecInfo info;
};
+std::ostream& operator<<(std::ostream& os, const AudioCodecSpec& acs);
+
} // namespace webrtc
#endif // WEBRTC_API_AUDIO_CODECS_AUDIO_FORMAT_H_
« no previous file with comments | « no previous file | webrtc/api/audio_codecs/audio_format.cc » ('j') | no next file with comments »

Powered by Google App Engine