blob: 09fa71edafb51344e7ba08ecbda104ccd3fd9c1f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
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;
}
}
}
|