aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Audio/Integration/IHardwareDevice.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Audio/Integration/IHardwareDevice.cs')
-rw-r--r--Ryujinx.Audio/Integration/IHardwareDevice.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/Ryujinx.Audio/Integration/IHardwareDevice.cs b/Ryujinx.Audio/Integration/IHardwareDevice.cs
index 0f67b2c8..1eeb5ca4 100644
--- a/Ryujinx.Audio/Integration/IHardwareDevice.cs
+++ b/Ryujinx.Audio/Integration/IHardwareDevice.cs
@@ -26,6 +26,18 @@ namespace Ryujinx.Audio.Integration
public interface IHardwareDevice : IDisposable
{
/// <summary>
+ /// Sets the volume level for this device.
+ /// </summary>
+ /// <param name="volume">The volume level to set.</param>
+ void SetVolume(float volume);
+
+ /// <summary>
+ /// Gets the volume level for this device.
+ /// </summary>
+ /// <returns>The volume level of this device.</returns>
+ float GetVolume();
+
+ /// <summary>
/// Get the supported sample rate of this device.
/// </summary>
/// <returns>The supported sample rate of this device.</returns>