Audio codec factories: Implementations return null on unsupported formats
Bug: none Change-Id: I2db106b00b108b7f1682082bb1d58ef7a48569f9 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/182682 Reviewed-by: Alejandro Luebs <aluebs@webrtc.org> Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32002}
This commit is contained in:
@ -38,6 +38,8 @@ class AudioDecoderFactory : public rtc::RefCountInterface {
|
|||||||
// communication between the AudioEncoder and AudioDecoder instances, which is
|
// communication between the AudioEncoder and AudioDecoder instances, which is
|
||||||
// needed for some codecs with built-in bandwidth adaptation.)
|
// needed for some codecs with built-in bandwidth adaptation.)
|
||||||
//
|
//
|
||||||
|
// Returns null if the format isn't supported.
|
||||||
|
//
|
||||||
// Note: Implementations need to be robust against combinations other than
|
// Note: Implementations need to be robust against combinations other than
|
||||||
// one encoder, one decoder getting the same ID; such decoders must still
|
// one encoder, one decoder getting the same ID; such decoders must still
|
||||||
// work.
|
// work.
|
||||||
|
|||||||
@ -44,6 +44,8 @@ class AudioEncoderFactory : public rtc::RefCountInterface {
|
|||||||
// communication between the AudioEncoder and AudioDecoder instances, which is
|
// communication between the AudioEncoder and AudioDecoder instances, which is
|
||||||
// needed for some codecs with built-in bandwidth adaptation.)
|
// needed for some codecs with built-in bandwidth adaptation.)
|
||||||
//
|
//
|
||||||
|
// Returns null if the format isn't supported.
|
||||||
|
//
|
||||||
// Note: Implementations need to be robust against combinations other than
|
// Note: Implementations need to be robust against combinations other than
|
||||||
// one encoder, one decoder getting the same ID; such encoders must still
|
// one encoder, one decoder getting the same ID; such encoders must still
|
||||||
// work.
|
// work.
|
||||||
|
|||||||
Reference in New Issue
Block a user