rjx-mirror/Ryujinx.Audio/Common
jhorv 23c844b2aa
Misc performance tweaks (#4509)
* use Array.Empty() where instead of allocating new zero-length arrays

* structure for loops in a way that the JIT will elide array/Span bounds checking

* avoiding function calls in for loop condition tests

* avoid LINQ in a hot path

* conform with code style

* fix mistake in GetNextWaitingObject()

* fix GetNextWaitingObject() possibility of returning null if all list items have TimePoint == long.MaxValue

* make GetNextWaitingObject() behave FIFO behavior for multiple items with the same TimePoint
2023-03-11 17:05:48 -03:00
..
AudioBuffer.cs misc: Reformat Ryujinx.Audio with dotnet-format (#3485) 2022-07-25 15:46:33 -03:00
AudioDeviceSession.cs Misc performance tweaks (#4509) 2023-03-11 17:05:48 -03:00
AudioDeviceState.cs misc: Reformat Ryujinx.Audio with dotnet-format (#3485) 2022-07-25 15:46:33 -03:00
AudioInputConfiguration.cs misc: Reformat Ryujinx.Audio with dotnet-format (#3485) 2022-07-25 15:46:33 -03:00
AudioOutputConfiguration.cs misc: Reformat Ryujinx.Audio with dotnet-format (#3485) 2022-07-25 15:46:33 -03:00
AudioUserBuffer.cs misc: Reformat Ryujinx.Audio with dotnet-format (#3485) 2022-07-25 15:46:33 -03:00
SampleFormat.cs misc: Reformat Ryujinx.Audio with dotnet-format (#3485) 2022-07-25 15:46:33 -03:00