Skip to content

Requests: Fix useDecibel response when volume is -infinity#529

Merged
Palakis merged 1 commit into
4.x-currentfrom
fix/getvolumedecibel
Jul 2, 2020
Merged

Requests: Fix useDecibel response when volume is -infinity#529
Palakis merged 1 commit into
4.x-currentfrom
fix/getvolumedecibel

Conversation

@tt2468

@tt2468 tt2468 commented May 29, 2020

Copy link
Copy Markdown
Member

When the volume in OBS is -infinity, GetVolume returns a decibel value of
either 0, or in some cases no volume property at all. This makes GetVolume
return a decibel value of -100.0 if the real volume is -infinity.

Fixes #528

When the volume in OBS is -infinity, `GetVolume` returns a decibel value of
either 0, or in some cases no `volume` property at all. This makes `GetVolume`
return a decibel value of -100.0 if the real volume is -infinity.
@tt2468 tt2468 added the patch label May 29, 2020
@tt2468 tt2468 added this to the 4.9 milestone Jun 2, 2020
@Palakis Palakis self-requested a review June 23, 2020 08:18
@Palakis Palakis merged commit 981ba7b into 4.x-current Jul 2, 2020
@tt2468 tt2468 deleted the fix/getvolumedecibel branch July 3, 2020 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] GetVolume with useDecibel returns 0 for both highest and lowest value

2 participants