summaryrefslogtreecommitdiffstats
path: root/src/audio_core/renderer/audio_device.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-09-15 15:06:14 +0200
committerLioncash <mathew1800@gmail.com>2022-09-15 15:06:17 +0200
commitd55046c5e97d2dc0a55d175e1101122d646ad540 (patch)
treee17f07f85ba29a883bbb126ca7f42a8801c97ada /src/audio_core/renderer/audio_device.h
parentaudio_device: Make AudioDeviceName constructor constexpr (diff)
downloadyuzu-d55046c5e97d2dc0a55d175e1101122d646ad540.tar
yuzu-d55046c5e97d2dc0a55d175e1101122d646ad540.tar.gz
yuzu-d55046c5e97d2dc0a55d175e1101122d646ad540.tar.bz2
yuzu-d55046c5e97d2dc0a55d175e1101122d646ad540.tar.lz
yuzu-d55046c5e97d2dc0a55d175e1101122d646ad540.tar.xz
yuzu-d55046c5e97d2dc0a55d175e1101122d646ad540.tar.zst
yuzu-d55046c5e97d2dc0a55d175e1101122d646ad540.zip
Diffstat (limited to 'src/audio_core/renderer/audio_device.h')
-rw-r--r--src/audio_core/renderer/audio_device.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio_core/renderer/audio_device.h b/src/audio_core/renderer/audio_device.h
index ba1f4c748..dd6be70ee 100644
--- a/src/audio_core/renderer/audio_device.h
+++ b/src/audio_core/renderer/audio_device.h
@@ -39,7 +39,7 @@ public:
* @param max_count - Maximum number of devices to write (count of out_buffer).
* @return Number of device names written.
*/
- u32 ListAudioDeviceName(std::vector<AudioDeviceName>& out_buffer, size_t max_count);
+ u32 ListAudioDeviceName(std::vector<AudioDeviceName>& out_buffer, size_t max_count) const;
/**
* Get a list of the available output devices.
@@ -49,7 +49,7 @@ public:
* @param max_count - Maximum number of devices to write (count of out_buffer).
* @return Number of device names written.
*/
- u32 ListAudioOutputDeviceName(std::vector<AudioDeviceName>& out_buffer, size_t max_count);
+ u32 ListAudioOutputDeviceName(std::vector<AudioDeviceName>& out_buffer, size_t max_count) const;
/**
* Set the volume of all streams in the backend sink.
@@ -65,7 +65,7 @@ public:
* @param name - Name of the device to check. Unused.
* @return Volume of the device.
*/
- f32 GetDeviceVolume(std::string_view name);
+ f32 GetDeviceVolume(std::string_view name) const;
private:
/// Backend output sink for the device