mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-19 13:21:40 +00:00
f17b772c56
* Fix AudioRenderer implementation According to RE: - `GetAudioRendererWorkBufferSize` is updated and improved to support `REV7` - `RequestUpdateAudioRenderer` is updated to `REV7` too Should improve results on recent game and close #718 and #707 * Fix NodeStates.GetWorkBufferSize * Use BitUtils instead of IntUtils * Nits
17 lines
No EOL
535 B
C#
17 lines
No EOL
535 B
C#
namespace Ryujinx.HLE.HOS.Services.Audio.AudioRendererManager
|
|
{
|
|
static class AudioRendererConsts
|
|
{
|
|
// Revision Consts
|
|
public const int Revision = 7;
|
|
public const int Rev0Magic = ('R' << 0) | ('E' << 8) | ('V' << 16) | ('0' << 24);
|
|
public const int RevMagic = Rev0Magic + (Revision << 24);
|
|
|
|
// Misc Consts
|
|
public const int BufferAlignment = 0x40;
|
|
|
|
// Host Consts
|
|
public const int HostSampleRate = 48000;
|
|
public const int HostChannelsCount = 2;
|
|
}
|
|
} |