1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-10 07:01:43 +00:00
Ryujinx/Ryujinx.Audio/Common/AudioInputConfiguration.cs
Mary-nyan 1825bd87b4
misc: Reformat Ryujinx.Audio with dotnet-format (#3485)
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.
2022-07-25 15:46:33 -03:00

29 lines
No EOL
889 B
C#

using System.Runtime.InteropServices;
namespace Ryujinx.Audio.Common
{
/// <summary>
/// Audio user input configuration.
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct AudioInputConfiguration
{
/// <summary>
/// The target sample rate of the user.
/// </summary>
/// <remarks>Only 48000Hz is considered valid, other sample rates will be refused.</remarks>
public uint SampleRate;
/// <summary>
/// The target channel count of the user.
/// </summary>
/// <remarks>Only Stereo and Surround are considered valid, other configurations will be refused.</remarks>
/// <remarks>Not used in audin.</remarks>
public ushort ChannelCount;
/// <summary>
/// Reserved/unused.
/// </summary>
private ushort _reserved;
}
}