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:
kwiberg
2016-04-22 00:12:38 -07:00
committed by Commit bot
parent dcd730f564
commit bcc6dbb6b2
2 changed files with 0 additions and 2 deletions

View File

@ -31,7 +31,6 @@ DecoderDatabase::DecoderInfo::DecoderInfo(NetEqDecoder ct,
: codec_type(ct),
name(nm),
fs_hz(fs),
rtp_sample_rate_hz(fs),
external_decoder(ext_dec) {}
DecoderDatabase::DecoderInfo::DecoderInfo(DecoderInfo&&) = default;

View File

@ -54,7 +54,6 @@ class DecoderDatabase {
const NetEqDecoder codec_type;
const std::string name;
const int fs_hz;
const int rtp_sample_rate_hz;
AudioDecoder* const external_decoder;
private: