0
0
Fork 0
This repository has been archived on 2024-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
ryujinx-final/Ryujinx.Audio/Common/AudioOutputConfiguration.cs
Mary 4c2ab880ef
misc: Relicense Ryujinx.Audio under the terms of the MIT license (#3449)
* Ryujinx.Audio: Remove BOM from files

* misc: Relicense Ryujinx.Audio under the terms of the MIT license

With the approvals of all the Ryujinx.Audio contributors, this commit
changes Ryujinx.Audio license from LGPLv3 to MIT.
2022-07-08 19:45:53 +02:00

37 lines
916 B
C#

using Ryujinx.Common.Memory;
using System.Runtime.InteropServices;
namespace Ryujinx.Audio.Common
{
/// <summary>
/// Audio system output configuration.
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct AudioOutputConfiguration
{
/// <summary>
/// The target sample rate of the system.
/// </summary>
public uint SampleRate;
/// <summary>
/// The target channel count of the system.
/// </summary>
public uint ChannelCount;
/// <summary>
/// Reserved/unused
/// </summary>
public SampleFormat SampleFormat;
/// <summary>
/// Reserved/unused.
/// </summary>
private Array3<byte> _padding;
/// <summary>
/// The initial audio system state.
/// </summary>
public AudioDeviceState AudioOutState;
}
}