mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1277198
. Part 3 - remove AudioStream::mInRate/mOutRate. r=kinetik.
MozReview-Commit-ID: KTiyzO8VEZh --HG-- extra : rebase_source : 49589d5bd8ea1b2575caaf608569c64fab307c5b
This commit is contained in:
parent
510020f774
commit
ed7bec1506
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user