2020-08-18 01:49:37 +00:00
|
|
|
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)
|
|
|
|
{
|
2021-07-18 11:05:11 +00:00
|
|
|
context.ClearBuffers();
|
2020-08-18 01:49:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|