mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1179484 - Pass in the right graph when created the DOMMediaStream. r=roc
This commit is contained in:
parent
4409c364c1
commit
dabdd53e8b
@ -28,7 +28,10 @@ MediaStreamAudioDestinationNode::MediaStreamAudioDestinationNode(AudioContext* a
|
||||
2,
|
||||
ChannelCountMode::Explicit,
|
||||
ChannelInterpretation::Speakers)
|
||||
, mDOMStream(DOMAudioNodeMediaStream::CreateTrackUnionStream(GetOwner(), this))
|
||||
, mDOMStream(
|
||||
DOMAudioNodeMediaStream::CreateTrackUnionStream(GetOwner(),
|
||||
this,
|
||||
aContext->Graph()))
|
||||
{
|
||||
// Ensure an audio track with the correct ID is exposed to JS
|
||||
mDOMStream->CreateDOMTrack(AudioNodeStream::AUDIO_TRACK, MediaSegment::AUDIO);
|
||||
|
Loading…
Reference in New Issue
Block a user