mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-21 11:02:00 +00:00
1825bd87b4
This is the first commit of a series of reformat around the codebase as discussed internally some weeks ago. This project being one that isn't touched that much, it shouldn't cause conflict with any opened PRs.
24 lines
No EOL
552 B
C#
24 lines
No EOL
552 B
C#
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();
|
|
}
|
|
}
|
|
} |