summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoel162017-10-07 12:29:02 -0500
committerSunguk Lee2017-10-08 02:55:56 +0900
commit766f693b9b37bbab873551bc84879ffa2440afcf (patch)
treed083cdbb66afcc7dc34db98e1b4ea968c0daf0a3 /include
parentUpdate SceFiber and SceDeci4p (#226) (diff)
downloadvds-libraries-766f693b9b37bbab873551bc84879ffa2440afcf.tar.gz
Add some sceAVConfig volume functions
Diffstat (limited to '')
-rw-r--r--include/user/avconfig.h35
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
}