summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/JackAudioDriver.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-07-18 05:46:24 +0000
committerDavid Robillard <d@drobilla.net>2006-07-18 05:46:24 +0000
commit2dbd0cd81dff72aea42344188d20f7d7f6d20e1a (patch)
treea3af76b4164c75b19d3973c88b05591be9e9d67d /src/libs/engine/JackAudioDriver.h
parent1d81360a04e0e5c0a57b8be1708e29a3f2bde848 (diff)
downloadingen-2dbd0cd81dff72aea42344188d20f7d7f6d20e1a.tar.gz
ingen-2dbd0cd81dff72aea42344188d20f7d7f6d20e1a.tar.bz2
ingen-2dbd0cd81dff72aea42344188d20f7d7f6d20e1a.zip
Removed globals (Om.h)
git-svn-id: http://svn.drobilla.net/lad/ingen@96 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/JackAudioDriver.h')
-rw-r--r--src/libs/engine/JackAudioDriver.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libs/engine/JackAudioDriver.h b/src/libs/engine/JackAudioDriver.h
index fdffc9bc..cfbcc4c5 100644
--- a/src/libs/engine/JackAudioDriver.h
+++ b/src/libs/engine/JackAudioDriver.h
@@ -39,7 +39,7 @@ typedef jack_default_audio_sample_t jack_sample_t;
class JackAudioPort : public DriverPort, public ListNode<JackAudioPort*>
{
public:
- JackAudioPort(JackAudioDriver* driver, DuplexPort<sample>* patch_port);
+ JackAudioPort(JackAudioDriver* driver, DuplexPort<Sample>* patch_port);
~JackAudioPort();
void add_to_driver();
@@ -49,7 +49,7 @@ public:
void prepare_buffer(jack_nframes_t nframes);
jack_port_t* jack_port() const { return m_jack_port; }
- DuplexPort<sample>* patch_port() const { return m_patch_port; }
+ DuplexPort<Sample>* patch_port() const { return m_patch_port; }
private:
// Prevent copies (undefined)
@@ -59,7 +59,7 @@ private:
JackAudioDriver* m_driver;
jack_port_t* m_jack_port;
jack_sample_t* m_jack_buffer; ///< Cached for output ports
- DuplexPort<sample>* m_patch_port;
+ DuplexPort<Sample>* m_patch_port;
};
@@ -86,7 +86,7 @@ public:
void process_events(jack_nframes_t block_start, jack_nframes_t block_end);
- DriverPort* create_port(DuplexPort<sample>* patch_port);
+ DriverPort* create_port(DuplexPort<Sample>* patch_port);
Patch* root_patch() { return m_root_patch; }
void set_root_patch(Patch* patch) { m_root_patch = patch; }
@@ -99,11 +99,11 @@ public:
bool is_realtime() { return jack_is_realtime(m_client); }
jack_client_t* jack_client() const { return m_client; }
- samplecount buffer_size() const { return m_buffer_size; }
- samplecount sample_rate() const { return m_sample_rate; }
+ SampleCount buffer_size() const { return m_buffer_size; }
+ SampleCount sample_rate() const { return m_sample_rate; }
bool is_activated() const { return m_is_activated; }
- samplecount time_stamp() const { return jack_frame_time(m_client); }
+ SampleCount time_stamp() const { return jack_frame_time(m_client); }
private:
// Prevent copies (undefined)