Difference between revisions of "SceAudioin"

From Vita Development Wiki
Jump to navigation Jump to search
(Created page with "== Library == === Known NIDs === {| class="wikitable" |- ! Version !! Name !! World !! Privilege !! NID |- | 1.69 || SceAudioin || Non-secure || Kernel || 0x67F986A4 |} == M...")
 
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Library ==
+
== Module ==
  
=== Known NIDs ===
 
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Version !! Name !! World !! Privilege !! NID
+
! Version !! World !! Privilege
 
|-
 
|-
| 1.69 || SceAudioin || Non-secure || Kernel || 0x67F986A4
+
| 1.69-3.65 || Non-secure || Kernel
 
|}
 
|}
  
== Modules ==
+
== Libraries ==
  
 
=== Known NIDs ===
 
=== Known NIDs ===
Line 17: Line 16:
 
! Version !! Name !! World !! Visibility !! NID
 
! Version !! Name !! World !! Visibility !! NID
 
|-
 
|-
| 1.69 || [[SceAudioin#SceAudioInForDriver|SceAudioInForDriver]] || Non-secure || Kernel || 0x60928C22
+
| 0.940-3.60 || [[SceAudioin#SceAudioInForDriver|SceAudioInForDriver]] || Non-secure || Kernel || 0x60928C22
 
|-
 
|-
| 1.69 || [[SceAudioin#SceAudioIn|SceAudioIn]] || Non-secure || User || 0xF8DC61A3
+
| 0.940-3.60 || [[SceAudioin#SceAudioIn|SceAudioIn]] || Non-secure || User || 0xF8DC61A3
 
|}
 
|}
 +
 +
== Types ==
 +
 +
<source lang="C">
 +
typedef enum SceAudioInErrorCode {
 +
//! Undefined error
 +
SCE_AUDIO_IN_ERROR_FATAL                = 0x80260100,
 +
//! Invalid port number
 +
SCE_AUDIO_IN_ERROR_INVALID_PORT        = 0x80260101,
 +
//! Invalid sample length
 +
SCE_AUDIO_IN_ERROR_INVALID_SIZE        = 0x80260102,
 +
//! Invalid sample frequency
 +
SCE_AUDIO_IN_ERROR_INVALID_SAMPLE_FREQ  = 0x80260103,
 +
//! Invalid port type
 +
SCE_AUDIO_IN_ERROR_INVALID_PORT_TYPE    = 0x80260104,
 +
//! Invalid pointer value
 +
SCE_AUDIO_IN_ERROR_INVALID_POINTER      = 0x80260105,
 +
//! Invalid port parameter
 +
SCE_AUDIO_IN_ERROR_INVALID_PORT_PARAMETER = 0x80260106,
 +
//! Cannot open more ports
 +
SCE_AUDIO_IN_ERROR_PORT_FULL            = 0x80260107,
 +
//! Not enough memory
 +
SCE_AUDIO_IN_ERROR_OUT_OF_MEMORY        = 0x80260108,
 +
//! Port is not opened
 +
SCE_AUDIO_IN_ERROR_NOT_OPENED          = 0x80260109,
 +
//! Tried to input while busy
 +
SCE_AUDIO_IN_ERROR_BUSY                = 0x8026010A,
 +
//! Invalid parameter
 +
SCE_AUDIO_IN_ERROR_INVALID_PARAMETER    = 0x8026010B
 +
} SceAudioInErrorCode;
 +
 +
typedef enum SceAudioInPortType {
 +
SCE_AUDIO_IN_PORT_TYPE_VOICE  = 0,
 +
SCE_AUDIO_IN_PORT_TYPE_RAW    = 2
 +
} SceAudioInPortType;
 +
 +
typedef enum SceAudioInParam {
 +
SCE_AUDIO_IN_PARAM_FORMAT_S16_MONO  = 0,
 +
SCE_AUDIO_IN_GETSTATUS_MUTE        = 1
 +
} SceAudioInParam;
 +
</source>
  
 
== SceAudioInForDriver ==
 
== SceAudioInForDriver ==
 +
 +
=== sceAudioInInputForDriver ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.940-3.60 || 0x0AB2743C
 +
|}
 +
 +
=== sceAudioInReleasePortForDriver ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.940-3.60 || 0x313C969A
 +
|}
 +
 +
=== sceAudioInOpenPortForDriver ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.940-3.60 || 0x9C7404BF
 +
|}
 +
 +
=== SceAudioInForDriver_005A2A31 ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.940 || not present
 +
|-
 +
| 0.990-3.60 || 0x005A2A31
 +
|}
 +
 +
<source lang="C">int SceAudioInForDriver_005A2A31(void);</source>
 +
 +
=== SceAudioInForDriver_197CAA1B ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.940 || not present
 +
|-
 +
| 0.990-3.60 || 0x197CAA1B
 +
|}
 +
 +
Writes value to memory.
 +
 +
<source lang="C">int SceAudioInForDriver_197CAA1B(int value);</source>
 +
 +
=== SceAudioInForDriver_3D164387 ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.940 || not present
 +
|-
 +
| 3.60 || 0x3D164387
 +
|}
 +
 +
