1#ifndef AUDIO_SEQPLAYER_H
2#define AUDIO_SEQPLAYER_H
8#define PORTAMENTO_IS_SPECIAL(x) ((x).mode & 0x80)
9#define PORTAMENTO_MODE(x) ((x).mode & ~0x80)
10#define PORTAMENTO_MODE_1 1
11#define PORTAMENTO_MODE_2 2
12#define PORTAMENTO_MODE_3 3
13#define PORTAMENTO_MODE_4 4
14#define PORTAMENTO_MODE_5 5
void seq_channel_layer_free(struct SequenceChannel *seqChannel, s32 layerIndex)
Definition seqplayer.c:142
void func_800BEF2C(struct SequencePlayer *seqPlayer)
void sequence_channel_enable(struct SequencePlayer *seqPlayer, u8 channelIndex, void *script)
Definition seqplayer.c:224
void init_layer_freelist(void)
Definition seqplayer.c:293
void init_sequence_player(u32 player)
Definition seqplayer.c:1543
void sequence_channel_init(struct SequenceChannel *seqChannel)
Definition seqplayer.c:52
u8 m64_read_u8(struct M64ScriptState *state)
Definition seqplayer.c:308
void sequence_channel_disable(struct SequenceChannel *seqChannel)
Definition seqplayer.c:152
s32 seq_channel_set_layer(struct SequenceChannel *seqChannel, s32 layerIndex)
Definition seqplayer.c:93
void seq_channel_layer_disable(struct SequenceChannelLayer *layer)
Definition seqplayer.c:134
void sequence_player_disable(struct SequencePlayer *seqPlayer)
Definition seqplayer.c:244
void sequence_player_init_channels(struct SequencePlayer *seqPlayer, u16 channelBits)
Definition seqplayer.c:173
u8 get_instrument(struct SequenceChannel *seqChannel, u8 instId, struct Instrument **instOut, struct AdsrSettings *adsr)
Definition seqplayer.c:735
void sequence_channel_set_volume(struct SequenceChannel *seqChannel, u8 volume)
Definition seqplayer.c:767
void init_sequence_players(void)
Definition seqplayer.c:1563
void seq_channel_layer_process_script(struct SequenceChannelLayer *layer)
Definition seqplayer.c:327
void sequence_channel_process_script(struct SequenceChannel *)
Definition seqplayer.c:771
void process_sequences(s32)
u16 m64_read_compressed_u16(struct M64ScriptState *state)
Definition seqplayer.c:318
void set_instrument(struct SequenceChannel *seqChannel, u8 instId)
Definition seqplayer.c:750
void sequence_player_process_sequence(struct SequencePlayer *)
Definition seqplayer.c:1199
void audio_list_push_back(struct AudioListItem *list, struct AudioListItem *item)
Definition seqplayer.c:268
s16 m64_read_s16(struct M64ScriptState *state)
Definition seqplayer.c:312
struct SequenceChannel * allocate_sequence_channel(void)
Definition seqplayer.c:163
void sequence_player_disable_channels(struct SequencePlayer *seqPlayer, u16 channelBits)
Definition seqplayer.c:202
void * audio_list_pop_back(struct AudioListItem *list)
Definition seqplayer.c:281
Definition internal.h:231
Definition internal.h:146
Definition internal.h:178
Definition internal.h:342
Definition internal.h:285
struct AdsrSettings adsr
Definition internal.h:337
u8 volume
Definition internal.h:298
struct SequencePlayer * seqPlayer
Definition internal.h:332
Definition internal.h:186
signed int s32
Definition ultratypes.h:15
unsigned int u32
Definition ultratypes.h:16
signed short int s16
Definition ultratypes.h:13
unsigned short int u16
Definition ultratypes.h:14
unsigned char u8
Definition ultratypes.h:12