Ensure we set the initial volume of tracks correctly
This commit is contained in:
parent
8aa5dce35b
commit
a9a0b0801d
1 changed files with 1 additions and 0 deletions
|
@ -451,6 +451,7 @@ export const load = (
|
||||||
throw new DOMException("abort load", "AbortError");
|
throw new DOMException("abort load", "AbortError");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wavesurfer.setVolume(getState().mixer.players[player].gain);
|
||||||
wavesurfers[player] = wavesurfer;
|
wavesurfers[player] = wavesurfer;
|
||||||
delete loadAbortControllers[player];
|
delete loadAbortControllers[player];
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Reference in a new issue