Archived
1
0
Fork 0
forked from Mirror/Ryujinx

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.
This commit is contained in:
Mary 2022-02-16 23:55:40 +01:00 committed by GitHub
parent 3bd357045f
commit 741db8e43d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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