diff options
author | Robin Gareus <robin@gareus.org> | 2015-06-14 18:10:31 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-06-14 18:10:31 +0200 |
commit | 573ec69a9aa29b08d99cba56284660fcd080fb55 (patch) | |
tree | eda24fd4bb261654d8f28944e7d02be56db6dc19 /libs/backends/jack/jack_connection.h | |
parent | b86a8edcff801236792c066e2c2bfd237d30ca4b (diff) |
probe buffersize if jackd is already running.
Diffstat (limited to 'libs/backends/jack/jack_connection.h')
-rw-r--r-- | libs/backends/jack/jack_connection.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/backends/jack/jack_connection.h b/libs/backends/jack/jack_connection.h index a7462344dc..3b0ccb8d46 100644 --- a/libs/backends/jack/jack_connection.h +++ b/libs/backends/jack/jack_connection.h @@ -29,11 +29,16 @@ class JackConnection { static bool in_control() { return _in_control; } + uint32_t probed_buffer_size () const { assert (!connected ()); return _probed_buffer_size; } + uint32_t probed_sample_rate () const { assert (!connected ()); return _probed_sample_rate; } + private: jack_client_t* volatile _jack; std::string _client_name; std::string session_uuid; static bool _in_control; + uint32_t _probed_buffer_size; // when not in control + uint32_t _probed_sample_rate; // when not in control }; } // namespace |