Skip to content

Fixed audio channels when streaming 5.1 surround. - #50

Merged
GuiDev1994 merged 1 commit into
GuiDev1994:mainfrom
danbrun:surround-sound-channel-swap
Jul 20, 2026
Merged

Fixed audio channels when streaming 5.1 surround.#50
GuiDev1994 merged 1 commit into
GuiDev1994:mainfrom
danbrun:surround-sound-channel-swap

Conversation

@danbrun

@danbrun danbrun commented Jul 19, 2026

Copy link
Copy Markdown

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!

@GuiDev1994 GuiDev1994 mentioned this pull request Jul 19, 2026
4 tasks
@GuiDev1994
GuiDev1994 merged commit e38649a into GuiDev1994:main Jul 20, 2026
GuiDev1994 added a commit that referenced this pull request Jul 20, 2026
Integrates community PRs #41#50 and Aurora 1.1.4 fixes.

Credits: @KrisEnigma (#41#49), @danbrun (#50).

@GuiDev1994 GuiDev1994 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Approved and included in #51 (Release v1.1.4).

@GuiDev1994

Copy link
Copy Markdown
Owner

Included in Aurora v1.1.4 via #.

Thank you @danbrun — credited in the README Contributors section and preserved in git history on main.

@prytoss

prytoss commented Jul 21, 2026

Copy link
Copy Markdown

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.

@GuiDev1994

Copy link
Copy Markdown
Owner

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.

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>
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.

3 participants