diff --git a/dom/media/AudioStream.cpp b/dom/media/AudioStream.cpp index ce6fb2f3bc8d..dcabdb877c36 100644 --- a/dom/media/AudioStream.cpp +++ b/dom/media/AudioStream.cpp @@ -350,6 +350,7 @@ AudioStream::Init(uint32_t aNumChannels, uint32_t aChannelMap, uint32_t aRate) params.channels = mOutChannels; params.layout = CubebUtils::ConvertChannelMapToCubebLayout(aChannelMap); params.format = ToCubebFormat::value; + params.prefs = CUBEB_STREAM_PREF_NONE; mAudioClock.Init(aRate); diff --git a/dom/media/GraphDriver.cpp b/dom/media/GraphDriver.cpp index f37568e21816..f39f51913c04 100644 --- a/dom/media/GraphDriver.cpp +++ b/dom/media/GraphDriver.cpp @@ -627,6 +627,7 @@ AudioCallbackDriver::Init() output.channels = mOutputChannels; output.layout = CubebUtils::GetPreferredChannelLayoutOrSMPTE(cubebContext, mOutputChannels); + output.prefs = CUBEB_STREAM_PREF_NONE; Maybe latencyPref = CubebUtils::GetCubebMSGLatencyInFrames(); if (latencyPref) {