Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

No Audio on host when audio output bitrate is anything other than 48000hz

Open ssesik opened this issue 3 years ago • 6 comments

Describe the Bug

No audio on host when audio device is set to output any bitrate other than 48khz.

Expected Behavior

Audio works across different bitrates. (maybe detect and downsample bitrate?)

Additional Context

only tested with Play audio on PC option enabled in moonlight client.

Sunshine Host Operating System and Version

Windows 10

Architecture

64bit x86

Sunshine Version

0.14.0

GPU Type

AMD

GPU Model

RX 470

GPU Driver/Mesa Version

22.5.1

Capture Method (Linux Only)

No response

ssesik avatar Jun 30 '22 13:06 ssesik

maybe related? https://github.com/loki-47-6F-64/sunshine/issues/242

ssesik avatar Jun 30 '22 13:06 ssesik

I’m getting no sound even after changing from 48khz I have a rx 5500 running windows 11

lateforwork1000 avatar Jul 02 '22 03:07 lateforwork1000

Just ran into this exact problem. If the chosen audio_sink (system default or otherwise) is set to have a Default Format of 44.1 kHz (and probably others) Sunshine will not pass audio and prints the messages Error: Couldn't find supported format for audio and Error: Couldn't create audio input. Changing the Default Format of the device to 48 kHz allows audio to work and makes the messages disappear.

RussellAult avatar Aug 04 '22 23:08 RussellAult

This issue is stale because it has been open for 90 days with no activity. Comment or remove the stale label, otherwise this will be closed in 10 days.

LizardByte-bot avatar Nov 03 '22 00:11 LizardByte-bot

This issue was closed because it has been stalled for 10 days with no activity.

LizardByte-bot avatar Nov 14 '22 00:11 LizardByte-bot

This issue has been fixed and will be available in the next release.

LizardByte-bot avatar Dec 28 '22 13:12 LizardByte-bot