SceAudioin: Difference between revisions
Jump to navigation
Jump to search
CelesteBlue (talk | contribs) |
CelesteBlue (talk | contribs) No edit summary |
||
Line 19: | Line 19: | ||
! Version !! Name !! World !! Visibility !! NID | ! Version !! Name !! World !! Visibility !! NID | ||
|- | |- | ||
| | | 0.940-3.60 || [[SceAudioin#SceAudioInForDriver|SceAudioInForDriver]] || Non-secure || Kernel || 0x60928C22 | ||
|- | |- | ||
| | | 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 | |||
|- | |||
| 3.60 || 0x005A2A31 | |||
|} | |||
<source lang="C">int SceAudioInForDriver_005A2A31(void);</source> | |||
=== SceAudioInForDriver_197CAA1B === | |||
{| class="wikitable" | |||
|- | |||
! Version !! NID | |||
|- | |||
| 0.940 || not present | |||
|- | |||
| 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 | |||
|- | |||
| 3.60 || 0x3EC79053 | |||
|} | |||
Writes value to memory. | |||
<source lang="C">int SceAudioInForDriver_3EC79053(int value);</source> | |||
=== SceAudioInForDriver_44A497F8 === | |||
{| class="wikitable" | |||
|- | |||
! Version !! NID | |||
|- | |||
| 0.940 || not present | |||
|- | |||
| 3.60 || 0x44A497F8 | |||
|} | |||
=== SceAudioInForDriver_E4042F6F === | |||
{| class="wikitable" | |||
|- | |||
! Version !! NID | |||
|- | |||
| 0.940 || not present | |||
|- | |||
| 3.60 || 0xE4042F6F | |||
|} | |||
=== SceAudioInForDriver_FB46FA10 === | |||
{| class="wikitable" | |||
|- | |||
! Version !! NID | |||
|- | |||
| 0.940 || not present | |||
|- | |||
| 3.60 || 0xFB46FA10 | |||
|} | |||
== SceAudioIn == | == SceAudioIn == | ||
Line 88: | Line 222: | ||
| 1.69-3.60 || 0x2F940377 | | 1.69-3.60 || 0x2F940377 | ||
|} | |} | ||
<source lang="C">int sceAudioInGetStatus(int command);</source> | |||
=== sceAudioInInputWithInputDeviceState === | === sceAudioInInputWithInputDeviceState === | ||
Line 106: | Line 242: | ||
| 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 252: | ||
| 0.940-3.60 || 0x3A61B8C4 | | 0.940-3.60 || 0x3A61B8C4 | ||
|} | |} | ||
<source lang="C">int sceAudioInReleasePort(int port);</source> | |||
=== sceAudioInGetAdopt === | === sceAudioInGetAdopt === | ||
Line 124: | Line 264: | ||
| 1.69-3.60 || 0x566AC433 | | 1.69-3.60 || 0x566AC433 | ||
|} | |} | ||
<source lang="C">int sceAudioInGetAdopt(SceAudioInPortType portType);</source> | |||
=== sceAudioInInput === | === sceAudioInInput === | ||
Line 132: | Line 274: | ||
| 0.940-3.60 || 0x638ADD2D | | 0.940-3.60 || 0x638ADD2D | ||
|} | |} | ||
<source lang="C">int sceAudioInInput(int port, void *ptr);</source> | |||
=== sceAudioInGetMicGain === | === sceAudioInGetMicGain === |
Revision as of 01:19, 8 April 2020
Module
Known NIDs
Version | Name | World | Privilege | NID |
---|---|---|---|---|
1.69 | SceAudioin | Non-secure | Kernel | 0x67F986A4 |
3.65 | SceAudioin | Non-secure | Kernel | 0x3DFB6F18 |
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 |
3.60 | 0x005A2A31 |
int SceAudioInForDriver_005A2A31(void);
SceAudioInForDriver_197CAA1B
Version | NID |
---|---|
0.940 | not present |
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 |
3.60 | 0x3EC79053 |
Writes value to memory.
int SceAudioInForDriver_3EC79053(int value);
SceAudioInForDriver_44A497F8
Version | NID |
---|---|
0.940 | not present |
3.60 | 0x44A497F8 |
SceAudioInForDriver_E4042F6F
Version | NID |
---|---|
0.940 | not present |
3.60 | 0xE4042F6F |
SceAudioInForDriver_FB46FA10
Version | NID |
---|---|
0.940 | not present |
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 |
1.69-3.60 | 0x1DFE7698 |
sceAudioInGetStatus
Version | NID |
---|---|
0.940 | not present |
1.69-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 |
1.69-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 |
1.69-3.60 | 0xA0EB852F |
sceAudioInOpenPortForDiag
Version | NID |
---|---|
0.940-1.69 | not present |
3.60 | 0xC6962E84 |