diff options
author | Robin Gareus <robin@gareus.org> | 2015-12-04 17:45:49 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-12-04 17:45:49 +0100 |
commit | ac075560bd8034a549bc017391fae92cfb5d7eef (patch) | |
tree | 19c9104ccabf7fedffe963fb2994e961219a5344 /libs/backends/alsa/alsa_audiobackend.h | |
parent | 2529b9db963b1dba66cdfeda94d938cf09ab4873 (diff) |
ALSA: allow to measure & set systemic audio latency w/o restart.
(MIDI needs a bit more work)
Diffstat (limited to 'libs/backends/alsa/alsa_audiobackend.h')
-rw-r--r-- | libs/backends/alsa/alsa_audiobackend.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/backends/alsa/alsa_audiobackend.h b/libs/backends/alsa/alsa_audiobackend.h index 1dca7ec149..a661aa2979 100644 --- a/libs/backends/alsa/alsa_audiobackend.h +++ b/libs/backends/alsa/alsa_audiobackend.h @@ -184,6 +184,8 @@ class AlsaAudioBackend : public AudioBackend { bool can_change_sample_rate_when_running () const; bool can_change_buffer_size_when_running () const; + bool can_change_systemic_latency_when_running () const { return true; } + int set_device_name (const std::string&); int set_input_device_name (const std::string&); int set_output_device_name (const std::string&); @@ -443,6 +445,9 @@ class AlsaAudioBackend : public AudioBackend { return NULL; } + void update_systemic_audio_latencies (); + void update_systemic_midi_latencies (); + }; // class AlsaAudioBackend } // namespace |