Skip to content

Commit

Permalink
Update parseConfig.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mifi authored Oct 10, 2022
1 parent 1fc04be commit 68ec9f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parseConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ async function parseConfig({ defaults: defaultsIn = {}, clips, arbitraryAudio: a
// Audio can either come from `audioFilePath`, `audio` or from "detached" audio layers from clips
const arbitraryAudio = [
// Background audio is treated just like arbitrary audio
...(backgroundAudioPath ? [{ path: backgroundAudioPath, mixVolume: backgroundAudioVolume || 1, loop: loopAudio ? -1 : 0 }] : []),
...(backgroundAudioPath ? [{ path: backgroundAudioPath, mixVolume: backgroundAudioVolume != null ? backgroundAudioVolume : 1, loop: loopAudio ? -1 : 0 }] : []),
...arbitraryAudioIn,
...clipDetachedAudio,
];
Expand Down

0 comments on commit 68ec9f8

Please sign in to comment.