diff options
author | David Robillard <d@drobilla.net> | 2007-04-08 06:04:32 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-04-08 06:04:32 +0000 |
commit | e96c36c1a7abb062e36efc0ac95c35fedcef922e (patch) | |
tree | 826d5caa0392201472d12c02a1c3df4cf7b275be /src/libs/engine/DSSINode.h | |
parent | 7d69e89f22304e37fa325ce4f39a374a02072a69 (diff) | |
download | ingen-e96c36c1a7abb062e36efc0ac95c35fedcef922e.tar.gz ingen-e96c36c1a7abb062e36efc0ac95c35fedcef922e.tar.bz2 ingen-e96c36c1a7abb062e36efc0ac95c35fedcef922e.zip |
De-template-ification of port types (req. for LV2 MIDI, but nice code size reduction).
LV2 MIDI patching support (LV2 style MIDI throughout, inc. internal plugins).
git-svn-id: http://svn.drobilla.net/lad/ingen@415 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/DSSINode.h')
-rw-r--r-- | src/libs/engine/DSSINode.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/libs/engine/DSSINode.h b/src/libs/engine/DSSINode.h index 2521693e..9070410e 100644 --- a/src/libs/engine/DSSINode.h +++ b/src/libs/engine/DSSINode.h @@ -22,11 +22,11 @@ #include <dssi.h> #include <lo/lo.h> #include "LADSPANode.h" +#include "MidiBuffer.h" namespace Ingen { -class MidiMessage; -template <typename T> class InputPort; +class InputPort; namespace Shared { class ClientInterface; } using Shared::ClientInterface; @@ -71,7 +71,7 @@ private: // DSSI GUI messages void send_control(int port_num, float value); void send_program(int bank, int value); - void send_configure(const string& key, const string& val); + void send_configure(const std::string& key, const std::string& val); void send_show(); void send_hide(); void send_quit(); @@ -82,20 +82,20 @@ private: DSSI_Descriptor* _dssi_descriptor; - string _ui_url; - string _ui_base_path; - lo_address _ui_addr; + std::string _ui_url; + std::string _ui_base_path; + lo_address _ui_addr; // Current values - int _bank; - int _program; - std::map<string, string> _configures; - std::map<int, Bank> _banks; - - InputPort<MidiMessage>* _midi_in_port; - snd_seq_event_t* _alsa_events; - unsigned long _encoded_events; - snd_midi_event_t* _alsa_encoder; + int _bank; + int _program; + std::map<std::string, std::string> _configures; + std::map<int, Bank> _banks; + + InputPort* _midi_in_port; + snd_seq_event_t* _alsa_events; + unsigned long _encoded_events; + snd_midi_event_t* _alsa_encoder; }; |