From 766f693b9b37bbab873551bc84879ffa2440afcf Mon Sep 17 00:00:00 2001 From: Joel16 Date: Sat, 7 Oct 2017 12:29:02 -0500 Subject: Add some sceAVConfig volume functions --- include/user/avconfig.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'include/user/avconfig.h') diff --git a/include/user/avconfig.h b/include/user/avconfig.h index 8e0d893..947af3c 100644 --- a/include/user/avconfig.h +++ b/include/user/avconfig.h @@ -25,6 +25,41 @@ int sceAVConfigGetDisplayMaxBrightness(int *maxBrightness); */ int sceAVConfigSetDisplayBrightness(int brightness); +/*** + * Get the shutter volume. + * + * @param[out] volume - shutter volume. + * + * @return 0 on success, < 0 on error. + */ +int sceAVConfigGetShutterVol(int *volume); + +/*** + * Get the system volume. + * + * @param[out] volume - System volume. + * + * @return 0 on success, < 0 on error. + */ +int sceAVConfigGetSystemVol(int *volume); + +/*** + * Set the system volume. + * + * @param volume - volume that the device will be set to (range 0-30). + * + * @return 0 on success, < 0 on error. + */ +int sceAVConfigSetSystemVol(int volume); + +/** + * Turns on mute. + * + * @return 0 on success, < 0 on error. + * + */ +int sceAVConfigMuteOn(void); + #ifdef __cplusplus } -- cgit v1.2.3