private void WriteAudio(byte channel, AudioRegister register, byte value) { commands.Enqueue(new QueuedCommand { Channel = channel, Register = register, Value = value, Time = _core.Cpu.TotalExecutedCycles - frameStartCycles }); }