PSP2SDK  dirty-f9e4f2d
The free SDK for PSP2
Enumerations | Functions
include/psp2/audioin.h File Reference

Header file which defines control related variables and functions. More...

Go to the source code of this file.

Enumerations

enum  {
  SCE_AUDIO_IN_ERROR_FATAL = 0x80260100, SCE_AUDIO_IN_ERROR_INVALID_PORT = 0x80260101, SCE_AUDIO_IN_ERROR_INVALID_SIZE = 0x80260102, SCE_AUDIO_IN_ERROR_INVALID_SAMPLE_FREQ = 0x80260103,
  SCE_AUDIO_IN_ERROR_INVALID_PORT_TYPE = 0x80260104, SCE_AUDIO_IN_ERROR_INVALID_POINTER = 0x80260105, SCE_AUDIO_IN_ERROR_INVALID_PORT_PARAM = 0x80260106, SCE_AUDIO_IN_ERROR_PORT_FULL = 0x80260107,
  SCE_AUDIO_IN_ERROR_OUT_OF_MEMORY = 0x80260108, SCE_AUDIO_IN_ERROR_NOT_OPENED = 0x80260109, SCE_AUDIO_IN_ERROR_BUSY = 0x8026010A
}
enum  { PSP2_AUDIO_IN_PORT_TYPE_VOICE = 0, PSP2_AUDIO_IN_PORT_TYPE_RAW = 0x0002 }
enum  { PSP2_AUDIO_IN_PARAM_FORMAT_S16_MONO = 0, PSP2_AUDIO_IN_GETSTATUS_MUTE = 1 }

Functions

int sceAudioInOpenPort (int portType, int grain, int freq, int param)
 Open port.
int sceAudioInReleasePort (int port)
 Close port.
int sceAudioInInput (int port, void *destPtr)
int sceAudioInGetAdopt (int portType)
int sceAudioInGetStatus (int select)

Detailed Description

Header file which defines control related variables and functions.

Copyright (C) 2015 PSP2SDK Project

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.


Enumeration Type Documentation

anonymous enum
Enumerator:
SCE_AUDIO_IN_ERROR_FATAL 

Undefined error.

SCE_AUDIO_IN_ERROR_INVALID_PORT 

Bad value of port number.

SCE_AUDIO_IN_ERROR_INVALID_SIZE 

Invalid sample length.

SCE_AUDIO_IN_ERROR_INVALID_SAMPLE_FREQ 

Invalid sample frequency.

SCE_AUDIO_IN_ERROR_INVALID_PORT_TYPE 

Invalid port type.

SCE_AUDIO_IN_ERROR_INVALID_POINTER 

Invalid pointer value.

SCE_AUDIO_IN_ERROR_INVALID_PORT_PARAM 

Invalid port param.

SCE_AUDIO_IN_ERROR_PORT_FULL 

Cannot open no ports.

SCE_AUDIO_IN_ERROR_OUT_OF_MEMORY 

Not enough memory.

SCE_AUDIO_IN_ERROR_NOT_OPENED 

Port is not opened.

SCE_AUDIO_IN_ERROR_BUSY 

Tried to input while busy.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines