-
-
Notifications
You must be signed in to change notification settings - Fork 428
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] Add piped audio stream and fix raw PCM streams format #3960
Conversation
8b667c4
to
33b9703
Compare
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
df76007
to
190fd7a
Compare
I have rebased the PR to remove a comment change that has been already fixed at main and was not related. |
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good to me, I've added mainly some JavaDoc improvements.
bundles/org.openhab.core.audio/src/main/java/org/openhab/core/audio/AudioFormat.java
Show resolved
Hide resolved
bundles/org.openhab.core.audio/src/main/java/org/openhab/core/audio/PipedAudioStream.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.core.audio/src/main/java/org/openhab/core/audio/PipedAudioStream.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.core.audio/src/main/java/org/openhab/core/audio/PipedAudioStream.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.core.audio/src/main/java/org/openhab/core/audio/PipedAudioStream.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.core.audio/src/main/java/org/openhab/core/audio/PipedAudioStream.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.core.audio/src/main/java/org/openhab/core/audio/PipedAudioStream.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.core.audio/src/main/java/org/openhab/core/audio/PipedAudioStream.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.core.audio/src/main/java/org/openhab/core/audio/PipedAudioStream.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.core.audio/src/main/java/org/openhab/core/audio/PipedAudioStream.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
I have added a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks!
…b#3960) * [Audio] Add piped audio stream and fix pcm format usage Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
Hello,
I want to add a new audio stream implementation to send infinite audio streams and multiplex its data to the different consumers. At the same time I discovered I had committed an error across all the source implementations which is create its format using the CONTAINER_WAV while those streams are raw pcm streams and should use the CONTAINER_NONE instead (I don't think it needs to be treated as a bug and back-ported because I was consistent with the error and it has no effect on the 4.1.x code).
I'm going to open a PR in the add-ons to adapt them to these changes.
The use cases for the new stream type are: