Fixed issue #32

This commit is contained in:
jojo61 2020-03-02 16:11:33 +01:00
parent b1a642e64a
commit 3d23288bdc
1 changed files with 4 additions and 4 deletions

View File

@ -3459,11 +3459,11 @@ bool cPluginSoftHdDevice::SetupParse(const char *name, const char *value)
return true;
}
if (!strcasecmp(name, "AudioPassthrough")) {
int i;
int ii;
i = atoi(value);
AudioPassthroughState = i > 0;
ConfigAudioPassthrough = abs(i);
ii = atoi(value);
AudioPassthroughState = ii > 0;
ConfigAudioPassthrough = abs(ii);
if (AudioPassthroughState) {
CodecSetAudioPassthrough(ConfigAudioPassthrough);
} else {