jm2cv/cvout.h

26 lines
373 B
C
Raw Permalink Normal View History

#ifndef CVOUT_H
#define CVOUT_H
#include "cvbase.h"
2010-01-24 20:46:33 +00:00
#define MAX_MIDI_CHANNELS 16
class CVOut : public CVBase
2010-01-24 20:46:33 +00:00
{
private:
jack_port_t *m_midi_in;
char m_nrpn_msb[MAX_MIDI_CHANNELS];
char m_nrpn_lsb[MAX_MIDI_CHANNELS];
bool m_nrpn[MAX_MIDI_CHANNELS];
2010-01-24 20:46:33 +00:00
void shutdown();
int process(jack_nframes_t nframes);
public:
void start();
2010-01-26 19:04:21 +00:00
void stop();
2010-01-24 20:46:33 +00:00
};
#endif // CVOUT_H