diff options
author | David Robillard <d@drobilla.net> | 2007-01-15 21:36:22 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-01-15 21:36:22 +0000 |
commit | 014ba4fb2d72bdc481c2ba76bd53901a39725b86 (patch) | |
tree | 638275625f694df61226e70f06281d0372ff7cdc /src/JackDriver.h | |
parent | f0b1962683cf24caa94f9176536a667a179cfc52 (diff) | |
download | patchage-014ba4fb2d72bdc481c2ba76bd53901a39725b86.tar.gz patchage-014ba4fb2d72bdc481c2ba76bd53901a39725b86.tar.bz2 patchage-014ba4fb2d72bdc481c2ba76bd53901a39725b86.zip |
Fix potential crash on module removal.
Don't "pretend" to set Jack buffer size when change fails.
git-svn-id: http://svn.drobilla.net/lad/patchage@260 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/JackDriver.h')
-rw-r--r-- | src/JackDriver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/JackDriver.h b/src/JackDriver.h index c37970c..7acbad8 100644 --- a/src/JackDriver.h +++ b/src/JackDriver.h @@ -76,7 +76,7 @@ public: jack_client_t* client() { return m_client; } jack_nframes_t buffer_size(); - void set_buffer_size(jack_nframes_t size); + bool set_buffer_size(jack_nframes_t size); inline float sample_rate() { return jack_get_sample_rate(m_client); } |