vitasdk
Documentation of the vitasdk

Detailed Description

Exports for User.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceAVConfig_stub



Functions

int sceAVConfigGetDisplayMaxBrightness (int *maxBrightness)
 Get the maximum brightness. More...
 
int sceAVConfigSetDisplayBrightness (int brightness)
 Set the screen brightness. More...
 
int sceAVConfigGetShutterVol (int *volume)
 Get the shutter volume. More...
 
int sceAVConfigGetSystemVol (int *volume)
 Get the system volume. More...
 
int sceAVConfigSetSystemVol (int volume)
 Set the system volume. More...
 
int sceAVConfigMuteOn (void)
 Turns on mute. More...
 
int sceAVConfigSetDisplayColorSpaceMode (int csm)
 Sets the color space mode on runtime. More...
 

Enumeration Type Documentation

◆ SceAVConfigColorSpaceMode

Color Space Mode values to specify to sceAVConfigSetDisplayColorSpaceMode.

Enumerator
SCE_AVCONFIG_COLOR_SPACE_MODE_DEFAULT 

Default.

SCE_AVCONFIG_COLOR_SPACE_MODE_HIGH_CONTRAST 

High Contrast Mode.

Function Documentation

◆ sceAVConfigGetDisplayMaxBrightness()

int sceAVConfigGetDisplayMaxBrightness ( int *  maxBrightness)

Get the maximum brightness.

Parameters
[out]maxBrightness- Maximum brightness.
Returns
0 on success, < 0 on error.

◆ sceAVConfigSetDisplayBrightness()

int sceAVConfigSetDisplayBrightness ( int  brightness)

Set the screen brightness.

Parameters
brightness- Brightness that the screen will be set to (range 21-65536, 0 turns off the screen).
Returns
0 on success, < 0 on error.

◆ sceAVConfigGetShutterVol()

int sceAVConfigGetShutterVol ( int *  volume)

Get the shutter volume.

Parameters
[out]volume- shutter volume.
Returns
0 on success, < 0 on error.

◆ sceAVConfigGetSystemVol()

int sceAVConfigGetSystemVol ( int *  volume)

Get the system volume.

Parameters
[out]volume- System volume.
Returns
0 on success, < 0 on error.

◆ sceAVConfigSetSystemVol()

int sceAVConfigSetSystemVol ( int  volume)

Set the system volume.

Parameters
volume- volume that the device will be set to (range 0-30).
Returns
0 on success, < 0 on error.

◆ sceAVConfigMuteOn()

int sceAVConfigMuteOn ( void  )

Turns on mute.

Returns
0 on success, < 0 on error.

◆ sceAVConfigSetDisplayColorSpaceMode()

int sceAVConfigSetDisplayColorSpaceMode ( int  csm)

Sets the color space mode on runtime.

Parameters
[in]csm- see SceAVConfigColorSpaceMode()
Returns
0 on success, < 0 on error.
Note
- This does not change color_space_mode in the registry.