Delete a few unused methods on DecoderDatabase

Bug: none
Change-Id: Ic0a20036b92e0f1d088bae88724a777eca93760d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/262763
Reviewed-by: Minyue Li <minyue@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36924}
This commit is contained in:
Niels Möller
2022-05-17 13:41:52 +02:00
committed by WebRTC LUCI CQ
parent 0ac50b9dfd
commit 304b78d3d9
4 changed files with 0 additions and 30 deletions

View File

@ -130,11 +130,6 @@ class DecoderDatabase {
// Returns the number of decoders registered in the database.
virtual int Size() const;
// Resets the database, erasing all registered payload types, and deleting
// any AudioDecoder objects that were not externally created and inserted
// using InsertExternal().
virtual void Reset();
// Replaces the existing set of decoders with the given set. Returns the
// payload types that were reassigned or removed while doing so.
virtual std::vector<int> SetCodecs(
@ -182,12 +177,6 @@ class DecoderDatabase {
// object does not exist for that decoder, the object is created.
AudioDecoder* GetDecoder(uint8_t rtp_payload_type) const;
// Returns if `rtp_payload_type` is registered with a format named `name`.
bool IsType(uint8_t rtp_payload_type, const char* name) const;
// Returns if `rtp_payload_type` is registered with a format named `name`.
bool IsType(uint8_t rtp_payload_type, const std::string& name) const;
// Returns true if `rtp_payload_type` is registered as comfort noise.
bool IsComfortNoise(uint8_t rtp_payload_type) const;