DecoderDatabase::DecoderInfo: Remove unused member variable rtp_sample_rate_hz
The fs_hz member variable is going away too, being replaced by a method in the AudioDecoder interface. If we ever end up needing the RTP sample rate here, a method ought to be the right solution for that too. BUG=webrtc:5801 Review URL: https://codereview.webrtc.org/1907183002 Cr-Commit-Position: refs/heads/master@{#12462}
This commit is contained in:
@ -31,7 +31,6 @@ DecoderDatabase::DecoderInfo::DecoderInfo(NetEqDecoder ct,
|
|||||||
: codec_type(ct),
|
: codec_type(ct),
|
||||||
name(nm),
|
name(nm),
|
||||||
fs_hz(fs),
|
fs_hz(fs),
|
||||||
rtp_sample_rate_hz(fs),
|
|
||||||
external_decoder(ext_dec) {}
|
external_decoder(ext_dec) {}
|
||||||
|
|
||||||
DecoderDatabase::DecoderInfo::DecoderInfo(DecoderInfo&&) = default;
|
DecoderDatabase::DecoderInfo::DecoderInfo(DecoderInfo&&) = default;
|
||||||
|
|||||||
@ -54,7 +54,6 @@ class DecoderDatabase {
|
|||||||
const NetEqDecoder codec_type;
|
const NetEqDecoder codec_type;
|
||||||
const std::string name;
|
const std::string name;
|
||||||
const int fs_hz;
|
const int fs_hz;
|
||||||
const int rtp_sample_rate_hz;
|
|
||||||
AudioDecoder* const external_decoder;
|
AudioDecoder* const external_decoder;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
Reference in New Issue
Block a user