moonlight-stream / moonlight-embedded

Gamestream client for embedded systems
https://github.com/moonlight-stream/moonlight-embedded/wiki
GNU General Public License v3.0
1.48k stars 323 forks source link

ALSA audio backend doesn't correctly handle surround channel mappings #827

Open cgutman opened 2 years ago

cgutman commented 2 years ago

We need to use the ALSA channel mapping API to reconfigure the audio device to match our expected channel layout. If that fails, we should reconfigure our Opus mapping to match what the audio device expects.