7#ifndef _PSP2_AUDIOIN_H_
8#define _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.