Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

DrumPads-PortMidi.h

Go to the documentation of this file.
00001 /*
00002  * Jam-O-Drum Drum Pad Interface
00003  * Jon Parise <jparise@cmu.edu>
00004  *
00005  * $Id: DrumPads-PortMidi.h,v 1.1.1.1 2002/02/11 05:13:08 jon Exp $
00006  */
00007 
00008 #include "portmidi.h"
00009 #include "porttime.h"
00010 
00011 #define MAX_MIDI_EVENTS 16
00012 
00013 class DrumPads
00014 {
00015 private:
00016     PmStream *midi;
00017     PmEvent buffer[MAX_MIDI_EVENTS];
00018 
00019 public:
00020     DrumPads();
00021     ~DrumPads();
00022 
00023     bool Init(unsigned int deviceID);
00024     void Shutdown();
00025     void Poll();
00026 };

Generated on Mon Mar 4 08:42:23 2002 for Aria by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002