Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio parsing : Fix byte / bit confusion #4116

Merged
merged 1 commit into from Mar 1, 2024

Conversation

dalgwen
Copy link
Contributor

@dalgwen dalgwen commented Feb 28, 2024

Fix two errors for calculating bitrate and duration of sound.

In AudioSinkUtilsImpl : confusion between byte / bit
In AudioWaveUtils : confusion between byte / bit AND with the definition of framesize (framesize already includes number of channels)

Fix two errors for calculating bitrate and duration of sound.
In AudioSinkUtilsImpl : confusion between byte / bite
In AudioWaveUtils : confusion between byte / bite AND with the defintion of framesize (framesize already includes channels number)

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
@dalgwen dalgwen requested a review from a team as a code owner February 28, 2024 00:29
@wborn wborn added the bug An unexpected problem or unintended behavior of the Core label Mar 1, 2024
Copy link
Member

@wborn wborn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@wborn wborn merged commit 06ee46d into openhab:main Mar 1, 2024
3 checks passed
@jlaur
Copy link
Contributor

jlaur commented Mar 2, 2024

@openhab/core-maintainers - can you add the "4.2" milestone?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of the Core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants