This commit is contained in:
2024-05-11 23:24:13 +02:00
commit e66c5afde0
130 changed files with 17039 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
package shuttersound
import "core:c"
foreign import shuttersound "system:SceShutterSound_stub"
// TODO:
SceShutterSoundErrorCode :: enum c.uint {
INVALID_ARGUMENT = 0x80105201, //!< Invalid argument
INTERNAL = 0x80105202, //!< Internal error
FATAL = 0x80105203 //!< Fatal error
}
SceShutterSoundType :: enum c.uint {
SAVE_IMAGE = 0,
SAVE_VIDEO_START = 1,
SAVE_VIDEO_END = 2,
}
@(link_prefix = "sceShutterSound")
foreign shuttersound {
/**
* Plays a shutter sound
*
* @param[in] type - The sound type to play (One of ::SceShutterSoundType)
*
* @return 0 on success, < 0 on error.
*/
Play :: proc(type: SceShutterSoundType) -> c.int ---
}