зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1190676 - Part 10 - Fix consumers: AudioDestinationNode. r=karlt
--HG-- extra : rebase_source : 6cbad24c90bb83b1ee44a299f8eadd8eabff53cf
This commit is contained in:
Родитель
1d89543d08
Коммит
8eb4594e21
|
@ -320,10 +320,9 @@ AudioDestinationNode::AudioDestinationNode(AudioContext* aContext,
|
||||||
, mExtraCurrentTimeUpdatedSinceLastStableState(false)
|
, mExtraCurrentTimeUpdatedSinceLastStableState(false)
|
||||||
, mCaptured(false)
|
, mCaptured(false)
|
||||||
{
|
{
|
||||||
bool startWithAudioDriver = true;
|
|
||||||
MediaStreamGraph* graph = aIsOffline ?
|
MediaStreamGraph* graph = aIsOffline ?
|
||||||
MediaStreamGraph::CreateNonRealtimeInstance(aSampleRate) :
|
MediaStreamGraph::CreateNonRealtimeInstance(aSampleRate) :
|
||||||
MediaStreamGraph::GetInstance(startWithAudioDriver, aChannel);
|
MediaStreamGraph::GetInstance(MediaStreamGraph::AUDIO_THREAD_DRIVER, aChannel);
|
||||||
AudioNodeEngine* engine = aIsOffline ?
|
AudioNodeEngine* engine = aIsOffline ?
|
||||||
new OfflineDestinationNodeEngine(this, aNumberOfChannels,
|
new OfflineDestinationNodeEngine(this, aNumberOfChannels,
|
||||||
aLength, aSampleRate) :
|
aLength, aSampleRate) :
|
||||||
|
|
Загрузка…
Ссылка в новой задаче