vitasdk
Documentation of the vitasdk
audioin.h
Go to the documentation of this file.
1
7#ifndef _PSP2_AUDIOIN_H_
8#define _PSP2_AUDIOIN_H_
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
40
45
50
52int sceAudioInOpenPort(SceAudioInPortType portType, int grain, int freq, SceAudioInParam param);
53
56
57int sceAudioInInput(int port, void *destPtr);
58
59/* get status */
61int sceAudioInGetStatus(int select);
62
63#ifdef __cplusplus
64}
65#endif
66
67#endif /* _PSP2_AUDIOIN_H_ */
68
int sceAudioInReleasePort(int port)
Close port.
SceAudioInErrorCode
Definition audioin.h:14
int sceAudioInGetStatus(int select)
int sceAudioInInput(int port, void *destPtr)
SceAudioInParam
Definition audioin.h:46
SceAudioInPortType
Definition audioin.h:41
int sceAudioInGetAdopt(SceAudioInPortType portType)
int sceAudioInOpenPort(SceAudioInPortType portType, int grain, int freq, SceAudioInParam param)
Open port.
@ SCE_AUDIO_IN_ERROR_INVALID_PARAMETER
Invalid parameter.
Definition audioin.h:38
@ SCE_AUDIO_IN_ERROR_INVALID_PORT
Bad value of port number.
Definition audioin.h:18
@ SCE_AUDIO_IN_ERROR_PORT_FULL
Cannot open no ports.
Definition audioin.h:30
@ SCE_AUDIO_IN_ERROR_INVALID_SAMPLE_FREQ
Invalid sample frequency.
Definition audioin.h:22
@ SCE_AUDIO_IN_ERROR_INVALID_PORT_PARAM
Invalid port param.
Definition audioin.h:28
@ SCE_AUDIO_IN_ERROR_INVALID_SIZE
Invalid sample length.
Definition audioin.h:20
@ SCE_AUDIO_IN_ERROR_INVALID_PORT_TYPE
Invalid port type.
Definition audioin.h:24
@ SCE_AUDIO_IN_ERROR_INVALID_POINTER
Invalid pointer value.
Definition audioin.h:26
@ SCE_AUDIO_IN_ERROR_FATAL
Undefined error.
Definition audioin.h:16
@ SCE_AUDIO_IN_ERROR_NOT_OPENED
Port is not opened.
Definition audioin.h:34
@ SCE_AUDIO_IN_ERROR_BUSY
Tried to input while busy.
Definition audioin.h:36
@ SCE_AUDIO_IN_ERROR_OUT_OF_MEMORY
Not enough memory.
Definition audioin.h:32
@ SCE_AUDIO_IN_GETSTATUS_MUTE
Definition audioin.h:48
@ SCE_AUDIO_IN_PARAM_FORMAT_S16_MONO
Definition audioin.h:47
@ SCE_AUDIO_IN_PORT_TYPE_RAW
Definition audioin.h:43
@ SCE_AUDIO_IN_PORT_TYPE_VOICE
Definition audioin.h:42