mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 17:45:26 +00:00
41bba5310a
* Audren: Implement polyphase upsampler * prefer shifting to modulo * prefer MathF * fix nits * rm ResampleForUpsampler * oop * Array20 * nits
14 lines
306 B
C#
14 lines
306 B
C#
using Ryujinx.Common.Memory;
|
|
|
|
namespace Ryujinx.Audio.Renderer.Server.Upsampler
|
|
{
|
|
public struct UpsamplerBufferState
|
|
{
|
|
public const int HistoryLength = 20;
|
|
|
|
public float Scale;
|
|
public Array20<float> History;
|
|
public bool Initialized;
|
|
public int Phase;
|
|
}
|
|
} |