diff options
author | Robert Jonsson <spamatica@gmail.com> | 2011-09-15 12:14:55 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2011-09-15 12:14:55 +0000 |
commit | b0546e5e7f7044019892543c6c82029db8d564a7 (patch) | |
tree | 1b96a6260900f3fbf3513fb48a5a72aa89052dc8 /attic/muse_qt4_evolution/midiplugins/dump/dump.cpp | |
parent | 583c73d1a07154d3d2672d65d8cce6495f490454 (diff) |
moved attic to a branch of it's own
Diffstat (limited to 'attic/muse_qt4_evolution/midiplugins/dump/dump.cpp')
-rw-r--r-- | attic/muse_qt4_evolution/midiplugins/dump/dump.cpp | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/attic/muse_qt4_evolution/midiplugins/dump/dump.cpp b/attic/muse_qt4_evolution/midiplugins/dump/dump.cpp deleted file mode 100644 index e346a642..00000000 --- a/attic/muse_qt4_evolution/midiplugins/dump/dump.cpp +++ /dev/null @@ -1,48 +0,0 @@ -//========================================================= -// MusE -// Linux Music Editor -// $Id: filter.cpp,v 1.10 2005/11/06 17:49:34 wschweer Exp $ -// -// dump- simple midi event dump for testing purposes -// -// (C) Copyright 2006 Werner Schweer (ws@seh.de) -//========================================================= - -#include "dump.h" -#include "midi.h" - -//--------------------------------------------------------- -// process -//--------------------------------------------------------- - -void Dump::process(unsigned, unsigned, MidiEventList* il, MidiEventList* ol) - { - for (iMidiEvent i = il->begin(); i != il->end(); ++i) { - printf("Event %6d ch:%2d type:%2d 0x%02x 0x%02x\n", i->time(), i->channel(), - i->type(), i->dataA(), i->dataB()); - ol->insert(*i); - } - } - -//--------------------------------------------------------- -// inst -//--------------------------------------------------------- - -static Mempi* instantiate(const char* name, const MempiHost* h) - { - return new Dump(name, h); - } - -extern "C" { - static MEMPI descriptor = { - "Dump", - "MusE Simple Midi Event Dump", - "0.1", // version string - MEMPI_FILTER, // plugin type - MEMPI_MAJOR_VERSION, MEMPI_MINOR_VERSION, - instantiate - }; - - const MEMPI* mempi_descriptor() { return &descriptor; } - } - |