mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-02-26 05:40:49 +00:00
Tabs replaced with spaces
This commit is contained in:
parent
8c31f07f81
commit
916aee60d8
1 changed files with 7 additions and 7 deletions
|
@ -113,16 +113,16 @@ delete_fluid_coremidi_driver(fluid_midi_driver_t* p)
|
|||
MIDIClientDispose(dev->client);
|
||||
}
|
||||
if (dev->endpoint != NULL) {
|
||||
MIDIEndpointDispose(dev->endpoint);
|
||||
MIDIEndpointDispose(dev->endpoint);
|
||||
}
|
||||
if (dev->parser != NULL) {
|
||||
delete_fluid_midi_parser(dev->parser);
|
||||
}
|
||||
}
|
||||
FLUID_FREE(dev);
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
fluid_coremidi_callback(const MIDIPacketList *list, void *p, void *src)
|
||||
{
|
||||
unsigned int i, j;
|
||||
|
@ -133,10 +133,10 @@ fluid_coremidi_callback(const MIDIPacketList *list, void *p, void *src)
|
|||
for ( j = 0; j < packet->length; ++j ) {
|
||||
event = fluid_midi_parser_parse(dev->parser, packet->data[j]);
|
||||
if (event != NULL) {
|
||||
(*dev->driver.handler)(dev->driver.data, event);
|
||||
}
|
||||
}
|
||||
packet = MIDIPacketNext(packet);
|
||||
(*dev->driver.handler)(dev->driver.data, event);
|
||||
}
|
||||
}
|
||||
packet = MIDIPacketNext(packet);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue