6#ifndef _PSP2KERN_AUDIOIN_H_
7#define _PSP2KERN_AUDIOIN_H_
int ksceAudioInReleasePort(int port)
Release an audio-input port owned by the calling process.
SceBool ksceAudioInIsAnyPortOpen(void)
Check whether any process owns an audio-input port.
int ksceAudioInSetPortReleaseCallback(SceAudioInPortCallback callback)
Register or clear the port-release callback.
int ksceAudioInSubmitBluetoothPcm(const SceInt16 *samples, SceSize sample_count)
Submit Bluetooth microphone PCM to AudioIn.
int ksceAudioInInput(int port, void *dest_ptr)
Capture the configured number of mono signed 16-bit PCM samples.
int ksceAudioInSetPortOpenCallback(SceAudioInPortCallback callback)
Register or clear the port-open callback.
SceBool ksceAudioInIsProcessPortOwner(ScePID process_id)
Check whether a process owns an audio-input port.
void(* SceAudioInPortCallback)(ScePID process_id)
Callback called after an audio-input port is opened or released.
Definition audioin.h:22
int ksceAudioInSelectInput(SceAudioInInputMode input_mode)
Select the input route.
int ksceAudioInOpenPort(SceAudioInPortType port_type, int grain, int freq, SceAudioInParam param)
Open an audio-input port for the calling process.
int ksceAudioInSetAdoptForPid(ScePID process_id, int unused1, int unused2, int transition_delay)
Select the process whose audio-input port is adopted.
SceAudioInParam
Definition audioin.h:37
SceAudioInPortType
Definition audioin.h:30
SceAudioInInputMode
Audio-input routes used by sceAudioInSelectInput and ksceAudioInSelectInput.
Definition audioin.h:56
SceLsdbDbBlobCallback callback
Definition lsdb.h:6
int16_t SceInt16
Definition types.h:41
int ScePID
Process ID.
Definition types.h:91
int SceBool
Definition types.h:59
unsigned int SceSize
Definition types.h:56