summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/am.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-18 02:09:25 +0100
committerLioncash <mathew1800@gmail.com>2019-03-18 14:18:34 +0100
commitc07ebeac19921d376979b420f5287f7016fa558c (patch)
treed4b185ba5ad1fbc2e9cf8774106e99a839b0ccf4 /src/core/hle/service/am/am.h
parentservice/am: Unstub SetExpectedMasterVolume() (diff)
downloadyuzu-c07ebeac19921d376979b420f5287f7016fa558c.tar
yuzu-c07ebeac19921d376979b420f5287f7016fa558c.tar.gz
yuzu-c07ebeac19921d376979b420f5287f7016fa558c.tar.bz2
yuzu-c07ebeac19921d376979b420f5287f7016fa558c.tar.lz
yuzu-c07ebeac19921d376979b420f5287f7016fa558c.tar.xz
yuzu-c07ebeac19921d376979b420f5287f7016fa558c.tar.zst
yuzu-c07ebeac19921d376979b420f5287f7016fa558c.zip
Diffstat (limited to 'src/core/hle/service/am/am.h')
-rw-r--r--src/core/hle/service/am/am.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/am/am.h b/src/core/hle/service/am/am.h
index bca06c25d..b77a8c96c 100644
--- a/src/core/hle/service/am/am.h
+++ b/src/core/hle/service/am/am.h
@@ -81,12 +81,14 @@ private:
void SetExpectedMasterVolume(Kernel::HLERequestContext& ctx);
void GetMainAppletExpectedMasterVolume(Kernel::HLERequestContext& ctx);
void GetLibraryAppletExpectedMasterVolume(Kernel::HLERequestContext& ctx);
+ void SetTransparentAudioRate(Kernel::HLERequestContext& ctx);
static constexpr float min_allowed_volume = 0.0f;
static constexpr float max_allowed_volume = 1.0f;
float main_applet_volume{0.25f};
float library_applet_volume{max_allowed_volume};
+ float transparent_volume_rate{min_allowed_volume};
};
class IDisplayController final : public ServiceFramework<IDisplayController> {