Fixed volume level (with linearize) after changing the play mode.

This commit is contained in:
jojo61 2021-03-21 14:20:24 +01:00
parent a4fe3aa31c
commit 8c89787269
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ extern void ToggleLUT();
/// vdr-plugin version number. /// vdr-plugin version number.
/// Makefile extracts the version number for generating the file name /// Makefile extracts the version number for generating the file name
/// for the distribution archive. /// for the distribution archive.
static const char *const VERSION = "3.4.1" static const char *const VERSION = "3.4.2"
#ifdef GIT_REV #ifdef GIT_REV
"-GIT" GIT_REV "-GIT" GIT_REV
#endif #endif
@ -2645,7 +2645,7 @@ bool cSoftHdDevice::SetPlayMode(ePlayMode play_mode)
Resume(); Resume();
SuspendMode = NOT_SUSPENDED; SuspendMode = NOT_SUSPENDED;
} }
SetVolume(cDevice::CurrentVolume(), true);
return::SetPlayMode(play_mode); return::SetPlayMode(play_mode);
} }