vitasdk
Documentation of the vitasdk
audioin.h File Reference

Go to the source code of this file.

Enumerations

enum  SceAudioInErrorCode {
  SCE_AUDIO_IN_ERROR_FATAL = 0x80260100 , SCE_AUDIO_IN_ERROR_INVALID_PORT = 0x80260101 , SCE_AUDIO_IN_ERROR_INVALID_SIZE = 0x80260102 , SCE_AUDIO_IN_ERROR_INVALID_SAMPLE_FREQ = 0x80260103 ,
  SCE_AUDIO_IN_ERROR_INVALID_PORT_TYPE = 0x80260104 , SCE_AUDIO_IN_ERROR_INVALID_POINTER = 0x80260105 , SCE_AUDIO_IN_ERROR_INVALID_PORT_PARAM = 0x80260106 , SCE_AUDIO_IN_ERROR_PORT_FULL = 0x80260107 ,
  SCE_AUDIO_IN_ERROR_OUT_OF_MEMORY = 0x80260108 , SCE_AUDIO_IN_ERROR_NOT_OPENED = 0x80260109 , SCE_AUDIO_IN_ERROR_BUSY = 0x8026010A , SCE_AUDIO_IN_ERROR_INVALID_PARAMETER = 0x8026010B
}
 
enum  SceAudioInPortType { SCE_AUDIO_IN_PORT_TYPE_VOICE = 0 , SCE_AUDIO_IN_PORT_TYPE_RAW = 2 }
 
enum  SceAudioInParam { SCE_AUDIO_IN_PARAM_FORMAT_S16_MONO = 0 , SCE_AUDIO_IN_GETSTATUS_MUTE = 1 }
 

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)