coastline 0.0.4
Loading...
Searching...
No Matches
preset.h File Reference
#include <stdint.h>
Include dependency graph for preset.h:

Go to the source code of this file.

Functions

uint32_t __stdcall EarRegisterPresetExportWrapper (const void *source, uint32_t control)
uint32_t __stdcall EAR_DLL_RegisterPreset (const void *source, uint32_t control)
 Load a wave sample from a file or from memory and register it as a preset.
int __stdcall EarShutDownPresetExportWrapper (uint32_t preset)
int __stdcall EAR_DLL_ShutDownPreset (uint32_t preset)
 Shut down a preset and its samples, or every preset.

Function Documentation

◆ EarRegisterPresetExportWrapper()

uint32_t __stdcall EarRegisterPresetExportWrapper ( const void * source,
uint32_t control )
Parameters
sourceThe path of the wave file, or the wave file in memory.
controlThe handle of the preset in the low word, 0 for a new one, and the kind of the source in the high word.
Returns
The handle of the preset, or 0.
Ghidra address:
EAR: 0x1000eca0

◆ EAR_DLL_RegisterPreset()

uint32_t __stdcall EAR_DLL_RegisterPreset ( const void * source,
uint32_t control )

Load a wave sample from a file or from memory and register it as a preset.

Parameters
sourceThe path of the wave file, or the wave file in memory.
controlThe handle of the preset in the low word, 0 for a new one, and the kind of the source in the high word, 0 for a file and 2 for memory.
Returns
The handle of the preset, or 0.
Ghidra address:
EAR: 0x1000ecb4

◆ EarShutDownPresetExportWrapper()

int __stdcall EarShutDownPresetExportWrapper ( uint32_t preset)
Parameters
presetThe preset, or 0 for every preset.
Returns
Whether the preset was shut down.
Ghidra address:
EAR: 0x1000f710

◆ EAR_DLL_ShutDownPreset()

int __stdcall EAR_DLL_ShutDownPreset ( uint32_t preset)

Shut down a preset and its samples, or every preset.

Parameters
presetThe preset, or 0 for every preset.
Returns
Whether the preset was shut down.
Ghidra address:
EAR: 0x1000f720