mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-28 23:53:55 -04:00
Add missing consts
This commit is contained in:
parent
477fb17713
commit
02368558b2
@ -272,7 +272,7 @@ static void SendDelayMsg(int time_ms)
|
|||||||
SendNOPMsg(time_ticks);
|
SendNOPMsg(time_ticks);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void UpdateTempo(int time, midi_event_t *event)
|
static void UpdateTempo(int time, const midi_event_t *event)
|
||||||
{
|
{
|
||||||
native_event_t native_event;
|
native_event_t native_event;
|
||||||
|
|
||||||
@ -571,7 +571,7 @@ static void SendSysExMsg(int time, const byte *data, int length)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void SendProgramMsg(int time, int channel, int program,
|
static void SendProgramMsg(int time, int channel, int program,
|
||||||
midi_fallback_t *fallback)
|
const midi_fallback_t *fallback)
|
||||||
{
|
{
|
||||||
switch ((int)fallback->type)
|
switch ((int)fallback->type)
|
||||||
{
|
{
|
||||||
@ -605,7 +605,7 @@ static void SetLoopPoint(void)
|
|||||||
song.saved_elapsed_time = song.elapsed_time;
|
song.saved_elapsed_time = song.elapsed_time;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void CheckFFLoop(midi_event_t *event)
|
static void CheckFFLoop(const midi_event_t *event)
|
||||||
{
|
{
|
||||||
if (event->data.meta.length == sizeof(ff_loopStart) &&
|
if (event->data.meta.length == sizeof(ff_loopStart) &&
|
||||||
!memcmp(event->data.meta.data, ff_loopStart, sizeof(ff_loopStart)))
|
!memcmp(event->data.meta.data, ff_loopStart, sizeof(ff_loopStart)))
|
||||||
@ -620,7 +620,7 @@ static void CheckFFLoop(midi_event_t *event)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static boolean AddToBuffer(unsigned int delta_time, midi_event_t *event,
|
static boolean AddToBuffer(unsigned int delta_time, const midi_event_t *event,
|
||||||
win_midi_track_t *track)
|
win_midi_track_t *track)
|
||||||
{
|
{
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user