1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-09-23 07:23:59 +01:00
Ryujinx/Ryujinx.Audio/Renderer/Dsp/Command/ClearMixBufferCommand.cs

25 lines
553 B
C#
Raw Normal View History

namespace Ryujinx.Audio.Renderer.Dsp.Command
{
public class ClearMixBufferCommand : ICommand
{
public bool Enabled { get; set; }
public int NodeId { get; }
public CommandType CommandType => CommandType.ClearMixBuffer;
public ulong EstimatedProcessingTime { get; set; }
public ClearMixBufferCommand(int nodeId)
{
Enabled = true;
NodeId = nodeId;
}
public void Process(CommandList context)
{
context.ClearBuffers();
}
}
}