зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1239911 - Remove unused |mAudioChannel|. r=bechen.
MozReview-Commit-ID: F10HLXyHGKk
This commit is contained in:
Родитель
a417b8b2a7
Коммит
0cff6d9802
|
@ -339,10 +339,8 @@ AudioStream::Init(uint32_t aNumChannels, uint32_t aRate,
|
|||
params.channels = mOutChannels;
|
||||
#if defined(__ANDROID__)
|
||||
#if defined(MOZ_B2G)
|
||||
mAudioChannel = aAudioChannel;
|
||||
params.stream_type = CubebUtils::ConvertChannelToCubebType(aAudioChannel);
|
||||
#else
|
||||
mAudioChannel = dom::AudioChannel::Content;
|
||||
params.stream_type = CUBEB_STREAM_TYPE_MUSIC;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -343,9 +343,6 @@ private:
|
|||
uint32_t mOutRate;
|
||||
uint32_t mChannels;
|
||||
uint32_t mOutChannels;
|
||||
#if defined(__ANDROID__)
|
||||
dom::AudioChannel mAudioChannel;
|
||||
#endif
|
||||
AudioClock mAudioClock;
|
||||
soundtouch::SoundTouch* mTimeStretcher;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче