Skip to content

Surround Sound does not work for me with default asoundrc #108

Open

Description

@ThunderClapLP

Hi, thanks for the great work!
I have an USB Surround dongle that I use in LibreELEC and it works great in Kodi. But in moonlight-qt only the front left and right speakers make any sound if I select Surround 5.1 in the settings. It also sometimes crashes if I select Surround 5.1 when I try to start the stream.

I am running LibreELEC 12.2.1 on my RaspberryPi and I do have the audio device selected in Kodi. So I don't use the default device.

This is the asoundrc it generates at launch:

pcm.!default "sysdefault:CARD=ICUSBAUDIO7D"

# Re-mapping 5.1 channels for Moonlight-qt
pcm.!surround51 {
  type route
  slave.pcm "sysdefault:CARD=ICUSBAUDIO7D"
  ttable {
    0.0= 1
    1.1= 1
    2.4= 1
    3.5= 1
    4.3= 1
    5.2= 1
  }
}

# Re-mapping 7.1 channels for Moonlight-qt
pcm.!surround71 {
  type route
  slave.pcm "sysdefault:CARD=ICUSBAUDIO7D"
  ttable {
    0.0= 1
    1.1= 1
    2.4= 1
    3.5= 1
    4.3= 1
    5.2= 1
    6.6= 1
    7.7= 1
  }

I beleave the issue is that it tries to use sysdefault here. I tested it seperately and can confirm that it reports as two channels.

As a workaround I use the asoundrc from @DeViLRuNNeR-dev moonlight-stream/moonlight-qt#1041 (comment) and that works great.

Activity

  1. changed the title [-]Surround Sound does not work with default asoundrc[/-] [+]Surround Sound does not work for me with default asoundrc[/+] on Sep 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions