From 4f99f868f09bbffa2e15733b8b7c78eba07a199e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 6 Dec 2020 21:23:48 +0900 Subject: Renaming of files in preparation for code style tools. Signed-off-by: Michele Calgaro --- libtdemid/tests/notesoff.cpp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 libtdemid/tests/notesoff.cpp (limited to 'libtdemid/tests/notesoff.cpp') diff --git a/libtdemid/tests/notesoff.cpp b/libtdemid/tests/notesoff.cpp new file mode 100644 index 000000000..15e00bd6c --- /dev/null +++ b/libtdemid/tests/notesoff.cpp @@ -0,0 +1,24 @@ +#include +#include +#include +#include + +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; +}; + -- cgit v1.2.3