Просмотр исходного кода

amadeus: Fix PCMFloat datasource command v1 (#3127)

Really simple copy pasta error here.

Shouldn't affect anything as float support was added at the same REV as
datasource command v2.
Mary 4 лет назад
Родитель
Сommit
741db8e43d

+ 1 - 1
Ryujinx.Audio/Renderer/Dsp/Command/PcmFloatDataSourceCommandVersion1.cs

@@ -76,7 +76,7 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
             DataSourceHelper.WaveBufferInformation info = new DataSourceHelper.WaveBufferInformation
             {
                 SourceSampleRate = SampleRate,
-                SampleFormat = SampleFormat.PcmInt16,
+                SampleFormat = SampleFormat.PcmFloat,
                 Pitch = Pitch,
                 DecodingBehaviour = DecodingBehaviour,
                 ExtraParameter = 0,