Skip to content

Commit

Permalink
fix: No longer default to Preserve Surround Channels when playing sou…
Browse files Browse the repository at this point in the history
…nds.
  • Loading branch information
alexanderson1993 committed Mar 16, 2024
1 parent 0edb5b0 commit 0232323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/classes/sound.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ export default class Sound {
this.playbackRate = params.playbackRate || 1;
this.channel = params.channel || [0, 1];
this.looping = params.looping || false;
this.preserveChannels = params.preserveChannels === false ? false : true;
this.preserveChannels = params.preserveChannels === true ? true : false;
}
}

0 comments on commit 0232323

Please sign in to comment.