Updated AudioDecoderFactory to list AudioCodecSpecs instead of SdpAudioFormats.
BUG=webrtc:5805 Review-Url: https://codereview.webrtc.org/2123923004 Cr-Commit-Position: refs/heads/master@{#13810}
This commit is contained in:
@ -39,12 +39,17 @@ struct SdpAudioFormat {
|
||||
int clockrate_hz;
|
||||
int num_channels;
|
||||
Parameters parameters;
|
||||
// Parameters feedback_parameters; ??
|
||||
};
|
||||
|
||||
void swap(SdpAudioFormat& a, SdpAudioFormat& b);
|
||||
std::ostream& operator<<(std::ostream& os, const SdpAudioFormat& saf);
|
||||
|
||||
struct AudioCodecSpec {
|
||||
SdpAudioFormat format;
|
||||
bool allow_comfort_noise; // This encoder can be used with an external
|
||||
// comfort noise generator.
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_AUDIO_FORMAT_H_
|
||||
|
||||
Reference in New Issue
Block a user