Fixed audio channels when streaming 5.1 surround. - #50
Merged
Conversation
GuiDev1994
approved these changes
Jul 20, 2026
GuiDev1994
left a comment
Owner
There was a problem hiding this comment.
Approved and included in #51 (Release v1.1.4).
Owner
|
Included in Aurora v1.1.4 via #. Thank you @danbrun — credited in the README Contributors section and preserved in git history on |
|
I'm using Apollo on host and Aurora on LG C3, channels are mixed up. Everything is fine on 1.1.3, please revert the changes or make it as an option. |
Owner
Included as an option on version 1.1.7 |
dyptan-io
pushed a commit
to dyptan-io/aurora-tv
that referenced
this pull request
Jul 22, 2026
Only remap Opus 5.1 to NDL order when the host did not already send webOS layout via surround_params, fixing Apollo regressions from GuiDev1994#50. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
While trying out 5.1 surround sound streaming, I noticed that the audio was coming out of the wrong speakers with Aurora on my LG C5, but Moonlight QT on my laptop did not have this issue. It seems like the Moonlight library configures channels in the order used by the SDL library which other clients use, but this client interfaces skips SDL and the hardware decoders expect a different channel order. This change remaps the SDL channel order to the hardware decoder order so audio plays from the correct speakers. With this change, 5.1 surround sound is working flawlessly in my testing!