projects
/
midifile
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
- running status detection
[midifile]
/
test.c
1
#include <stdio.h>
2
#include "midi.h"
3
4
int main(int argc, char **argv)
5
{
6
struct midi *midi;
7
8
if(!argv[1]) {
9
fprintf(stderr, "pass the path to a midi file\n");
10
return 1;
11
}
12
13
if(!(midi = load_midi(argv[1]))) {
14
return 1;
15
}
16
17
free_midi(midi);
18
return 0;
19
}