summaryrefslogtreecommitdiff
path: root/libs/backends/jack/jack_audiobackend.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-09-09 13:27:48 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-09-09 15:17:43 -0400
commita228643e402d8f1fb07da88eba960ec368e23dda (patch)
treed24a26577250a6f79d4d64a44ce3e0f9b992be90 /libs/backends/jack/jack_audiobackend.h
parent56465fda106a7350741d476282abee68da94b9bb (diff)
add can_change_{sample_rate,buffer_size}_while_running() methods to an AudioBackend
Allows the GUI and other stuff to know whether or not changing the SR/bufsize is possible while running, which is about to become useful
Diffstat (limited to 'libs/backends/jack/jack_audiobackend.h')
-rw-r--r--libs/backends/jack/jack_audiobackend.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/backends/jack/jack_audiobackend.h b/libs/backends/jack/jack_audiobackend.h
index 5ba9ee63d7..f47b630f49 100644
--- a/libs/backends/jack/jack_audiobackend.h
+++ b/libs/backends/jack/jack_audiobackend.h
@@ -61,6 +61,9 @@ class JACKAudioBackend : public AudioBackend {
uint32_t available_input_channel_count (const std::string& device) const;
uint32_t available_output_channel_count (const std::string& device) const;
+ bool can_change_sample_rate_when_running() const;
+ bool can_change_buffer_size_when_running() const;
+
int set_device_name (const std::string&);
int set_sample_rate (float);
int set_buffer_size (uint32_t);