summaryrefslogtreecommitdiff
path: root/include/JSystem/JAudio/JASWaveBankMgr.h
blob: 72c46a1a931060034b4fcaae20420ee37ea87f46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef JASWAVEBANKMGR_H
#define JASWAVEBANKMGR_H

#include "dolphin/types.h"

namespace JASystem {
    class TWaveArc;
    class TWaveBank;
    namespace Kernel {
        class THeap;
    }
    namespace WaveBankMgr {
        void init(int);
        TWaveBank* getWaveBank(int);
        bool registWaveBank(int, TWaveBank*);
        bool registWaveBankWS(int, void*);
        TWaveArc* getWaveArc(int, int);
        bool loadWave(int, int, Kernel::THeap*);
        bool eraseWave(int, int);

        extern int sTableSize;
        extern TWaveBank** sWaveBank;
    }
}

#endif /* JASWAVEBANKMGR_H */