namespace Ryujinx.Audio.Renderer.Device
{
/// <summary>
/// Represents a virtual device session used by IAudioDevice.
/// </summary>
public class VirtualDeviceSession
/// The <see cref="VirtualDevice"/> associated to this session.
public VirtualDevice Device { get; }
/// The user volume of this session.
public float Volume { get; set; }
/// Create a new <see cref="VirtualDeviceSession"/> instance.
/// <param name="virtualDevice">The <see cref="VirtualDevice"/> associated to this session.</param>
public VirtualDeviceSession(VirtualDevice virtualDevice)
Device = virtualDevice;
}