vitasdk
Documentation of the vitasdk
audioin.h File Reference
#include <psp2kern/types.h>
#include <psp2common/audioin.h>

Go to the source code of this file.

Typedefs

typedef void(* SceAudioInPortCallback) (ScePID process_id)
 Callback called after an audio-input port is opened or released.
 

Functions

int ksceAudioInOpenPort (SceAudioInPortType port_type, int grain, int freq, SceAudioInParam param)
 Open an audio-input port for the calling process.
 
int ksceAudioInReleasePort (int port)
 Release an audio-input port owned by the calling process.
 
int ksceAudioInInput (int port, void *dest_ptr)
 Capture the configured number of mono signed 16-bit PCM samples.
 
SceBool ksceAudioInIsAnyPortOpen (void)
 Check whether any process owns an audio-input port.
 
SceBool ksceAudioInIsProcessPortOwner (ScePID process_id)
 Check whether a process owns an audio-input port.
 
int ksceAudioInSetAdoptForPid (ScePID process_id, int unused1, int unused2, int transition_delay)
 Select the process whose audio-input port is adopted.
 
int ksceAudioInSetPortOpenCallback (SceAudioInPortCallback callback)
 Register or clear the port-open callback.
 
int ksceAudioInSetPortReleaseCallback (SceAudioInPortCallback callback)
 Register or clear the port-release callback.
 
int ksceAudioInSelectInput (SceAudioInInputMode input_mode)
 Select the input route.
 
int ksceAudioInSubmitBluetoothPcm (const SceInt16 *samples, SceSize sample_count)
 Submit Bluetooth microphone PCM to AudioIn.