midisync.cpp
// Loads a MIDI file and returns a song

Loads a MIDI file and returns a song
Loads a MIDI file and returns a song
MIDISong *LoadSong(uint8_t *songData)
{
  MIDISong *song = new MIDISong();
  bool success = song->Load(songData);
  return success ? song : 0;
}
MIDISong * LoadSong ( uint8_t * songData ) { MIDISong * song = new MIDISong ( ) ; bool success = song -> Load ( songData ) ; return success ? song : 0 ; }
Loads a MIDI file and returns a song
Loads a MIDI file and returns a song