mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-27 12:20:04 +02:00
misc: chore: Merge into pattern
This commit is contained in:
@@ -532,13 +532,13 @@ namespace Ryujinx.Audio.Renderer.Server
|
||||
|
||||
CommandType commandType = command.CommandType;
|
||||
|
||||
if (commandType == CommandType.AdpcmDataSourceVersion1 ||
|
||||
commandType == CommandType.AdpcmDataSourceVersion2 ||
|
||||
commandType == CommandType.PcmInt16DataSourceVersion1 ||
|
||||
commandType == CommandType.PcmInt16DataSourceVersion2 ||
|
||||
commandType == CommandType.PcmFloatDataSourceVersion1 ||
|
||||
commandType == CommandType.PcmFloatDataSourceVersion2 ||
|
||||
commandType == CommandType.Performance)
|
||||
if (commandType is CommandType.AdpcmDataSourceVersion1
|
||||
or CommandType.AdpcmDataSourceVersion2
|
||||
or CommandType.PcmInt16DataSourceVersion1
|
||||
or CommandType.PcmInt16DataSourceVersion2
|
||||
or CommandType.PcmFloatDataSourceVersion1
|
||||
or CommandType.PcmFloatDataSourceVersion2
|
||||
or CommandType.Performance)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user