diff options
author | David Robillard <d@drobilla.net> | 2006-06-19 00:42:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-06-19 00:42:15 +0000 |
commit | 4adc4f4a2b4f57f43affcd48f2c01c60f471b20a (patch) | |
tree | 48b36e2df65257905fde0141f5301347ca643f24 /src/libs/engine/JackAudioDriver.h | |
parent | b1b4335b767f34b41903a85040cd07dabe0f33ec (diff) | |
download | ingen-4adc4f4a2b4f57f43affcd48f2c01c60f471b20a.tar.gz ingen-4adc4f4a2b4f57f43affcd48f2c01c60f471b20a.tar.bz2 ingen-4adc4f4a2b4f57f43affcd48f2c01c60f471b20a.zip |
Renamed PortBase to TypedPort
git-svn-id: http://svn.drobilla.net/lad/grauph@60 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/JackAudioDriver.h')
-rw-r--r-- | src/libs/engine/JackAudioDriver.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libs/engine/JackAudioDriver.h b/src/libs/engine/JackAudioDriver.h index c55d392f..a01624ed 100644 --- a/src/libs/engine/JackAudioDriver.h +++ b/src/libs/engine/JackAudioDriver.h @@ -27,7 +27,7 @@ namespace Om { class Patch; class Port; -template <typename T> class PortBase; +template <typename T> class TypedPort; class JackAudioDriver; typedef jack_default_audio_sample_t jack_sample_t; @@ -39,7 +39,7 @@ typedef jack_default_audio_sample_t jack_sample_t; class JackAudioPort : public DriverPort, public ListNode<JackAudioPort*> { public: - JackAudioPort(JackAudioDriver* driver, PortBase<sample>* patch_port); + JackAudioPort(JackAudioDriver* driver, TypedPort<sample>* patch_port); ~JackAudioPort(); void add_to_driver(); @@ -51,7 +51,7 @@ public: jack_port_t* jack_port() const { return m_jack_port; } DriverBuffer<sample>* buffer() const { return m_jack_buffer; } void jack_buffer(jack_sample_t* s) { m_jack_buffer->set_data(s); } - PortBase<sample>* patch_port() const { return m_patch_port; } + TypedPort<sample>* patch_port() const { return m_patch_port; } private: // Prevent copies (undefined) @@ -61,7 +61,7 @@ private: JackAudioDriver* m_driver; jack_port_t* m_jack_port; DriverBuffer<sample>* m_jack_buffer; - PortBase<sample>* m_patch_port; + TypedPort<sample>* m_patch_port; }; @@ -88,7 +88,7 @@ public: void process_events(jack_nframes_t block_start, jack_nframes_t block_end); - DriverPort* create_port(PortBase<sample>* patch_port); + DriverPort* create_port(TypedPort<sample>* patch_port); Patch* root_patch() { return m_root_patch; } void set_root_patch(Patch* patch) { m_root_patch = patch; } |