SceAudioin: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Module ==
== 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
|-
| 3.65 || SceAudioin || Non-secure || Kernel || 0x3DFB6F18
|}
|}


Line 19: 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 ==


          SceAudioInForDriver_005A2A31: 0x005A2A31
=== sceAudioInInputForDriver ===
          SceAudioInForDriver_0AB2743C: 0x0AB2743C
{| class="wikitable"
          SceAudioInForDriver_197CAA1B: 0x197CAA1B
|-
          SceAudioInForDriver_313C969A: 0x313C969A
! Version !! NID
          SceAudioInForDriver_3D164387: 0x3D164387
|-
          SceAudioInForDriver_3EC79053: 0x3EC79053
| 0.940-3.60 || 0x0AB2743C
          SceAudioInForDriver_44A497F8: 0x44A497F8
|}
          SceAudioInForDriver_9C7404BF: 0x9C7404BF
 
          SceAudioInForDriver_E4042F6F: 0xE4042F6F
=== sceAudioInReleasePortForDriver ===
          SceAudioInForDriver_FB46FA10: 0xFB46FA10
{| 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 ==
Line 76: Line 207:
| 0.940 || not present
| 0.940 || not present
|-
|-
| 1.69-3.60 || 0x1DFE7698
| 0.990-3.60 || 0x1DFE7698
|}
|}


Line 86: Line 217:
| 0.940 || not present
| 0.940 || not present
|-
|-
| 1.69-3.60 || 0x2F940377
| 0.990-3.60 || 0x2F940377
|}
|}
<source lang="C">int sceAudioInGetStatus(int command);</source>


=== sceAudioInInputWithInputDeviceState ===
=== sceAudioInInputWithInputDeviceState ===
Line 106: Line 239:
| 0.940-3.60 || 0x39B50DC1
| 0.940-3.60 || 0x39B50DC1
|}
|}
<source lang="C">int sceAudioInOpenPort(SceAudioInPortType portType, int len, int freq, SceAudioInParam param);</source>


=== sceAudioInReleasePort ===
=== sceAudioInReleasePort ===
Line 114: Line 249:
| 0.940-3.60 || 0x3A61B8C4
| 0.940-3.60 || 0x3A61B8C4
|}
|}
<source lang="C">int sceAudioInReleasePort(int port);</source>


=== sceAudioInGetAdopt ===
=== sceAudioInGetAdopt ===
Line 122: Line 259:
| 0.940 || not present
| 0.940 || not present
|-
|-
| 1.69-3.60 || 0x566AC433
| 0.990-3.60 || 0x566AC433
|}
|}
<source lang="C">int sceAudioInGetAdopt(SceAudioInPortType portType);</source>


=== sceAudioInInput ===
=== sceAudioInInput ===
Line 132: Line 271:
| 0.940-3.60 || 0x638ADD2D
| 0.940-3.60 || 0x638ADD2D
|}
|}
<source lang="C">int sceAudioInInput(int port, void *ptr);</source>


=== sceAudioInGetMicGain ===
=== sceAudioInGetMicGain ===
Line 150: Line 291:
| 0.940 || not present
| 0.940 || not present
|-
|-
| 1.69-3.60 || 0xA0EB852F
| 0.990-3.60 || 0xA0EB852F
|}
|}


Line 163: Line 304:
|}
|}


=== 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:ARM]]
[[Category:Kernel]]
[[Category:Modules]]
[[Category:Modules]]
[[Category:Kernel]]
[[Category:Library]]

Latest revision as of 20:44, 1 May 2023

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