vitasdk
Documentation of the vitasdk

Exports for User. More...

Enumerations

enum  SceShutterSoundErrorCode { SCE_SHUTTER_SOUND_ERROR_INVALID_ARGUMENT = 0x80105201 , SCE_SHUTTER_SOUND_ERROR_INTERNAL = 0x80105202 , SCE_SHUTTER_SOUND_ERROR_FATAL = 0x80105203 }
 
enum  SceShutterSoundType { SCE_SHUTTER_SOUND_TYPE_SAVE_IMAGE = 0 , SCE_SHUTTER_SOUND_TYPE_SAVE_VIDEO_START = 1 , SCE_SHUTTER_SOUND_TYPE_SAVE_VIDEO_END = 2 }
 

Functions

int sceShutterSoundPlay (uint32_t type)
 Plays a shutter sound.
 

Detailed Description

Exports for User.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceShutterSound_stub


Load the required module:

int sceSysmoduleLoadModule(SceSysmoduleModuleId id)
Load a module.
@ SCE_SYSMODULE_SHUTTER_SOUND
Shutter Sound module.
Definition sysmodule.h:66



Enumeration Type Documentation

◆ SceShutterSoundErrorCode

Enumerator
SCE_SHUTTER_SOUND_ERROR_INVALID_ARGUMENT 

Invalid argument.

SCE_SHUTTER_SOUND_ERROR_INTERNAL 

Internal error.

SCE_SHUTTER_SOUND_ERROR_FATAL 

Fatal error.

◆ SceShutterSoundType

Enumerator
SCE_SHUTTER_SOUND_TYPE_SAVE_IMAGE 
SCE_SHUTTER_SOUND_TYPE_SAVE_VIDEO_START 
SCE_SHUTTER_SOUND_TYPE_SAVE_VIDEO_END 

Function Documentation

◆ sceShutterSoundPlay()

int sceShutterSoundPlay ( uint32_t  type)

Plays a shutter sound.

Parameters
[in]type- The sound type to play (One of SceShutterSoundType)
Returns
0 on success, < 0 on error.