mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-06-23 07:19:55 -04:00
28 lines
707 B
C
28 lines
707 B
C
#ifndef _JAUDIO_BANKDRV_H
|
|
#define _JAUDIO_BANKDRV_H
|
|
|
|
#include "types.h"
|
|
|
|
typedef struct Bank_ Bank_;
|
|
typedef struct Inst_ Inst_;
|
|
typedef struct Perc_ Perc_;
|
|
typedef struct Voice_ Voice_;
|
|
typedef struct Sense_ Sense_;
|
|
typedef struct Rand_ Rand_;
|
|
typedef struct Osc_ Osc_;
|
|
typedef struct Oscbuf_ Oscbuf_;
|
|
typedef struct Vmap_ Vmap_;
|
|
|
|
Inst_* Bank_InstChange(Bank_*, u32);
|
|
Voice_* Bank_VoiceChange(Bank_*, u32);
|
|
Perc_* Bank_PercChange(Bank_*, u32);
|
|
int Bank_GetInstKeymap(Inst_*, u8);
|
|
int Bank_GetInstVmap(Inst_*, u8, u8);
|
|
Vmap_* Bank_GetPercVmap(Perc_*, u8, u8);
|
|
int Bank_GetVoiceMap(Voice_*, u16);
|
|
f32 Bank_SenseToOfs(Sense_*, u8);
|
|
f32 Bank_RandToOfs(Rand_* rand);
|
|
f32 Bank_OscToOfs(Osc_*, Oscbuf_*);
|
|
|
|
#endif
|