mirror of
https://github.com/TwilitRealm/dusklight.git
synced 2026-05-13 12:28:06 -07:00
885fad3312
* Z2Audio player debug work * fix actor method returns * wii build fix
29 lines
809 B
C++
29 lines
809 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 const char* getName(s32 num);
|
|
static s32 getNumOfSound(void);
|
|
static void stopAll(s32 chan, s32 msec);
|
|
static void stop(s32 chan);
|
|
};
|
|
|
|
#endif /* Z2AUDIOCS_H */
|