copy over current Waves version of their backend, along with minor changes in libs...
[ardour.git] / libs / ardour / ardour / audio_backend.h
index bf860e9aebbfb1bd79f405aefe1dfdb647bfc820..a61e5757de2319f6eec5b74ff61f3487e53f2ebd 100644 (file)
@@ -225,7 +225,7 @@ class LIBARDOUR_API AudioBackend : public PortEngine {
     virtual int set_device_name (const std::string&) = 0;
     /** Deinitialize and destroy current device
      */
-    virtual int drop_device() { return 0; };
+       virtual int drop_device() {return 0;};
     /** Set the sample rate to be used
      */
     virtual int set_sample_rate (float) = 0;
@@ -386,6 +386,12 @@ class LIBARDOUR_API AudioBackend : public PortEngine {
      */
     virtual int stop () = 0;
 
+        /** Reset device. 
+     *
+     * Return zero if successful, negative values on error
+     */
+       virtual int reset_device() = 0;
+
     /** While remaining connected to the device, and without changing its
      * configuration, start (or stop) calling the process_callback() of @param engine
      * without waiting for the device. Once process_callback() has returned, it