vitasdk
Documentation of the vitasdk
ngs_internal.h
Go to the documentation of this file.
1 
7 #ifndef _PSP2_NGS_INTERNAL_H_
8 #define _PSP2_NGS_INTERNAL_H_
9 
10 #include <vitasdk/build_utils.h>
11 #include <psp2/types.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
31 
33 
34 typedef void (* SceNgsCallbackFunc)(const SceNgsCallbackInfo* callback_info);
35 
39 
40 // missing structs
43 typedef struct SceNgsBufferInfo SceNgsBufferInfo;
53 
61 SceInt32 sceNgsRackInitInternal(SceNgsHSynSystem system_handle, SceNgsBufferInfo *rack_buffer, const SceNgsRackDescription* rack_description, SceNgsHRack* rack_handle);
71 SceInt32 sceNgsSystemInitInternal(SceNgsBufferInfo* buffer_info, const SceUInt32 compiled_sdk_version, const SceNgsSystemInitParams* params, SceNgsHSynSystem* handle);
73 SceInt32 sceNgsSystemPullDataInternal(SceNgsHSynSystem handle, const SceUInt32 dirty_flags_a, const SceUInt32 dirty_flags_b);
84 SceInt32 sceNgsVoiceGetOutputPatchInternal(SceNgsHVoice handle, const SceInt32 nOutputIndex, const SceInt32 nSubIndex, SceNgsHPatch* pPatchHandle);
94 SceInt32 sceNgsVoiceSetModuleCallbackInternal(SceNgsHVoice handle, const SceUInt32 module, const SceNgsModuleCallbackFunc callback, void* callback_userdata);
96 
115 
116 #ifdef __cplusplus
117 }
118 #endif
119 
120 #endif /* _PSP2_NGS_INTERNAL_H_ */
uint8_t type
0 = read?, 1 = write?, 2 = feature?, 3 = ?
Definition: bt.h:2
SceSize size
struct size(variable size)
Definition: debug.h:0
int flags
Event flags.
Definition: debug.h:3
struct SceNgsVoicePreset SceNgsVoicePreset
Definition: ngs_internal.h:41
SceInt32 sceNgsModuleGetPresetInternal(SceNgsHSynSystem handle, const SceNgsModuleID module_id, const SceUInt32 preset_index, SceNgsBufferInfo *info)
const SceNgsVoiceDefinition * sceNgsVoiceDefGetScreamVoiceAT9Internal(void)
SceInt32 sceNgsSystemInitInternal(SceNgsBufferInfo *buffer_info, const SceUInt32 compiled_sdk_version, const SceNgsSystemInitParams *params, SceNgsHSynSystem *handle)
SceInt32 sceNgsVoiceDefinitionGetPresetInternal(const SceNgsVoiceDefinition *definition, const SceUInt32 index, const SceNgsVoicePreset **presets)
SceInt32 sceNgsSystemSetParamErrorCallbackInternal(SceNgsHSynSystem handle, const SceNgsParamsErrorCallbackFunc callback_id)
SceInt32 sceNgsSystemSetFlagsInternal(SceNgsHSynSystem handle, const SceUInt32 system_flags)
struct SceNgsCallbackInfo SceNgsCallbackInfo
Definition: ngs_internal.h:32
const SceNgsVoiceDefinition * sceNgsVoiceDefGetDistortionBussInternal(void)
struct SceNgsBufferInfo SceNgsBufferInfo
Definition: ngs_internal.h:43
struct SceNgsRackDescription SceNgsRackDescription
Definition: ngs_internal.h:48
SceInt32 sceNgsVoiceInitInternal(SceNgsHVoice handle, const SceNgsVoicePreset *preset, const SceUInt32 flags)
SceInt32 sceNgsVoiceGetParamsOutOfRangeBufferedInternal(SceNgsHVoice handle, const SceUInt32 module, char *message_buffer)
SceInt32 sceNgsSystemPullDataInternal(SceNgsHSynSystem handle, const SceUInt32 dirty_flags_a, const SceUInt32 dirty_flags_b)
const SceNgsVoiceDefinition * sceNgsVoiceDefGetPitchshiftBussInternal(void)
const SceNgsVoiceDefinition * sceNgsVoiceDefGetSimpleAtrac9VoiceInternal(void)
VITASDK_BUILD_ASSERT_EQ(4, SceNgsHRack)
SceInt32 sceNgsRackReleaseInternal(SceNgsHRack handle, const SceNgsRackReleaseCallbackFunc callback)
const SceNgsVoiceDefinition * sceNgsVoiceDefGetAtrac9VoiceInternal(void)
SceInt32 sceNgsSystemGetCallbackListInternal(SceNgsHSynSystem handle, SceNgsCallbackListInfo **array, SceUInt32 *array_size)
SceInt32 sceNgsVoiceSetFinishedCallbackInternal(SceNgsHVoice handle, const SceNgsCallbackFunc callback, void *userdata)
const SceNgsVoiceDefinition * sceNgsVoiceDefGetMasterBussInternal(void)
SceNgsCallbackFunc SceNgsRackReleaseCallbackFunc
Definition: ngs_internal.h:36
const SceNgsVoiceDefinition * sceNgsVoiceDefGetPauserBussInternal(void)
struct SceNgsVoiceDefinition SceNgsVoiceDefinition
Definition: ngs_internal.h:52
SceInt32 sceNgsRackSetParamErrorCallbackInternal(SceNgsHRack rack_handle, const SceNgsParamsErrorCallbackFunc callback)
SceInt32 sceNgsVoiceGetModuleBypassInternal(SceNgsHVoice handle, const SceUInt32 module, SceUInt32 *flag)
const SceNgsVoiceDefinition * sceNgsVoiceDefGetDelayBussInternal(void)
SceInt32 sceNgsVoiceBypassModuleInternal(SceNgsHVoice handle, const SceUInt32 module, const SceUInt32 flag)
SceInt32 sceNgsVoiceSetModuleCallbackInternal(SceNgsHVoice handle, const SceUInt32 module, const SceNgsModuleCallbackFunc callback, void *callback_userdata)
struct SulphaNgsModuleQuery SulphaNgsModuleQuery
Definition: ngs_internal.h:46
SceInt32 sceNgsSystemPushDataInternal(SceNgsHSynSystem handle)
struct SceNgsPatchSetupInfo SceNgsPatchSetupInfo
Definition: ngs_internal.h:49
SceUInt32 SceNgsHSynSystem
Definition: ngs_internal.h:21
SceInt32 sceNgsModuleGetNumPresetsInternal(SceNgsHSynSystem handle, const SceNgsModuleID module_id, SceUInt32 *num_presets)
SceInt32 sceNgsPatchCreateRoutingInternal(const SceNgsPatchSetupInfo *info, SceNgsHPatch *handle)
SceInt32 sceNgsSystemReleaseInternal(SceNgsHSynSystem handle)
SceInt32 sceNgsSulphaGetInfoInternal(const SulphaNgsRegistration *obj_reg, SceNgsBufferInfo *info)
SceUInt32 SulphaNgsModuleQueryType
Definition: ngs_internal.h:25
SceInt32 sceNgsVoiceResumeInternal(SceNgsHVoice handle)
const SceNgsVoiceDefinition * sceNgsVoiceDefGetSasEmuVoiceInternal(void)
void(* SceNgsCallbackFunc)(const SceNgsCallbackInfo *callback_info)
Definition: ngs_internal.h:34
SceInt32 sceNgsSulphaGetSynthUpdateCallbackInternal(SceNgsHSynSystem handle, SceNgsSulphaUpdateCallback *update_callback, SceNgsBufferInfo *info)
SceInt32 sceNgsSulphaQueryModuleInternal(SulphaNgsModuleQueryType type, SulphaNgsModuleQuery *debug)
SceInt32 sceNgsModuleCheckParamsInRangeInternal(SceNgsHVoice handle, const SceNgsModuleID module_id, const SceNgsParamsDescriptor *descriptor, const SceUInt32 size)
SceUInt32 SceNgsHRack
Definition: ngs_internal.h:17
const SceNgsVoiceDefinition * sceNgsVoiceDefGetSimpleVoiceInternal(void)
SceInt32 sceNgsVoiceClearDirtyFlagInternal(SceNgsHVoice handle, const SceUInt32 param_bit_flag)
SceInt32 sceNgsSystemGetRequiredMemorySizeInternal(const SceNgsSystemInitParams *params, SceUInt32 *size)
SceInt32 sceNgsSystemUnlockInternal(SceNgsHSynSystem handle)
SceInt32 sceNgsPatchRemoveRoutingInternal(SceNgsHPatch handle)
const SceNgsVoiceDefinition * sceNgsVoiceDefGetCompressorBussInternal(void)
struct SceNgsCallbackListInfo SceNgsCallbackListInfo
Definition: ngs_internal.h:45
SceNgsCallbackFunc SceNgsParamsErrorCallbackFunc
Definition: ngs_internal.h:38
SceInt32 sceNgsVoicePauseInternal(SceNgsHVoice handle)
const SceNgsVoiceDefinition * sceNgsVoiceDefGetEqBussInternal(void)
const SceNgsVoiceDefinition * sceNgsVoiceDefGetScreamVoiceInternal(void)
SceInt32 sceNgsVoiceKillInternal(SceNgsHVoice handle)
SceUInt32 SceNgsModuleID
Definition: ngs_internal.h:27
SceInt32 sceNgsSystemLockInternal(SceNgsHSynSystem handle)
struct SceNgsParamsDescriptor SceNgsParamsDescriptor
Definition: ngs_internal.h:50
SceUInt32 SceNgsHVoice
Definition: ngs_internal.h:23
SceInt32 sceNgsVoiceKeyOffInternal(SceNgsHVoice handle)
SceNgsCallbackFunc SceNgsModuleCallbackFunc
Definition: ngs_internal.h:37
SceInt32 sceNgsRackGetVoiceHandleInternal(SceNgsHRack rack_handle, const SceUInt32 index, SceNgsHVoice *voice_handle)
void * SceNgsSulphaUpdateCallback
Definition: ngs_internal.h:29
struct SulphaNgsRegistration SulphaNgsRegistration
Definition: ngs_internal.h:47
SceInt32 sceNgsRackGetRequiredMemorySizeInternal(SceNgsHSynSystem handle, const SceNgsRackDescription *rack_description, SceUInt32 *user_size)
SceInt32 sceNgsRackInitInternal(SceNgsHSynSystem system_handle, SceNgsBufferInfo *rack_buffer, const SceNgsRackDescription *rack_description, SceNgsHRack *rack_handle)
SceInt32 sceNgsVoiceSetPresetInternal(SceNgsHVoice handle, const SceNgsVoicePreset *preset)
const SceNgsVoiceDefinition * sceNgsVoiceDefGetCompressorSideChainBussInternal(void)
SceInt32 sceNgsSulphaSetSynthUpdateCallbackInternal(SceNgsHSynSystem handle, SceNgsSulphaUpdateCallback update_callback, SceNgsBufferInfo *info)
const SceNgsVoiceDefinition * sceNgsVoiceDefGetReverbBussInternal(void)
SceInt32 sceNgsSystemUpdateInternal(SceNgsHSynSystem handle)
struct SceNgsSystemInitParams SceNgsSystemInitParams
Definition: ngs_internal.h:42
SceInt32 sceNgsSulphaGetModuleListInternal(SceUInt32 *module_ids, SceUInt32 in_array_count, SceUInt32 *count)
SceInt32 sceNgsVoiceSetAllBypassesInternal(SceNgsHVoice handle, const SceUInt32 bitflag)
SceInt32 sceNgsVoicePlayInternal(SceNgsHVoice handle)
const SceNgsVoiceDefinition * sceNgsVoiceDefGetTemplate1Internal(void)
SceInt32 sceNgsVoiceGetOutputPatchInternal(SceNgsHVoice handle, const SceInt32 nOutputIndex, const SceInt32 nSubIndex, SceNgsHPatch *pPatchHandle)
const SceNgsVoiceDefinition * sceNgsVoiceDefGetMixerBussInternal(void)
const SceNgsVoiceDefinition * sceNgsVoiceDefGetEnvelopeBussInternal(void)
SceUInt32 SceNgsHPatch
Definition: ngs_internal.h:19
int32_t SceInt32
Definition: types.h:44
uint32_t SceUInt32
Definition: types.h:45