From 4122204eafef336c111b4bd7bc9f61fa0d8287b8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 24 Mar 2014 13:40:44 -0400 Subject: [PATCH] add ::drop_device() method to ARDOUR::AudioBackend --- libs/ardour/ardour/audio_backend.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/ardour/ardour/audio_backend.h b/libs/ardour/ardour/audio_backend.h index 6e4084ac9d..323b5017de 100644 --- a/libs/ardour/ardour/audio_backend.h +++ b/libs/ardour/ardour/audio_backend.h @@ -188,6 +188,9 @@ class LIBARDOUR_API AudioBackend : public PortEngine { /** Set the name of the device to be used */ virtual int set_device_name (const std::string&) = 0; + /** Deinitialize and destroy current device + */ + virtual int drop_device() {}; /** Set the sample rate to be used */ virtual int set_sample_rate (float) = 0;