SceNgsUser: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
No edit summary
 
(5 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 !! Name !! World !! Privilege
|-
|-
| 3.60 || SceNgsUser || Non-secure || User || 0x640BDA36
| 3.60 || SceNgsUser || Non-secure || User
|}
|}


Line 359: Line 358:
| 3.60 || 0xCD63A2BF
| 3.60 || 0xCD63A2BF
|}
|}
<source lang="C">const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetScreamAtrac9Voice(void);</source>


=== sceNgsVoiceDefGetScreamVoice ===
=== sceNgsVoiceDefGetScreamVoice ===
Line 367: Line 368:
| 3.60 || 0xCE53BC33
| 3.60 || 0xCE53BC33
|}
|}
<source lang="C">const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetScreamVoice(void);</source>


=== sceNgsVoiceDefGetSimpleAtrac9Voice ===
=== sceNgsVoiceDefGetSimpleAtrac9Voice ===
Line 495: Line 498:
| 0.990-3.60 || 0xAB6BEF8F
| 0.990-3.60 || 0xAB6BEF8F
|}
|}
On 0.990, wrapper to sceNgsVoiceLockParamsInternal. On 3.60, as sceNgsVoiceLockParamsInternal has been removed, sceNgsVoiceLockParams does not use any SceNgsInternal syscall and instead does the job itself.


<source lang="C">SceInt32 sceNgsVoiceLockParams(SceNgsHVoice hVoiceHandle, const SceUInt32 uModule, const SceNgsParamsID uParamsInterfaceId, SceNgsBufferInfo* pParamsBuffer);</source>
<source lang="C">SceInt32 sceNgsVoiceLockParams(SceNgsHVoice hVoiceHandle, const SceUInt32 uModule, const SceNgsParamsID uParamsInterfaceId, SceNgsBufferInfo* pParamsBuffer);</source>
Line 605: Line 610:
| 0.990-3.60 || 0x3D46D8A7
| 0.990-3.60 || 0x3D46D8A7
|}
|}
On 0.990, wrapper to sceNgsVoiceUnlockParamsInternal. On 3.60, as sceNgsVoiceUnlockParamsInternal has been removed, sceNgsVoiceUnlockParams does not use any SceNgsInternal syscall and instead does the job itself.


<source lang="C">SceInt32 sceNgsVoiceUnlockParams(SceNgsHVoice hVoiceHandle, const SceUInt32 uModule);</source>
<source lang="C">SceInt32 sceNgsVoiceUnlockParams(SceNgsHVoice hVoiceHandle, const SceUInt32 uModule);</source>
Line 698: Line 705:
<source lang="C">int sceSulphaNgsTrace(const char *message);</source>
<source lang="C">int sceSulphaNgsTrace(const char *message);</source>


 
[[Category:ARM]]
[[Category:Usermode]]
[[Category:Modules]]
[[Category:Modules]]
[[Category:Userland]]
[[Category:Library]]

Latest revision as of 21:22, 1 May 2023

Module

Version Name World Privilege
3.60 SceNgsUser Non-secure User

Libraries

Known NIDs

Version Name World Visibility NID
3.60 SceNgs Non-secure User 0xB01598D9

SceNgs

sceNgsAT9GetSectionDetails

Version NID
0.995-3.60 0x2A9FA501
SceInt32 sceNgsAT9GetSectionDetails(const SceInt32 nStartSampleOffset, const SceInt32 nNumSamples, const SceInt32 nConfigData, SceNgsAT9SkipBufferInfo* pAt9InfoBuffer);

sceNgsModuleGetNumPresets

Version NID
0.990-3.60 0x5C71FE09
SceInt32 sceNgsModuleGetNumPresets(SceNgsHSynSystem hSystemHandle, const SceNgsModuleID uModuleID, SceUInt32* puNumPresets);

sceNgsModuleGetPreset

Version NID
0.990-3.60 0xC58298A7
SceInt32 sceNgsModuleGetPreset(SceNgsHSynSystem hSystemHandle, const SceNgsModuleID uModuleID, const SceUInt32 uPresetIndex, SceNgsBufferInfo* pParamsBuffer);

sceNgsPatchCreateRouting

Version NID
0.990-3.60 0xD668B49C
SceInt32 sceNgsPatchCreateRouting(const SceNgsPatchSetupInfo* pPatchInfo, SceNgsHPatch* pPatchHandle);

sceNgsPatchGetInfo

Version NID
0.990-3.60 0x98703DBC
SceInt32 sceNgsPatchGetInfo(SceNgsHPatch hPatchHandle, SceNgsPatchRouteInfo* pRouteInfo, SceNgsPatchSetupInfo* pSetup);

sceNgsPatchRemoveRouting

Version NID
0.990-3.60 0xD0C9AE5A
SceInt32 sceNgsPatchRemoveRouting(SceNgsHPatch hPatchHandle);

sceNgsRackGetRequiredMemorySize

Version NID
0.990-3.60 0x477318C0
SceInt32 sceNgsRackGetRequiredMemorySize(SceNgsHSynSystem hSystemHandle, const SceNgsRackDescription* pRackDesc, SceUInt32* pnSize);

sceNgsRackGetVoiceHandle

Version NID
0.990-3.60 0xFE1A98E9
SceInt32 sceNgsRackGetVoiceHandle(SceNgsHRack hRackHandle, const SceUInt32 uIndex, SceNgsHVoice* pVoiceHandle);

sceNgsRackInit

Version NID
0.990-3.60 0x0A92E4EC
SceInt32 sceNgsRackInit(SceNgsHSynSystem hSystemHandle, SceNgsBufferInfo* pRackBuffer, const SceNgsRackDescription* pRackDesc, SceNgsHRack* pRackHandle);

sceNgsRackRelease

Version NID
0.990-3.60 0xDD5CA10B
SceInt32 sceNgsRackRelease(SceNgsHRack hRackHandle,  const SceNgsRackReleaseCallbackFunc callbackFuncPtr);

sceNgsRackSetParamErrorCallback

Version NID
0.990-3.60 0x534B6E3F
SceInt32 sceNgsRackSetParamErrorCallback(SceNgsHRack hRackHandle, const SceNgsParamsErrorCallbackFunc callbackFuncPtr);

sceNgsSystemGetRequiredMemorySize

Version NID
0.990-3.60 0x6CE8B36F
SceInt32 sceNgsSystemGetRequiredMemorySize(const SceNgsSystemInitParams* pSynthParams, SceUInt32* pnSize);

sceNgsSystemInit

Version NID
0.990-3.60 0xED14CF4A
SceInt32 sceNgsSystemInit(void* pSynthSysMemory, const SceUInt32 uMemSize, const SceNgsSystemInitParams* pSynthParams, SceNgsHSynSystem* pSystemHandle);

sceNgsSystemLock

Version NID
0.990-3.60 0xB9D971F2
SceInt32 sceNgsSystemLock(SceNgsHSynSystem hSystemHandle);

sceNgsSystemRelease

Version NID
0.990-3.60 0x4A25BEBC
SceInt32 sceNgsSystemRelease(SceNgsHSynSystem hSystemHandle);

sceNgsSystemSetFlags

Version NID
0.990-3.60 0x64D80013
SceInt32 sceNgsSystemSetFlags(SceNgsHSynSystem hSystemHandle, const SceUInt32 uSystemFlags);

sceNgsSystemSetParamErrorCallback

Version NID
0.990-3.60 0x5ADD22DC
SceInt32 sceNgsSystemSetParamErrorCallback(SceNgsHSynSystem hSystemHandle, const SceNgsParamsErrorCallbackFunc callbackFuncPtr);

sceNgsSystemUnlock

Version NID
0.990-3.60 0x0A93EA96
SceInt32 sceNgsSystemUnlock(SceNgsHSynSystem hSystemHandle);

sceNgsSystemUpdate

Version NID
0.990-3.60 0x684F080C
SceInt32 sceNgsSystemUpdate(SceNgsHSynSystem hSystemHandle);

sceNgsVoiceBypassModule

Version NID
0.990-3.60 0x9AB87E71
SceInt32 sceNgsVoiceBypassModule(SceNgsHVoice hVoiceHandle, const SceUInt32 uModule, const SceUInt32 uBypassFlag);

sceNgsVoiceDefGetAtrac9Voice

Version NID
0.990-3.60 0x14EF65A0
const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetAtrac9Voice(void);

sceNgsVoiceDefGetCompressorBuss

Version NID
0.990-3.60 0x0E0ACB68
const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetCompressorBuss(void);

sceNgsVoiceDefGetCompressorSideChainBuss

Version NID
0.990-3.60 0x1AF83512
const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetCompressorSideChainBuss(void);

sceNgsVoiceDefGetDelayBuss

Version NID
0.990-3.60 0x4D705E3E
const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetDelayBuss(void);

sceNgsVoiceDefGetDistortionBuss

Version NID
0.990-3.60 0xAAD90DEB
const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetDistortionBuss(void);

sceNgsVoiceDefGetEnvelopeBuss

Version NID
0.990-3.60 0xF6B68C31
const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetEnvelopeBuss(void);

sceNgsVoiceDefGetEqBuss

Version NID
0.990-3.60 0xF964120E
const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetEqBuss(void);

sceNgsVoiceDefGetMasterBuss

Version NID
0.990-3.60 0x79A121D1
const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetMasterBuss(void);

sceNgsVoiceDefGetMixerBuss

Version NID
0.990-3.60 0xE0AC8776
const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetMixerBuss(void);

sceNgsVoiceDefGetPauserBuss

Version NID
0.990-3.60 0x214485D6
const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetPauserBuss(void);

sceNgsVoiceDefGetPitchShiftBuss

Version NID
3.60 0xFBE515D4
const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetPitchShiftBuss(void);

sceNgsVoiceDefGetReverbBuss

Version NID
0.990-3.60 0x9DCF50F5
const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetReverbBuss(void);

sceNgsVoiceDefGetSasEmuVoice

Version NID
0.990-3.60 0x1F51C2BA
const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetSasEmuVoice(void);

sceNgsVoiceDefGetScreamAtrac9Voice

Version NID
3.60 0xCD63A2BF
const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetScreamAtrac9Voice(void);

sceNgsVoiceDefGetScreamVoice

Version NID
3.60 0xCE53BC33
const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetScreamVoice(void);

sceNgsVoiceDefGetSimpleAtrac9Voice

Version NID
3.60 0x45CF2A73
const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetSimpleAtrac9Voice(void);

sceNgsVoiceDefGetSimpleVoice

Version NID
0.990-3.60 0x0D5399CF
const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetSimpleVoice(void);

sceNgsVoiceDefGetTemplate1

Version NID
0.990-3.60 0xE9B572B7
const struct SceNgsVoiceDefinition* sceNgsVoiceDefGetTemplate1(void);

sceNgsVoiceGetInfo

Version NID
0.990-3.60 0x5551410D
SceInt32 sceNgsVoiceGetInfo(SceNgsHVoice hVoiceHandle, SceNgsVoiceInfo* pInfo);

sceNgsVoiceGetModuleBypass

Version NID
0.990-3.60 0x431BF3AB
SceInt32 sceNgsVoiceGetModuleBypass(SceNgsHVoice hVoiceHandle, const SceUInt32 uModule, SceUInt32* puBypassFlag);

sceNgsVoiceGetModuleType

Version NID
0.990-3.60 0xB307185E
SceInt32 sceNgsVoiceGetModuleType(SceNgsHVoice hVoiceHandle, const SceUInt32 uModule, SceNgsModuleID* pModuleType);

sceNgsVoiceGetOutputPatch

Version NID
0.990-3.60 0x01A52E3A
SceInt32 sceNgsVoiceGetOutputPatch(SceNgsHVoice hVoiceHandle, const SceInt32 nOutputIndex, const SceInt32 nSubIndex, SceNgsHPatch* pPatchHandle);

sceNgsVoiceGetParamsOutOfRange

Version NID
0.990-3.60 0x4CBE08F3
SceInt32 sceNgsVoiceGetParamsOutOfRange(SceNgsHVoice hVoiceHandle, const SceUInt32 uModule, char* pszMessageBuffer);

sceNgsVoiceGetStateData

Version NID
0.990-3.60 0xC9B8C0B4
SceInt32 sceNgsVoiceGetStateData(SceNgsHVoice hVoiceHandle, const SceUInt32 uModule, void* pMem, const SceUInt32 uMemSize);

sceNgsVoiceInit

Version NID
0.990-3.60 0x1DDBEBEB
SceInt32 sceNgsVoiceInit(SceNgsHVoice hVoiceHandle, const SceNgsVoicePreset* pPreset, const SceUInt32 uInitFlags);

sceNgsVoiceKeyOff

Version NID
0.990-3.60 0xBB13373D
SceInt32 sceNgsVoiceKeyOff(SceNgsHVoice hVoiceHandle);

sceNgsVoiceKill

Version NID
0.990-3.60 0x0E291AAD
SceInt32 sceNgsVoiceKill(SceNgsHVoice hVoiceHandle);

sceNgsVoiceLockParams

Version NID
0.990-3.60 0xAB6BEF8F

On 0.990, wrapper to sceNgsVoiceLockParamsInternal. On 3.60, as sceNgsVoiceLockParamsInternal has been removed, sceNgsVoiceLockParams does not use any SceNgsInternal syscall and instead does the job itself.

SceInt32 sceNgsVoiceLockParams(SceNgsHVoice hVoiceHandle, const SceUInt32 uModule, const SceNgsParamsID uParamsInterfaceId, SceNgsBufferInfo* pParamsBuffer);

sceNgsVoicePatchSetVolume

Version NID
0.990-3.60 0xA3C807BC
SceInt32 sceNgsVoicePatchSetVolume(SceNgsHPatch hPatchHandle, const SceInt32 nOutputChannel, const SceInt32 nInputChannel, const SceFloat32 fVol);

sceNgsVoicePatchSetVolumes

Version NID
0.990-3.60 0xBD6F57F0
SceInt32 sceNgsVoicePatchSetVolumes(SceNgsHPatch hPatchHandle, const SceInt32 nOutputChannel, const SceFloat32* pVolumes, const SceInt32 nVols);

sceNgsVoicePatchSetVolumesMatrix

Version NID
0.990-3.60 0xA0F5402D
SceInt32 sceNgsVoicePatchSetVolumesMatrix(SceNgsHPatch hPatchHandle, const SceNgsVolumeMatrix* pMatrix);

sceNgsVoicePause

Version NID
0.990-3.60 0xD7786E99
SceInt32 sceNgsVoicePause(SceNgsHVoice hVoiceHandle);

sceNgsVoicePlay

Version NID
0.990-3.60 0xFA0A0F34
SceInt32 sceNgsVoicePlay(SceNgsHVoice hVoiceHandle);

sceNgsVoiceResume

Version NID
0.990-3.60 0x54CFB981
SceInt32 sceNgsVoiceResume(SceNgsHVoice hVoiceHandle);

sceNgsVoiceSetFinishedCallback

Version NID
0.990-3.60 0x17A6F564
SceInt32 sceNgsVoiceSetFinishedCallback(SceNgsHVoice hVoiceHandle, const SceNgsCallbackFunc callbackFuncPtr, void* pUserData);

sceNgsVoiceSetModuleCallback

Version NID
0.990-3.60 0x24E909A8
SceInt32 sceNgsVoiceSetModuleCallback(SceNgsHVoice hVoiceHandle, const SceUInt32 uModule, const SceNgsModuleCallbackFunc callbackFuncPtr, void* pUserData);

sceNgsVoiceSetParamsBlock

Version NID
0.990-3.60 0xFB8174B1
SceInt32 sceNgsVoiceSetParamsBlock(SceNgsHVoice hVoiceHandle, const SceNgsModuleParamHeader* pParamData, const SceUInt32 uSize, SceInt32* pnErrorCount);

sceNgsVoiceSetPreset

Version NID
0.990-3.60 0x8A88E665
SceInt32 sceNgsVoiceSetPreset(SceNgsHVoice hVoiceHandle, const SceNgsVoicePreset* pVoicePreset);

sceNgsVoiceUnlockParams

Version NID
0.990-3.60 0x3D46D8A7

On 0.990, wrapper to sceNgsVoiceUnlockParamsInternal. On 3.60, as sceNgsVoiceUnlockParamsInternal has been removed, sceNgsVoiceUnlockParams does not use any SceNgsInternal syscall and instead does the job itself.

SceInt32 sceNgsVoiceUnlockParams(SceNgsHVoice hVoiceHandle, const SceUInt32 uModule);

sceSulphaNgsGetDefaultConfig

Version NID
0.990-3.60 0x5FD8AEDB
int sceSulphaNgsGetDefaultConfig(SceSulphaNgsConfig *config);

sceSulphaNgsGetNeededMemory

Version NID
0.990-3.60 0x793E3E8C
int sceSulphaNgsGetNeededMemory(const SceSulphaNgsConfig *config, SceUInt32 *sizeInBytes);

sceSulphaNgsInit

Version NID
0.990-3.60 0xAFCD824F
int sceSulphaNgsInit(const SceSulphaNgsConfig *config, void *buffer, SceUInt32 sizeInBytes);

sceSulphaNgsSetRackName

Version NID
0.990-3.60 0x251AF6A9
int sceSulphaNgsSetRackName(SceNgsHRack rackHandle, const char *name);

sceSulphaNgsSetSampleName

Version NID
0.990-3.60 0x54EC5B8D
int sceSulphaNgsSetSampleName(const void *location, SceUInt32 length, const char *name);

sceSulphaNgsSetSynthName

Version NID
0.990-3.60 0x2F3F7515
int sceSulphaNgsSetSynthName(SceNgsHSynSystem synthHandle, const char *name);

sceSulphaNgsSetVoiceName

Version NID
0.990-3.60 0x508975BD
int sceSulphaNgsSetVoiceName(SceNgsHVoice voiceHandle, const char *name);

sceSulphaNgsShutdown

Version NID
0.990-3.60 0xD124BFB1
int sceSulphaNgsShutdown(void);

sceSulphaNgsTrace

Version NID
0.990-3.60 0xDC7C0F05
int sceSulphaNgsTrace(const char *message);