summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/AlsaMidiDriver.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-08 19:04:12 +0000
committerDavid Robillard <d@drobilla.net>2007-04-08 19:04:12 +0000
commit40e4cf5d669a654728881a00a3659fc3bca0e546 (patch)
tree90bbb4f8e35a96a8911a3ff4c834a48dfd577628 /src/libs/engine/AlsaMidiDriver.h
parentc2a43092234a32cfea8ba50d607494273624af07 (diff)
downloadingen-40e4cf5d669a654728881a00a3659fc3bca0e546.tar.gz
ingen-40e4cf5d669a654728881a00a3659fc3bca0e546.tar.bz2
ingen-40e4cf5d669a654728881a00a3659fc3bca0e546.zip
Alsa MIDI compile fixes.
make distcheck fixes. git-svn-id: http://svn.drobilla.net/lad/ingen@424 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/AlsaMidiDriver.h')
-rw-r--r--src/libs/engine/AlsaMidiDriver.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libs/engine/AlsaMidiDriver.h b/src/libs/engine/AlsaMidiDriver.h
index 6c6debee..88daf94a 100644
--- a/src/libs/engine/AlsaMidiDriver.h
+++ b/src/libs/engine/AlsaMidiDriver.h
@@ -43,7 +43,7 @@ static const int MAX_MIDI_EVENT_SIZE = 3;
class AlsaMidiPort : public DriverPort, public Raul::ListNode<AlsaMidiPort*>
{
public:
- AlsaMidiPort(AlsaMidiDriver* driver, DuplexPort<MidiBuffer>* port);
+ AlsaMidiPort(AlsaMidiDriver* driver, DuplexPort* port);
virtual ~AlsaMidiPort();
void event(snd_seq_event_t* const ev);
@@ -52,12 +52,12 @@ public:
void set_name(const std::string& name);
- int port_id() const { return _port_id; }
- DuplexPort<MidiBuffer>* patch_port() const { return _patch_port; }
+ int port_id() const { return _port_id; }
+ DuplexPort* patch_port() const { return _patch_port; }
private:
AlsaMidiDriver* _driver;
- DuplexPort<MidiBuffer>* _patch_port;
+ DuplexPort* _patch_port;
int _port_id;
unsigned char** _midi_pool; ///< Pool of raw MIDI events for MidiMessage::buffer
Raul::SRSWQueue<snd_seq_event_t> _events;
@@ -86,7 +86,7 @@ public:
AudioDriver* audio_driver() { return _audio_driver; }
- DriverPort* create_port(DuplexPort<MidiBuffer>* patch_port)
+ DriverPort* create_port(DuplexPort* patch_port)
{ return new AlsaMidiPort(this, patch_port); }
void add_port(DriverPort* port);