diff options
author | Mary <mary@mary.zone> | 2023-05-13 09:15:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-13 07:15:16 +0000 |
commit | 880fd3cfcb1c394b06bdb4cd3433e23379b4fbe7 (patch) | |
tree | b88542f5b7711634554670fd6159f2f80529d5b9 /src/Ryujinx.Audio/Renderer/Device/VirtualDevice.cs | |
parent | f679f25e084b7196f1eabd6a0e9ea60bca679a75 (diff) |
audio: sdl2: Do not report 5.1 if the device doesn't support it (#4908)1.1.797
* amadeus: adjust VirtualDevice channel configuration reporting with HardwareDevice
* audio: sdl2: Do not report 5.1 if device doesn't support it
SDL2 5.1 to Stereo conversion is terrible and make everything sound
quiet.
Let's not expose 5.1 if not truly supported by the device.
Diffstat (limited to 'src/Ryujinx.Audio/Renderer/Device/VirtualDevice.cs')
-rw-r--r-- | src/Ryujinx.Audio/Renderer/Device/VirtualDevice.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ryujinx.Audio/Renderer/Device/VirtualDevice.cs b/src/Ryujinx.Audio/Renderer/Device/VirtualDevice.cs index 2fa030a8..90692b00 100644 --- a/src/Ryujinx.Audio/Renderer/Device/VirtualDevice.cs +++ b/src/Ryujinx.Audio/Renderer/Device/VirtualDevice.cs @@ -45,7 +45,7 @@ namespace Ryujinx.Audio.Renderer.Device /// <param name="name">The name of the <see cref="VirtualDevice"/>.</param> /// <param name="channelCount">The count of channels supported by the <see cref="VirtualDevice"/>.</param> /// <param name="isExternalOutput">Indicate if the <see cref="VirtualDevice"/> is provided by an external interface.</param> - private VirtualDevice(string name, uint channelCount, bool isExternalOutput) + public VirtualDevice(string name, uint channelCount, bool isExternalOutput) { Name = name; ChannelCount = channelCount; |