mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 21:17:37 +03:00
Persist adjusted volume (#2997)
Co-authored-by: Deluan Quintão <deluan@navidrome.org>
This commit is contained in:
parent
4d29184998
commit
b3d70e9264
1 changed files with 1 additions and 0 deletions
|
@ -288,5 +288,6 @@ func (pd *playbackDevice) switchActiveTrackByIndex(index int) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
pd.ActiveTrack = track
|
pd.ActiveTrack = track
|
||||||
|
pd.ActiveTrack.SetVolume(pd.Gain)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue