mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 15:01:53 -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
29 lines
801 B
C++
29 lines
801 B
C++
#ifndef Z2AUDIOCS_H
|
|
#define Z2AUDIOCS_H
|
|
|
|
#include "Z2AudioCS/SpkTable.h"
|
|
#include "Z2AudioCS/SpkSound.h"
|
|
#include <types.h>
|
|
|
|
class JKRHeap;
|
|
class JKRArchive;
|
|
|
|
class Z2AudioCS {
|
|
public:
|
|
static void newSpkSoundMemPool();
|
|
static int init(JKRHeap* heap, JKRArchive* res, s32 param_2, s32 param_3);
|
|
static void update();
|
|
static void connect(s32 chan);
|
|
static void disconnect(s32 chan);
|
|
static void extensionProcess(s32 chan, s32 param_1);
|
|
static SpkSoundHandle* getHandleSoundID(s32 soundNum);
|
|
static SpkSoundHandle* start(s32 id, s32 chan);
|
|
static SpkSoundHandle* startLevel(s32 id, s32 chan);
|
|
static s32 getName(s32 num);
|
|
static s32 getNumOfSound(void);
|
|
static void stopAll(s32 chan, s32 msec);
|
|
static void stop(s32 chan);
|
|
};
|
|
|
|
#endif /* Z2AUDIOCS_H */
|