=== SceAudioInForDriver_3EC79053 ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.940 || not present
 +
|-
 +
| 0.990-3.60 || 0x3EC79053
 +
|}
 +
 +
Writes value to memory.
 +
 +
<source lang="C">int SceAudioInForDriver_3EC79053(int value);</source>
 +
 +
=== sceAudioInSelectInputForDriver ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.940 || not present
 +
|-
 +
| 0.990-3.60 || 0x44A497F8
 +
|}
 +
 +
=== SceAudioInForDriver_E4042F6F ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.940 || not present
 +
|-
 +
| 0.990-3.60 || 0xE4042F6F
 +
|}
 +
 +
=== SceAudioInForDriver_FB46FA10 ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.940 || not present
 +
|-
 +
| 0.990-3.60 || 0xFB46FA10
 +
|}
  
 
== SceAudioIn ==
 
== SceAudioIn ==
 +
 +
=== SceAudioIn_7C6EBD49 ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.940 || 0x7C6EBD49
 +
|-
 +
| 1.69-3.60 || not present
 +
|}
  
 
=== sceAudioInGetInput ===
 
=== sceAudioInGetInput ===
Line 31: Line 185:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0x8105392
+
| 0.940 || not present
 +
|-
 +
| 1.69-3.60 || 0x08105392
 
|}
 
|}
 +
 
=== sceAudioInSetMicGain ===
 
=== sceAudioInSetMicGain ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 38: Line 195:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0xF34DD73
+
| 0.940 || not present
 +
|-
 +
| 1.69-3.60 || 0x0F34DD73
 
|}
 
|}
 +
 
=== sceAudioInSetMute ===
 
=== sceAudioInSetMute ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 45: Line 205:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0x1DFE7698
+
| 0.940 || not present
 +
|-
 +
| 0.990-3.60 || 0x1DFE7698
 
|}
 
|}
 +
 
=== sceAudioInGetStatus ===
 
=== sceAudioInGetStatus ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 52: Line 215:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0x2F940377
+
| 0.940 || not present
 +
|-
 +
| 0.990-3.60 || 0x2F940377
 
|}
 
|}
 +
 +
<source lang="C">int sceAudioInGetStatus(int command);</source>
 +
 
=== sceAudioInInputWithInputDeviceState ===
 
=== sceAudioInInputWithInputDeviceState ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 59: Line 227:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0x343E8251
+
| 0.940 || not present
 +
|-
 +
| 1.69-3.60 || 0x343E8251
 
|}
 
|}
 +
 
=== sceAudioInOpenPort ===
 
=== sceAudioInOpenPort ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 66: Line 237:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0x39B50DC1
+
| 0.940-3.60 || 0x39B50DC1
 
|}
 
|}
 +
 +
<source lang="C">int sceAudioInOpenPort(SceAudioInPortType portType, int len, int freq, SceAudioInParam param);</source>
 +
 
=== sceAudioInReleasePort ===
 
=== sceAudioInReleasePort ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 73: Line 247:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0x3A61B8C4
+
| 0.940-3.60 || 0x3A61B8C4
 
|}
 
|}
 +
 +
<source lang="C">int sceAudioInReleasePort(int port);</source>
 +
 
=== sceAudioInGetAdopt ===
 
=== sceAudioInGetAdopt ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 80: Line 257:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0x566AC433
+
| 0.940 || not present
 +
|-
 +
| 0.990-3.60 || 0x566AC433
 
|}
 
|}
 +
 +
<source lang="C">int sceAudioInGetAdopt(SceAudioInPortType portType);</source>
 +
 
=== sceAudioInInput ===
 
=== sceAudioInInput ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 87: Line 269:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0x638ADD2D
+
| 0.940-3.60 || 0x638ADD2D
 
|}
 
|}
 +
 +
<source lang="C">int sceAudioInInput(int port, void *ptr);</source>
 +
 
=== sceAudioInGetMicGain ===
 
=== sceAudioInGetMicGain ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 94: Line 279:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0x86118097
+
| 0.940 || not present
 +
|-
 +
| 1.69-3.60 || 0x86118097
 
|}
 
|}
 +
 
=== sceAudioInSelectInput ===
 
=== sceAudioInSelectInput ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 101: Line 289:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0xA0EB852F
+
| 0.940 || not present
 +
|-
 +
| 0.990-3.60 || 0xA0EB852F
 
|}
 
|}
[[Category:Libraries]]
+
 
 +
=== sceAudioInOpenPortForDiag ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.940-1.69 || not present
 +
|-
 +
| 3.60 || 0xC6962E84
 +
|}
 +
 
 +
=== SceAudioIn_CCAF1985 ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.990 || 0xCCAF1985
 +
|-
 +
| 3.60 || not present
 +
|}
 +
 
 +
=== SceAudioIn_9B80FA84 ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.990 || 0x9B80FA84
 +
|-
 +
| 3.60 || not present
 +
|}
 +
 
 +
=== SceAudioIn_5D701E8E ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.990 || 0x5D701E8E
 +
|-
 +
| 3.60 || not present
 +
|}
 +
 
 +
=== SceAudioIn_5A8CB4C2 ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.990 || 0x5A8CB4C2
 +
|-
 +
| 3.60 || not present
 +
|}
 +
 
 +
=== SceAudioIn_5428ED22 ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.990 || 0x5428ED22
 +
|-
 +
| 3.60 || not present
 +
|}
 +
 
 +
=== SceAudioIn_40EE369F ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.990 || 0x40EE369F
 +
|-
 +
| 3.60 || not present
 +
|}
 +
 
 +
=== SceAudioIn_2335B974 ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.990 || 0x2335B974
 +
|-
 +
| 3.60 || not present
 +
|}
 +
 
 +
 
 +
 
 +
[[Category:Modules]]
 
[[Category:Kernel]]
 
[[Category:Kernel]]

Latest revision as of 02:11, 30 September 2020

Module

Version World Privilege
1.69-3.65 Non-secure Kernel

Libraries

Known NIDs

Version Name World Visibility NID
0.940-3.60 SceAudioInForDriver Non-secure Kernel 0x60928C22
0.940-3.60 SceAudioIn Non-secure User 0xF8DC61A3

Types

typedef enum SceAudioInErrorCode {
	//! Undefined error
	SCE_AUDIO_IN_ERROR_FATAL                = 0x80260100,
	//! Invalid port number
	SCE_AUDIO_IN_ERROR_INVALID_PORT         = 0x80260101,
	//! Invalid sample length
	SCE_AUDIO_IN_ERROR_INVALID_SIZE         = 0x80260102,
	//! Invalid sample frequency
	SCE_AUDIO_IN_ERROR_INVALID_SAMPLE_FREQ  = 0x80260103,
	//! Invalid port type
	SCE_AUDIO_IN_ERROR_INVALID_PORT_TYPE    = 0x80260104,
	//! Invalid pointer value
	SCE_AUDIO_IN_ERROR_INVALID_POINTER      = 0x80260105,
	//! Invalid port parameter
	SCE_AUDIO_IN_ERROR_INVALID_PORT_PARAMETER = 0x80260106,
	//! Cannot open more ports
	SCE_AUDIO_IN_ERROR_PORT_FULL            = 0x80260107,
	//! Not enough memory
	SCE_AUDIO_IN_ERROR_OUT_OF_MEMORY        = 0x80260108,
	//! Port is not opened
	SCE_AUDIO_IN_ERROR_NOT_OPENED           = 0x80260109,
	//! Tried to input while busy
	SCE_AUDIO_IN_ERROR_BUSY                 = 0x8026010A,
	//! Invalid parameter
	SCE_AUDIO_IN_ERROR_INVALID_PARAMETER    = 0x8026010B
} SceAudioInErrorCode;

typedef enum SceAudioInPortType {
	SCE_AUDIO_IN_PORT_TYPE_VOICE   = 0,
	SCE_AUDIO_IN_PORT_TYPE_RAW     = 2
} SceAudioInPortType;

typedef enum SceAudioInParam {
	SCE_AUDIO_IN_PARAM_FORMAT_S16_MONO  = 0,
	SCE_AUDIO_IN_GETSTATUS_MUTE         = 1
} SceAudioInParam;

SceAudioInForDriver

sceAudioInInputForDriver

Version NID
0.940-3.60 0x0AB2743C

sceAudioInReleasePortForDriver

Version NID
0.940-3.60 0x313C969A

sceAudioInOpenPortForDriver

Version NID
0.940-3.60 0x9C7404BF

SceAudioInForDriver_005A2A31

Version NID
0.940 not present
0.990-3.60 0x005A2A31
int SceAudioInForDriver_005A2A31(void);

SceAudioInForDriver_197CAA1B

Version NID
0.940 not present
0.990-3.60 0x197CAA1B

Writes value to memory.

int SceAudioInForDriver_197CAA1B(int value);

SceAudioInForDriver_3D164387

Version NID
0.940 not present
3.60 0x3D164387

SceAudioInForDriver_3EC79053

Version NID
0.940 not present
0.990-3.60 0x3EC79053

Writes value to memory.

int SceAudioInForDriver_3EC79053(int value);

sceAudioInSelectInputForDriver

Version NID
0.940 not present
0.990-3.60 0x44A497F8

SceAudioInForDriver_E4042F6F

Version NID
0.940 not present
0.990-3.60 0xE4042F6F

SceAudioInForDriver_FB46FA10

Version NID
0.940 not present
0.990-3.60 0xFB46FA10

SceAudioIn

SceAudioIn_7C6EBD49

Version NID
0.940 0x7C6EBD49
1.69-3.60 not present

sceAudioInGetInput

Version NID
0.940 not present
1.69-3.60 0x08105392

sceAudioInSetMicGain

Version NID
0.940 not present
1.69-3.60 0x0F34DD73

sceAudioInSetMute

Version NID
0.940 not present
0.990-3.60 0x1DFE7698

sceAudioInGetStatus

Version NID
0.940 not present
0.990-3.60 0x2F940377
int sceAudioInGetStatus(int command);

sceAudioInInputWithInputDeviceState

Version NID
0.940 not present
1.69-3.60 0x343E8251

sceAudioInOpenPort

Version NID
0.940-3.60 0x39B50DC1
int sceAudioInOpenPort(SceAudioInPortType portType, int len, int freq, SceAudioInParam param);

sceAudioInReleasePort

Version NID
0.940-3.60 0x3A61B8C4
int sceAudioInReleasePort(int port);

sceAudioInGetAdopt

Version NID
0.940 not present
0.990-3.60 0x566AC433
int sceAudioInGetAdopt(SceAudioInPortType portType);

sceAudioInInput

Version NID
0.940-3.60 0x638ADD2D
int sceAudioInInput(int port, void *ptr);

sceAudioInGetMicGain

Version NID
0.940 not present
1.69-3.60 0x86118097

sceAudioInSelectInput

Version NID
0.940 not present
0.990-3.60 0xA0EB852F

sceAudioInOpenPortForDiag

Version NID
0.940-1.69 not present
3.60 0xC6962E84

SceAudioIn_CCAF1985

Version NID
0.990 0xCCAF1985
3.60 not present

SceAudioIn_9B80FA84

Version NID
0.990 0x9B80FA84
3.60 not present

SceAudioIn_5D701E8E

Version NID
0.990 0x5D701E8E
3.60 not present

SceAudioIn_5A8CB4C2

Version NID
0.990 0x5A8CB4C2
3.60 not present

SceAudioIn_5428ED22

Version NID
0.990 0x5428ED22
3.60 not present

SceAudioIn_40EE369F

Version NID
0.990 0x40EE369F
3.60 not present

SceAudioIn_2335B974

Version NID
0.990 0x2335B974
3.60 not present