summaryrefslogtreecommitdiff
path: root/muse_qt4_evolution/synti/libsynti/midievent.cpp
blob: 7c1e14fdf48fde8f5561c64fdb658683276f4e1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//=========================================================
//  MusE
//  Linux Music Editor
//  $Id: mpevent.cpp,v 1.3 2005/05/11 14:18:48 wschweer Exp $
//
//  (C) Copyright 2002-2004 Werner Schweer (ws@seh.de)
//=========================================================

#include "midievent.h"

//---------------------------------------------------------
//   MidiEvent
//---------------------------------------------------------

MidiEvent::MidiEvent(unsigned t, int tpe, const unsigned char* data, int len)
      {
      _time = t;
      edata.setData(data, len);
      _type = tpe;
      }