зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1351586 - AudioSink constructor should take a const reference instead of value of TimeUnit. r=kaku
MozReview-Commit-ID: F95iIsVealk --HG-- extra : rebase_source : 35eec737a2f4a8f94020536a337e90ccb7e82542 extra : source : fbd5a87403a3a80ff50685988289589bbf6c913c
This commit is contained in:
Родитель
fca0f47212
Коммит
621abf8866
|
@ -33,7 +33,7 @@ static const int32_t LOW_AUDIO_USECS = 300000;
|
|||
|
||||
AudioSink::AudioSink(AbstractThread* aThread,
|
||||
MediaQueue<AudioData>& aAudioQueue,
|
||||
TimeUnit aStartTime,
|
||||
const TimeUnit& aStartTime,
|
||||
const AudioInfo& aInfo,
|
||||
dom::AudioChannel aChannel)
|
||||
: mStartTime(aStartTime)
|
||||
|
|
|
@ -32,7 +32,7 @@ class AudioSink : private AudioStream::DataSource {
|
|||
public:
|
||||
AudioSink(AbstractThread* aThread,
|
||||
MediaQueue<AudioData>& aAudioQueue,
|
||||
TimeUnit aStartTime,
|
||||
const TimeUnit& aStartTime,
|
||||
const AudioInfo& aInfo,
|
||||
dom::AudioChannel aChannel);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче