aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Audio/Renderer/Utils/FileHardwareDevice.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Audio/Renderer/Utils/FileHardwareDevice.cs')
-rw-r--r--Ryujinx.Audio/Renderer/Utils/FileHardwareDevice.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/Ryujinx.Audio/Renderer/Utils/FileHardwareDevice.cs b/Ryujinx.Audio/Renderer/Utils/FileHardwareDevice.cs
index 2008bafc..8d717f6a 100644
--- a/Ryujinx.Audio/Renderer/Utils/FileHardwareDevice.cs
+++ b/Ryujinx.Audio/Renderer/Utils/FileHardwareDevice.cs
@@ -76,6 +76,17 @@ namespace Ryujinx.Audio.Renderer.Utils
_stream.Flush();
}
+ public void SetVolume(float volume)
+ {
+ // Do nothing, volume is not used for FileHardwareDevice at the moment.
+ }
+
+ public float GetVolume()
+ {
+ // FileHardwareDevice does not incorporate volume.
+ return 0;
+ }
+
public uint GetChannelCount()
{
return _channelCount;