mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 853076 - Initialized the chunk to be empty before getting audio frames. r=ehsan
--HG-- extra : rebase_source : 06845291a1d86aac4adbde1163196f5de61289e9
This commit is contained in:
parent
ab8a1a4020
commit
a27b25c611
@ -255,6 +255,8 @@ AudioNodeStream::ProduceOutput(GraphTime aFrom, GraphTime aTo)
|
||||
AudioChunk outputChunk;
|
||||
AudioSegment* segment = track->Get<AudioSegment>();
|
||||
|
||||
outputChunk.SetNull(0);
|
||||
|
||||
if (mInCycle) {
|
||||
// XXX DelayNode not supported yet so just produce silence
|
||||
outputChunk.SetNull(WEBAUDIO_BLOCK_SIZE);
|
||||
|
Loading…
Reference in New Issue
Block a user