| 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 7ad7edd4293df8ec6cce49081f626303ff0aefc7..61c0dd9f6fa127c32c3fd075c71c10b993419ff9 100644
|
| --- a/webrtc/modules/audio_coding/codecs/audio_format.h
|
| +++ b/webrtc/modules/audio_coding/codecs/audio_format.h
|
| @@ -21,18 +21,23 @@ namespace webrtc {
|
| // SDP specification for a single audio codec.
|
| // NOTE: This class is still under development and may change without notice.
|
| struct SdpAudioFormat {
|
| + using Parameters = std::map<std::string, std::string>;
|
| +
|
| // TODO(kwiberg): Get rid of the default constructor when rtc::Optional no
|
| // longer requires it.
|
| SdpAudioFormat();
|
| SdpAudioFormat(const SdpAudioFormat&);
|
| SdpAudioFormat(SdpAudioFormat&&);
|
| SdpAudioFormat(const char* name, int clockrate_hz, int num_channels);
|
| + SdpAudioFormat(const char* name,
|
| + int clockrate_hz,
|
| + int num_channels,
|
| + Parameters&& param);
|
| ~SdpAudioFormat();
|
|
|
| SdpAudioFormat& operator=(const SdpAudioFormat&);
|
| SdpAudioFormat& operator=(SdpAudioFormat&&);
|
|
|
| - using Parameters = std::map<std::string, std::string>;
|
| std::string name;
|
| int clockrate_hz;
|
| int num_channels;
|
|
|