From 32e05fa6403d42a034a786b8b63b27f2ec569fdf Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 1 Oct 2014 03:24:54 +0200 Subject: [PATCH] update backends for API change in 8d59afb048 --- libs/backends/alsa/alsa_audiobackend.h | 2 ++ libs/backends/dummy/dummy_audiobackend.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/libs/backends/alsa/alsa_audiobackend.h b/libs/backends/alsa/alsa_audiobackend.h index dd24cb7753..f9123875e6 100644 --- a/libs/backends/alsa/alsa_audiobackend.h +++ b/libs/backends/alsa/alsa_audiobackend.h @@ -184,6 +184,8 @@ class AlsaAudioBackend : public AudioBackend { int set_systemic_midi_input_latency (std::string const, uint32_t); int set_systemic_midi_output_latency (std::string const, uint32_t); + int reset_device () { return 0; }; + /* Retrieving parameters */ std::string device_name () const; float sample_rate () const; diff --git a/libs/backends/dummy/dummy_audiobackend.h b/libs/backends/dummy/dummy_audiobackend.h index d5cbaec1ce..3d389b7701 100644 --- a/libs/backends/dummy/dummy_audiobackend.h +++ b/libs/backends/dummy/dummy_audiobackend.h @@ -236,6 +236,8 @@ class DummyAudioBackend : public AudioBackend { int set_systemic_midi_input_latency (std::string const, uint32_t) { return 0; } int set_systemic_midi_output_latency (std::string const, uint32_t) { return 0; } + int reset_device () { return 0; }; + /* Retrieving parameters */ std::string device_name () const; float sample_rate () const;