Bug 1277198. Part 3 - remove AudioStream::mInRate/mOutRate. r=kinetik.

MozReview-Commit-ID: KTiyzO8VEZh

--HG--
extra : rebase_source : 49589d5bd8ea1b2575caaf608569c64fab307c5b
This commit is contained in:
JW Wang 2016-06-01 18:00:15 +08:00
parent 510020f774
commit ed7bec1506
2 changed files with 0 additions and 7 deletions

View File

@ -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;

View File

@ -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;