Skip to content

Commit

Permalink
Persist adjusted volume (#2997)
Browse files Browse the repository at this point in the history
Co-authored-by: Deluan Quint茫o <deluan@navidrome.org>
  • Loading branch information
ms140569 and deluan committed May 7, 2024
1 parent 4d29184 commit b3d70e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/playback/device.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,5 +288,6 @@ func (pd *playbackDevice) switchActiveTrackByIndex(index int) error {
return err
}
pd.ActiveTrack = track
pd.ActiveTrack.SetVolume(pd.Gain)
return nil
}

0 comments on commit b3d70e9

Please sign in to comment.