mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-28 18:10:50 +01:00
4c2ab880ef
* 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.
28 lines
837 B
C#
28 lines
837 B
C#
namespace Ryujinx.Audio.Renderer.Device
|
|
{
|
|
/// <summary>
|
|
/// Represents a virtual device session used by IAudioDevice.
|
|
/// </summary>
|
|
public class VirtualDeviceSession
|
|
{
|
|
/// <summary>
|
|
/// The <see cref="VirtualDevice"/> associated to this session.
|
|
/// </summary>
|
|
public VirtualDevice Device { get; }
|
|
|
|
/// <summary>
|
|
/// The user volume of this session.
|
|
/// </summary>
|
|
public float Volume { get; set; }
|
|
|
|
/// <summary>
|
|
/// Create a new <see cref="VirtualDeviceSession"/> instance.
|
|
/// </summary>
|
|
/// <param name="virtualDevice">The <see cref="VirtualDevice"/> associated to this session.</param>
|
|
public VirtualDeviceSession(VirtualDevice virtualDevice)
|
|
{
|
|
Device = virtualDevice;
|
|
}
|
|
}
|
|
}
|