Skip to content

Commit

Permalink
Merge pull request #442 from Mindgamesnl/feature/instant-tick-mixer
Browse files Browse the repository at this point in the history
force tick
  • Loading branch information
Mindgamesnl authored Jul 8, 2024
2 parents 64daec4 + ea60d66 commit 6f87d95
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,13 @@ export async function handleCreateMedia(data) {
if (muteRegions) {
debugLog('Incrementing region inhibit');
MediaManager.mixer.incrementInhibitor('REGION');
MediaManager.mixer.tick();
}

if (muteSpeakers) {
debugLog('Incrementing speaker inhibit');
MediaManager.mixer.incrementInhibitor('SPEAKER');
MediaManager.mixer.tick();
}

MediaManager.mixer.whenFinished(id, () => {
Expand Down

0 comments on commit 6f87d95

Please sign in to comment.