mirror of
https://github.com/IllusionMan1212/vitasdk-odin.git
synced 2026-10-24 02:12:38 +00:00
initial
This commit is contained in:
@@ -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 ---
|
||||
}
|
||||
Reference in New Issue
Block a user