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#include <psp2common/audioin.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
39int sceAudioInOpenPort(SceAudioInPortType portType, int grain, int freq, SceAudioInParam param);
40
56int sceAudioInOpenPortForDiag(SceAudioInPortType port_type, int grain, int freq, SceAudioInParam param);
57
67
80int sceAudioInInput(int port, void *destPtr);
81
100int sceAudioInInputWithInputDeviceState(int port, void *dest_ptr, int *input_device_state);
101
115
130int sceAudioInGetStatus(int select);
131
138
153
166
181int sceAudioInSetMicGain(int port, int gain);
182
193
194#ifdef __cplusplus
195}
196#endif
197
198#endif /* _PSP2_AUDIOIN_H_ */
int sceAudioInOpenPortForDiag(SceAudioInPortType port_type, int grain, int freq, SceAudioInParam param)
Open an audio-input port using the diagnostic entry point.
SceAudioInMuteCommand
Commands accepted by sceAudioInSetMute.
Definition audioin.h:43
int sceAudioInReleasePort(int port)
Release an audio-input port owned by the calling process.
int sceAudioInGetStatus(int select)
Query audio-input state.
int sceAudioInSetMicGain(int port, int gain)
Set the microphone-gain value stored for a port.
int sceAudioInInput(int port, void *destPtr)
Capture the configured number of mono signed 16-bit PCM samples.
int sceAudioInSetMute(SceAudioInMuteCommand command)
Set the system microphone mute state.
int sceAudioInInputWithInputDeviceState(int port, void *dest_ptr, int *input_device_state)
Capture the configured number of samples and report an input-route change.
SceAudioInParam
Definition audioin.h:37
SceAudioInPortType
Definition audioin.h:30
int sceAudioInGetMicGain(int port)
Get the microphone-gain value stored for a port.
int sceAudioInGetInput(void)
Get the current input route.
int sceAudioInGetAdopt(SceAudioInPortType portType)
Check whether the calling process owns the adopted audio-input port.
int sceAudioInSelectInput(SceAudioInInputMode input_mode)
Select the input route.
SceAudioInInputMode
Audio-input routes used by sceAudioInSelectInput and ksceAudioInSelectInput.
Definition audioin.h:56
int sceAudioInOpenPort(SceAudioInPortType portType, int grain, int freq, SceAudioInParam param)
Open an audio-input port.