Advertisement
Kitomas

function list as of 2023-10-27

Oct 27th, 2023
809
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 7.09 KB | None | 0 0
  1. CORE:
  2.            int   kit_coreRealloc (void *ptr_p, size_t size_old, size_t size_new)
  3.            int   kit_coreInit (Uint32 flags)
  4.            int   kit_coreQuit ()
  5.            int   kit_coreVectorSet (kit_coreVector **Vector_p, Uint32 x_new, Uint32 y_new, Uint32 z_new)
  6.            int   kit_coreVectorAdd (kit_coreVector **Vector_p, Sint32 x_add, Sint32 y_add, Sint32 z_add)
  7.            int   kit_coreVectorTrim (kit_coreVector **Vector_p, char axis, kit_coreVectorUnitCallback callback)
  8.         Uint32   kit_coreVectorAppend (kit_coreVector **Vector_p, void *src, Uint32 y_pos, Uint32 z_pos)
  9.         Uint32   kit_coreVectorInsert (kit_coreVector **Vector_p, void *src, Uint32 y_pos, Uint32 z_pos, kit_coreVectorUnitCallback callback)
  10.            int   kit_coreVectorDestroy (kit_coreVector **Vector_p)
  11. kit_coreVector * kit_coreVectorCreate (Uint32 x, Uint32 y, Uint32 z, Uint32 unit, Uint64 type_n)
  12. kit_coreVector * kit_coreVectorCopy (kit_coreVector *Vector)
  13.         size_t   kit_coreFileSize (const char *filePath)
  14.         size_t   kit_coreFileReadBin (const char *filePath, void *buffer_p, size_t chunkSize)
  15.            int   kit_coreFileWriteBin (const char *filePath, void *buffer, size_t bufferSize, size_t chunkSize)
  16.           char * kit_coreFstr (kit_coreFstr_t *buffer, const char *fmt,...)
  17.        wchar_t * kit_coreFstrw (kit_coreFstr_t *buffer, const wchar_t *fmt,...)
  18.            int   kit_coreFstrDestroy (kit_coreFstr_t **buffer_p)
  19. kit_coreFstr_t * kit_coreFstrCreate (Uint32 buffer_size)
  20.  
  21.  
  22.  
  23. ACODEC:
  24.           int   kit_acodecPCMDestroy (kit_acodecPCM **pcm_p)
  25. kit_acodecPCM * kit_acodecPCMCreate (SDL_AudioFormat format, Uint16 channels, Uint32 sampleRate, Uint64 numSamples)
  26. kit_acodecPCM * kit_acodecPCMCopy (kit_acodecPCM *pcm)
  27. kit_acodecPCM * kit_acodecPCMRead (const char *filePath)
  28.           int   kit_acodecPCMWrite (kit_acodecPCM *pcm, const char *filePath)
  29.           int   kit_acodecPCMSetNumSamples (kit_acodecPCM **pcm_p, Uint64 numSamples)
  30. kit_acodecPCM * kit_acodecPCMConvertStereo (kit_acodecPCM *pcm, SDL_bool toStereo)
  31. kit_acodecPCM * kit_acodecPCMConvertFormat (kit_acodecPCM *pcm, SDL_AudioFormat format)
  32. kit_acodecPCM * kit_acodecPCMResample (kit_acodecPCM *pcm, Uint32 sampleRate, SDL_bool linearInterpolation)
  33. kit_acodecPCM * kit_acodecWAVRead (const char *filePath)
  34.  
  35.           int   kit_acodecWAVWrite (kit_acodecPCM *pcm, const char *filePath)
  36. kit_acodecPCM * kit_acodecLoadAudio (const char *filePath, SDL_AudioFormat format, Uint32 sampleRate, SDL_bool linearInterpolation)
  37.  
  38.  
  39.  
  40. KMIXER:
  41.                 int   kit_kmixerInit(float numDeviceThreads)
  42.                 int   kit_kmixerQuit()
  43.                 int   kit_kmixerDeviceLock(kit_kmixerDevice *device, SDL_bool lockState)
  44.                 int   kit_kmixerDevicePlay(kit_kmixerDevice *device, SDL_bool playState)
  45.                 int   kit_kmixerDeviceClose(kit_kmixerDevice **device_p)
  46.    kit_kmixerDevice * kit_kmixerDeviceOpen(const char *deviceName, int allowedChanges, const kit_kmixerVoiceSpec *voiceSpecDesired, kit_kmixerVoiceSpec *voiceSpecObtained)
  47.                 int   kit_kmixerDeviceUnpauseAndWait(kit_kmixerDevice *device)
  48.                 int   kit_kmixerDevicePauseAndWait(kit_kmixerDevice *device)
  49.                 int   kit_kmixerVoiceRemove(kit_kmixerDevice *device, Uint32 voiceID)
  50.              Uint32   kit_kmixerVoiceAdd(kit_kmixerDevice *device, kit_kmixerVoiceSpec *spec, Uint32 outputVoiceID)
  51.                 int   kit_kmixerVoiceRedirect(kit_kmixerDevice *device, Uint32 inputVoiceID, Uint32 outputVoiceID)
  52.              Uint32   kit_kmixerVoiceGetNumInputs(kit_kmixerDevice *device, Uint32 voiceID)
  53.      kit_coreVector * kit_kmixerVoiceGetInputs(kit_kmixerDevice *device, Uint32 voiceID)
  54.              Uint32   kit_kmixerVoiceGetOutput(kit_kmixerDevice *device, Uint32 voiceID)
  55.                 int   kit_kmixerVoiceGetActive(kit_kmixerDevice *device, Uint32 voiceID)
  56.                 int   kit_kmixerVoiceSetActive(kit_kmixerDevice *device, Uint32 voiceID, SDL_bool isActive)
  57.                 int   kit_kmixerVoiceSetActiveChain(kit_kmixerDevice *device, Uint32 voiceID, SDL_bool isActive)
  58.              Uint32   kit_kmixerVoiceGetChainStage(kit_kmixerDevice *device, Uint32 voiceID)
  59. kit_kmixerVoiceSpec   kit_kmixerVoiceGetSpec(kit_kmixerDevice *device, Uint32 voiceID)
  60. kit_kmixerVoiceSpec * kit_kmixerVoiceGetSpecRef(kit_kmixerDevice *device, Uint32 voiceID)
  61.                 int   kit_kmixerVoiceSetSpecRemove(kit_kmixerDevice *device, Uint32 voiceID, kit_kmixerVoiceRemoveCallback remove)
  62.                 int   kit_kmixerVoiceSetSpecCallback(kit_kmixerDevice *device, Uint32 voiceID, kit_kmixerVoiceCallback callback)
  63.                 int   kit_kmixerVoiceSetSpecUserdata(kit_kmixerDevice *device, Uint32 voiceID, void *userdata)
  64.               float   kit_kmixerVoiceGetVolL(kit_kmixerDevice *device, Uint32 voiceID)
  65.               float   kit_kmixerVoiceGetVolR(kit_kmixerDevice *device, Uint32 voiceID)
  66.                 int   kit_kmixerVoiceSetVolL(kit_kmixerDevice *device, Uint32 voiceID, float volL)
  67.                 int   kit_kmixerVoiceSetVolR(kit_kmixerDevice *device, Uint32 voiceID, float volR)
  68.                 int   kit_kmixerVoiceSetVolume(kit_kmixerDevice *device, Uint32 voiceID, float volL, float volR)
  69.                 int   kit_kmixerVoiceSetPan(kit_kmixerDevice *device, Uint32 voiceID, float pan)
  70.                 int   kit_kmixerVoiceUnlock(kit_kmixerDevice *device, Uint32 voiceID)
  71.                 int   kit_kmixerVoiceLock(kit_kmixerDevice *device, Uint32 voiceID)
  72.              Uint32   kit_kmixerAsyncAdd(kit_kmixerDevice *device, SDL_bool linearInterpolation, SDL_bool stereo, Uint32 outputVoiceID, Uint32 numTracks)
  73.              Uint32   kit_kmixerAsyncPlayPVS(kit_kmixerDevice *device, Uint32 voiceID, kit_acodecPCM *pcm, float pan, float volumeL, float volumeR, double speedMultiplier)
  74.              Uint32   kit_kmixerAsyncPlay(kit_kmixerDevice *device, Uint32 voiceID, kit_acodecPCM *pcm)
  75.              Uint32   kit_kmixerAsyncPlayP(kit_kmixerDevice *device, Uint32 voiceID, kit_acodecPCM *pcm, float pan)
  76.              Uint32   kit_kmixerAsyncPlayV(kit_kmixerDevice *device, Uint32 voiceID, kit_acodecPCM *pcm, float volumeL, float volumeR)
  77.              Uint32   kit_kmixerAsyncPlayS(kit_kmixerDevice *device, Uint32 voiceID, kit_acodecPCM *pcm, double speedMultiplier)
  78.                 int   kit_kmixerAsyncStopTrack(kit_kmixerDevice *device, Uint32 voiceID, Uint32 trackNum)
  79.                 int   kit_kmixerAsyncStopAllTracks(kit_kmixerDevice *device, Uint32 voiceID)
  80.              Uint32   kit_kmixerAsyncGetActiveTracks(kit_kmixerDevice *device, Uint32 voiceID)
  81.              Uint32   kit_kmixerAsyncGetNumTracks(kit_kmixerDevice *device, Uint32 voiceID)
  82.                 int   kit_kmixerAsyncGetTrackPlayState(kit_kmixerDevice *device, Uint32 voiceID, Uint32 trackNum)
  83.              double   kit_kmixerAsyncGetTrackPosition(kit_kmixerDevice *device, Uint32 voiceID, Uint32 trackNum)
  84.                 int   kit_kmixerAsyncSetTrackDeltaS(kit_kmixerDevice *device, Uint32 voiceID, Uint32 trackNum, double deltaS)
  85.                 int   kit_kmixerAsyncSetTrackDeltaS2(kit_kmixerDevice *device, Uint32 voiceID, Uint32 trackNum, double deltaS_seconds)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement