summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-29 21:43:35 +0100
committerDavid Robillard <d@drobilla.net>2020-11-29 21:43:35 +0100
commit4ec76815862e59fcfd441dc6391e8fe4194adcd7 (patch)
tree8312d9e5c4afd53aa0b1dae399393039fbbe4c5e /src
parent46eac5f882325bf74266634b82f60ce398494ced (diff)
downloadpatchage-4ec76815862e59fcfd441dc6391e8fe4194adcd7.tar.gz
patchage-4ec76815862e59fcfd441dc6391e8fe4194adcd7.tar.bz2
patchage-4ec76815862e59fcfd441dc6391e8fe4194adcd7.zip
Remove pointless method
Diffstat (limited to 'src')
-rw-r--r--src/JackLibDriver.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/JackLibDriver.cpp b/src/JackLibDriver.cpp
index a120b6c..bb95cfb 100644
--- a/src/JackLibDriver.cpp
+++ b/src/JackLibDriver.cpp
@@ -85,8 +85,6 @@ private:
ClientInfo get_client_info(const char* name);
PortInfo get_port_info(const jack_port_t* port);
- void shutdown();
-
static void jack_client_registration_cb(const char* name,
int registered,
void* jack_driver);
@@ -259,18 +257,12 @@ JackLibDriver::get_port_info(const jack_port_t* const port)
}
void
-JackLibDriver::shutdown()
-{
- _emit_event(DriverDetachmentEvent{ClientType::jack});
-}
-
-void
JackLibDriver::refresh(const EventSink& sink)
{
std::lock_guard<std::mutex> lock{_shutdown_mutex};
if (!_client) {
- shutdown();
+ _emit_event(DriverDetachmentEvent{ClientType::jack});
return;
}