13
0

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:
Robin Gareus 2015-12-04 17:08:45 +01:00
parent e9b0b4bcf0
commit 78a9791b58

View File

@ -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,