feat: added ReplayGain functionality in main flavor
This commit is contained in:
1 parent
47302815c1
commit
9e6178037c
1 file changed
+4
@@ -242,6 +242,10 @@ class MediaService : MediaLibraryService(), SessionAvailabilityListener {
|
||||
}
|
||||
}
|
||||
|
||||
override fun onTracksChanged(tracks: Tracks) {
|
||||
ReplayGainUtil.setReplayGain(player, tracks)
|
||||
}
|
||||
|
||||
override fun onIsPlayingChanged(isPlaying: Boolean) {
|
||||
if (!isPlaying) {
|
||||
MediaManager.setPlayingPausedTimestamp(
|
||||
|
||||
Reference in new issue
Block a user