1825bd87b4
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.
27 lines
No EOL
836 B
C#
27 lines
No EOL
836 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;
|
|
}
|
|
}
|
|
} |