You've already forked sm64coopdx
mirror of
https://github.com/izzy2lost/sm64coopdx.git
synced 2026-03-26 16:56:02 -07:00
32 lines
1.5 KiB
C
32 lines
1.5 KiB
C
#ifndef AUDIO_SEQPLAYER_H
|
|
#define AUDIO_SEQPLAYER_H
|
|
|
|
#include <PR/ultratypes.h>
|
|
|
|
#include "internal.h"
|
|
#include "playback.h"
|
|
|
|
void seq_channel_layer_disable(struct SequenceChannelLayer *seqPlayer);
|
|
void sequence_channel_disable(struct SequenceChannel *seqPlayer);
|
|
void sequence_player_disable(struct SequencePlayer* seqPlayer);
|
|
void audio_list_push_back(struct AudioListItem *list, struct AudioListItem *item);
|
|
void *audio_list_pop_back(struct AudioListItem *list);
|
|
void sequence_channel_set_volume(struct SequenceChannel *seqChannel, u8 volume);
|
|
void process_sequences(s32 iterationsRemaining);
|
|
void init_sequence_player(u32 player);
|
|
void init_sequence_players(void);
|
|
/* |description|Gets the tempo of `player`|descriptionEnd| */
|
|
u16 sequence_player_get_tempo(u8 player);
|
|
/* |description|Sets the `tempo` of `player`. Resets when another sequence is played|descriptionEnd| */
|
|
void sequence_player_set_tempo(u8 player, u16 tempo);
|
|
/* |description|Gets the tempoAcc (tempo ???) of `player`|descriptionEnd| */
|
|
u16 sequence_player_get_tempo_acc(u8 player);
|
|
/* |description|Sets the `tempoAcc` (tempo ???) of `player`. Resets when another sequence is played|descriptionEnd| */
|
|
void sequence_player_set_tempo_acc(u8 player, u16 tempoAcc);
|
|
/* |description|Gets the transposition (pitch) of `player`|descriptionEnd| */
|
|
u16 sequence_player_get_transposition(u8 player);
|
|
/* |description|Sets the `transposition` (pitch) of `player`. Resets when another sequence is played|descriptionEnd| */
|
|
void sequence_player_set_transposition(u8 player, u16 transposition);
|
|
|
|
#endif // AUDIO_SEQPLAYER_H
|