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] Fix PCM format and use PipedAudioStream in sources #16111

Merged
merged 5 commits into from
Feb 4, 2024

Conversation

GiviMAD
Copy link
Member

@GiviMAD GiviMAD commented Dec 25, 2023

Hello,
I want to merge these changes related to the core PR openhab/openhab-core#3960.

It includes changes on the Speech-to-text services to advertise compatibility and handle raw PCM streams (no container header).
Also updates de pulseaudio source to use the new PipedStream class and fixes its format which should use container CONTAINER_NONE (my bad).

NOTE: I have removed the opus support from the googlestt because it's unused.

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
@GiviMAD GiviMAD requested a review from peuter as a code owner December 25, 2023 13:15
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
@lolodomo lolodomo added enhancement An enhancement or new feature for an existing add-on awaiting other PR Depends on another PR labels Dec 31, 2023
@GiviMAD
Copy link
Member Author

GiviMAD commented Jan 10, 2024

Required PR has been merged last weekend.

Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

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

Just one question

@lolodomo
Copy link
Contributor

lolodomo commented Feb 4, 2024

And a second question: you removed the support of OGG or MP3 audio formats. Is it because they were in fact not really supported ?

@lolodomo lolodomo added rebuild Triggers Jenkins PR build and removed rebuild Triggers Jenkins PR build labels Feb 4, 2024
@lolodomo
Copy link
Contributor

lolodomo commented Feb 4, 2024

Please note that the build failed.

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
@GiviMAD
Copy link
Member Author

GiviMAD commented Feb 4, 2024

And a second question: you removed the support of OGG or MP3 audio formats. Is it because they were in fact not really supported ?

The doc says OGG is supported, but as there are no sources available using that format I never tested it, so I though it was better to remove it to avoid confusion.

@GiviMAD GiviMAD requested a review from lolodomo February 4, 2024 16:04
Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

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

LGTM, thank you

@lolodomo lolodomo merged commit 6f93b03 into openhab:main Feb 4, 2024
3 checks passed
@lolodomo lolodomo added this to the 4.2 milestone Feb 4, 2024
austvik pushed a commit to austvik/openhab-addons that referenced this pull request Mar 27, 2024
…6111)

* [Audio] Fix pcm format and use PipedAudioStream
* fix rustpotter format changes

---------

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
joni1993 pushed a commit to joni1993/openhab-addons that referenced this pull request Oct 15, 2024
…6111)

* [Audio] Fix pcm format and use PipedAudioStream
* fix rustpotter format changes

---------

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants