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:

SceAudioIn_stub



Functions

int sceAudioInOpenPort (SceAudioInPortType portType, int grain, int freq, SceAudioInParam param)
 Open port. More...
 
int sceAudioInReleasePort (int port)
 Close port. More...
 
int sceAudioInInput (int port, void *destPtr)
 
int sceAudioInGetAdopt (SceAudioInPortType portType)
 
int sceAudioInGetStatus (int select)
 

Enumeration Type Documentation

◆ SceAudioInErrorCode

Enumerator
SCE_AUDIO_IN_ERROR_FATAL 

Undefined error.

SCE_AUDIO_IN_ERROR_INVALID_PORT 

Bad value of port number.

SCE_AUDIO_IN_ERROR_INVALID_SIZE 

Invalid sample length.

SCE_AUDIO_IN_ERROR_INVALID_SAMPLE_FREQ 

Invalid sample frequency.

SCE_AUDIO_IN_ERROR_INVALID_PORT_TYPE 

Invalid port type.

SCE_AUDIO_IN_ERROR_INVALID_POINTER 

Invalid pointer value.

SCE_AUDIO_IN_ERROR_INVALID_PORT_PARAM 

Invalid port param.

SCE_AUDIO_IN_ERROR_PORT_FULL 

Cannot open no ports.

SCE_AUDIO_IN_ERROR_OUT_OF_MEMORY 

Not enough memory.

SCE_AUDIO_IN_ERROR_NOT_OPENED 

Port is not opened.

SCE_AUDIO_IN_ERROR_BUSY 

Tried to input while busy.

SCE_AUDIO_IN_ERROR_INVALID_PARAMETER 

Invalid parameter.

◆ SceAudioInPortType

Enumerator
SCE_AUDIO_IN_PORT_TYPE_VOICE 
SCE_AUDIO_IN_PORT_TYPE_RAW 

◆ SceAudioInParam

Enumerator
SCE_AUDIO_IN_PARAM_FORMAT_S16_MONO 
SCE_AUDIO_IN_GETSTATUS_MUTE 

Function Documentation

◆ sceAudioInOpenPort()

int sceAudioInOpenPort ( SceAudioInPortType  portType,
int  grain,
int  freq,
SceAudioInParam  param 
)

Open port.

◆ sceAudioInReleasePort()

int sceAudioInReleasePort ( int  port)

Close port.

◆ sceAudioInInput()

int sceAudioInInput ( int  port,
void *  destPtr 
)

◆ sceAudioInGetAdopt()

int sceAudioInGetAdopt ( SceAudioInPortType  portType)

◆ sceAudioInGetStatus()

int sceAudioInGetStatus ( int  select)