mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-21 10:37:10 +00:00
26 lines
602 B
C#
26 lines
602 B
C#
namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|
{
|
|
public class ClearMixBufferCommand : ICommand
|
|
{
|
|
public bool Enabled { get; set; }
|
|
|
|
public int NodeId { get; private set; }
|
|
|
|
public CommandType CommandType => CommandType.ClearMixBuffer;
|
|
|
|
public uint EstimatedProcessingTime { get; set; }
|
|
|
|
public ClearMixBufferCommand Initialize(int nodeId)
|
|
{
|
|
Enabled = true;
|
|
NodeId = nodeId;
|
|
|
|
return this;
|
|
}
|
|
|
|
public void Process(CommandList context)
|
|
{
|
|
context.ClearBuffers();
|
|
}
|
|
}
|
|
}
|