2020-08-18 03:49:37 +02: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;
|
|
|
|
|
2022-11-28 08:28:45 +01:00
|
|
|
public uint EstimatedProcessingTime { get; set; }
|
2020-08-18 03:49:37 +02:00
|
|
|
|
|
|
|
public ClearMixBufferCommand(int nodeId)
|
|
|
|
{
|
|
|
|
Enabled = true;
|
|
|
|
NodeId = nodeId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void Process(CommandList context)
|
|
|
|
{
|
2021-07-18 13:05:11 +02:00
|
|
|
context.ClearBuffers();
|
2020-08-18 03:49:37 +02:00
|
|
|
}
|
|
|
|
}
|
2022-07-25 20:46:33 +02:00
|
|
|
}
|