You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @ranile, thank you for the issue. I have some time coming up dedicated to this project so I will see about getting this in. Planning for some maintenance work on the repo as well as some bug fixes.
Describe the bug
Loading a track resets the volume set previously
This is almost certainly due to howl instance being recreated on
load
:useAudioPlayer/src/useGlobalAudioPlayer.ts
Lines 44 to 50 in 5268fc0
useAudioPlayer/src/HowlInstanceManager.ts
Lines 32 to 33 in 5268fc0
Reusing the same howl instance, or at least copying over the settings from current one over should resolve this
To Reproduce
With global audio player
load
a tracksetVolume
(anything other than 100%)load
another trackExpected behavior
Volume should stay
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: