blob: 15e00bd6c8e4d6149ef078dbbbe8994514cf8f62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include <libtdemid/libtdemid.h>
#include <libtdemid/deviceman.h>
#include <unistd.h>
#include <stdio.h>
int main (int , char **)
{
printf("Libtdemid Notes Off . (C) 2000 Antonio Larrosa Jimenez . Malaga (Spain)\n");
printf("Using libtdemid from a simple C++ application\n");
KMidSimpleAPI::kMidInit();
kMid.midi->checkInit();
kMid.midi->openDev();
kMid.midi->initDev();
kMid.midi->allNotesOff();
kMid.midi->closeDev();
KMidSimpleAPI::kMidDestruct();
return 0;
};
|