Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

Cracking sound issue 24 bits / 16 bits

Open massej opened this issue 7 months ago • 0 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Is your issue described in the documentation?

  • [x] I have read the documentation

Is your issue present in the latest beta/pre-release?

None

Describe the Bug

Hi,

I recently updated Sunshine (May 31th version) and my audio is cracking everytime I start a game in moonlight.

I noticed that the output device is switching to 24 bits sound everytime i start a game but moonlight on my TV is using 16 bits LCPM as output.

To fix the issue I simply switch the output device to 16 bits 48000 and I have no more cracking sound.

Is it possible to have the choice in Sunshine GUI to force to use 16 bits audio? (Other than switching the default device to 16 bits?)

Expected Behavior

Have a settings in the GUI

Additional Context

No response

Host Operating System

Docker

Operating System Version

Windows 11 24h2

Architecture

amd64/x86_64

Sunshine commit or version

v2025.531.135549

Package

Windows - installer (recommended)

GPU Type

AMD

GPU Model

GeForce 5070 Ti

GPU Driver/Mesa Version

32.0.15.7652

Capture Method

None

Config

gamepad = x360
motion_as_ds4 = disabled
touchpad_as_ds4 = disabled

Apps


Relevant log output

[2025-06-04 14:00:55.757]: Info: CLIENT CONNECTED
[2025-06-04 14:00:56.149]: Info: Virtual audio device will use 24-bit to match default device
[2025-06-04 14:00:56.171]: Info: Changed virtual audio sink format to [S24 48000 5.1]
[2025-06-04 14:00:56.383]: Info: Audio mixer format is 32-bit, 48000 Hz, no resampling needed
[2025-06-04 14:00:56.386]: Info: Audio capture format is [F32 48000 5.1]
[2025-06-04 14:00:56.387]: Info: Opus initialized: 48 kHz, 6 channels, 1536 kbps (total), LOWDELAY

massej avatar Jun 04 '25 18:06 massej