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:
ossu
2016-08-18 02:01:17 -07:00
committed by Commit bot
parent 235020dba6
commit d4e9f62ea7
5 changed files with 36 additions and 32 deletions

View File

@ -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_