diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/user/avconfig.h | 35 | ||||
-rw-r--r-- | include/user/compat.h | 2 |
2 files changed, 36 insertions, 1 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 } diff --git a/include/user/compat.h b/include/user/compat.h index 876f24c..a7e2283 100644 --- a/include/user/compat.h +++ b/include/user/compat.h @@ -282,7 +282,7 @@ int sceCompatGetTitleList(void *buf, int length); * * @return 0 on success, < 0 on error. */ -int sceCompatGetDevInfo(SceIoDevInfo *info); +int sceCompatGetDevInf(SceIoDevInfo *info); /** * Get current secure tick |