audio_device: Mark GetDeviceVolume as const

This doesn't modify instance state.
This commit is contained in:
Lioncash 2022-09-16 09:52:32 -04:00
parent 36c77761cf
commit b862d5d8d8
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,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