diff options
author | Joel16 | 2017-10-07 12:29:02 -0500 |
---|---|---|
committer | Sunguk Lee | 2017-10-08 02:55:56 +0900 |
commit | 766f693b9b37bbab873551bc84879ffa2440afcf (patch) | |
tree | d083cdbb66afcc7dc34db98e1b4ea968c0daf0a3 /include/user/avconfig.h | |
parent | Update SceFiber and SceDeci4p (#226) (diff) | |
download | vds-libraries-766f693b9b37bbab873551bc84879ffa2440afcf.tar.gz |
Add some sceAVConfig volume functions
Diffstat (limited to 'include/user/avconfig.h')
-rw-r--r-- | include/user/avconfig.h | 35 |
1 files changed, 35 insertions, 0 deletions
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 } |