diff --git a/dom/media/AudioStream.cpp b/dom/media/AudioStream.cpp index 4acb14500b8b..ed7846a285f8 100644 --- a/dom/media/AudioStream.cpp +++ b/dom/media/AudioStream.cpp @@ -121,8 +121,6 @@ private: AudioStream::AudioStream(DataSource& aSource) : mMonitor("AudioStream") - , mInRate(0) - , mOutRate(0) , mChannels(0) , mOutChannels(0) , mTimeStretcher(nullptr) @@ -328,7 +326,6 @@ AudioStream::Init(uint32_t aNumChannels, uint32_t aRate, auto isFirst = CubebUtils::GetFirstStream(); LOG("%s channels: %d, rate: %d", __FUNCTION__, aNumChannels, aRate); - mInRate = mOutRate = aRate; mChannels = aNumChannels; mOutChannels = aNumChannels; diff --git a/dom/media/AudioStream.h b/dom/media/AudioStream.h index e0a48f63f967..ebc40c552913 100644 --- a/dom/media/AudioStream.h +++ b/dom/media/AudioStream.h @@ -279,10 +279,6 @@ private: // The monitor is held to protect all access to member variables. Monitor mMonitor; - // Input rate in Hz (characteristic of the media being played) - uint32_t mInRate; - // Output rate in Hz (characteristic of the playback rate) - uint32_t mOutRate; uint32_t mChannels; uint32_t mOutChannels; AudioClock mAudioClock;