mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
add interface for latency updates w/o restarting the backend
This is useful for USB devices. Since there is a ringbuffer in the driver (common on ALSA but also other platforms) to align the USB stream with USB bus timing the latency can differ every time the device is re-opened.
This commit is contained in:
parent
e9b0b4bcf0
commit
78a9791b58
1 changed files with 5 additions and 0 deletions
|
|
@ -350,6 +350,11 @@ class LIBARDOUR_API AudioBackend : public PortEngine {
|
|||
*/
|
||||
virtual bool can_change_buffer_size_when_running () const = 0;
|
||||
|
||||
/** return true if the backend can measure and update
|
||||
* systemic latencies without restart.
|
||||
*/
|
||||
virtual bool can_change_systemic_latency_when_running () const { return false; }
|
||||
|
||||
/* Set the hardware parameters.
|
||||
*
|
||||
* If called when the current state is stopped or paused,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue