mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-27 14:39:20 -04:00
9649319ec4
* Reorganize files into libs/{dolphin,JSystem,PowerPC_EABI_Support,revolution,TRK_MINNOW_DOLPHIN}
* Update configure.py and project.py for new libs structure
* Refactor `#include <dolphin/x.h>` -> `<x.h>`
* Remove `__REVOLUTION_SDK__` forwards from dolphin
* Fix dolphin/ references in revolution
* Wrap `#include <dolphin.h>` in `!__REVOLUTION_SDK__`
* Always build TRK against dolphin headers
* Resolve revolution SDK header resolution issues
34 lines
703 B
C
34 lines
703 B
C
#ifndef JASLFO_H
|
|
#define JASLFO_H
|
|
|
|
#include <types.h>
|
|
|
|
/**
|
|
* @ingroup jsystem-jaudio
|
|
*
|
|
*/
|
|
struct JASLfo {
|
|
JASLfo();
|
|
f32 getValue() const;
|
|
void incCounter(f32);
|
|
void resetCounter();
|
|
|
|
void setDepth(f32 param_0) { mDepth = param_0; }
|
|
void setPitch(f32 param_0) { mPitch = param_0; }
|
|
void setDelay(u16 param_0) { mDelay = param_0; }
|
|
|
|
static void updateFreeRun(f32 param_0) { sFreeRunLfo.incCounter(param_0); }
|
|
|
|
static JASLfo sFreeRunLfo;
|
|
|
|
/* 0x00 */ u32 field_0x0;
|
|
/* 0x04 */ u32 field_0x4;
|
|
/* 0x08 */ f32 field_0x8;
|
|
/* 0x0C */ f32 mDepth;
|
|
/* 0x10 */ f32 mPitch;
|
|
/* 0x14 */ u16 mDelay;
|
|
/* 0x16 */ u16 field_0x16;
|
|
};
|
|
|
|
#endif /* JASLFO_H */
|