diff options
author | David Robillard <d@drobilla.net> | 2006-07-12 01:01:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-07-12 01:01:15 +0000 |
commit | 120757b8cb154266aae21472a49f0c00309a7dde (patch) | |
tree | 977e35d6222c1d9f5239c8de685fc0525c0c3a7d /src/libs | |
parent | 94ac1eb5bd854244e9d90dc636a33d9cc5b82b01 (diff) | |
download | ingen-120757b8cb154266aae21472a49f0c00309a7dde.tar.gz ingen-120757b8cb154266aae21472a49f0c00309a7dde.tar.bz2 ingen-120757b8cb154266aae21472a49f0c00309a7dde.zip |
Minor cleanups, removed braindead centralized singleton instance file
git-svn-id: http://svn.drobilla.net/lad/ingen@86 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs')
-rw-r--r-- | src/libs/client/Store.cpp | 5 | ||||
-rw-r--r-- | src/libs/engine/JackAudioDriver.cpp | 3 | ||||
-rw-r--r-- | src/libs/engine/JackAudioDriver.h | 3 |
3 files changed, 5 insertions, 6 deletions
diff --git a/src/libs/client/Store.cpp b/src/libs/client/Store.cpp index 042ea5f5..476e24d0 100644 --- a/src/libs/client/Store.cpp +++ b/src/libs/client/Store.cpp @@ -25,6 +25,11 @@ namespace LibOmClient { + +/// Singleton instance +Store* Store::_instance = 0; + + Store::Store(SigClientInterface& emitter) { //emitter.new_plugin_sig.connect(sigc::mem_fun(this, &Store::add_plugin)); diff --git a/src/libs/engine/JackAudioDriver.cpp b/src/libs/engine/JackAudioDriver.cpp index edc13ee9..9ba5de82 100644 --- a/src/libs/engine/JackAudioDriver.cpp +++ b/src/libs/engine/JackAudioDriver.cpp @@ -51,7 +51,6 @@ JackAudioPort::JackAudioPort(JackAudioDriver* driver, DuplexPort<sample>* patch_ m_driver(driver), m_jack_port(NULL), m_jack_buffer(NULL), - //m_jack_buffer(NULL), m_patch_port(patch_port) { //assert(patch_port->tied_port() != NULL); @@ -62,8 +61,6 @@ JackAudioPort::JackAudioPort(JackAudioDriver* driver, DuplexPort<sample>* patch_ (patch_port->is_input()) ? JackPortIsInput : JackPortIsOutput, 0); - //m_jack_buffer = new DriverBuffer<jack_sample_t>(driver->buffer_size()); - patch_port->fixed_buffers(true); } diff --git a/src/libs/engine/JackAudioDriver.h b/src/libs/engine/JackAudioDriver.h index f62e274f..f491ce11 100644 --- a/src/libs/engine/JackAudioDriver.h +++ b/src/libs/engine/JackAudioDriver.h @@ -49,8 +49,6 @@ public: void prepare_buffer(jack_nframes_t nframes); 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); } DuplexPort<sample>* patch_port() const { return m_patch_port; } private: @@ -61,7 +59,6 @@ private: JackAudioDriver* m_driver; jack_port_t* m_jack_port; jack_sample_t* m_jack_buffer; ///< Cached for output ports - //DriverBuffer<sample>* m_jack_buffer; DuplexPort<sample>* m_patch_port; }; |