summaryrefslogtreecommitdiffstats
path: root/src/engine/JackAudioDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/JackAudioDriver.cpp')
-rw-r--r--src/engine/JackAudioDriver.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/engine/JackAudioDriver.cpp b/src/engine/JackAudioDriver.cpp
index 14b1f11d..23577e33 100644
--- a/src/engine/JackAudioDriver.cpp
+++ b/src/engine/JackAudioDriver.cpp
@@ -387,13 +387,16 @@ JackAudioDriver::_buffer_size_cb(jack_nframes_t nframes)
} // namespace Ingen
+extern "C" {
+
Ingen::JackAudioDriver*
new_jack_audio_driver(
- Ingen::Engine& engine,
- std::string server_name,
- std::string client_name,
- jack_client_t* jack_client)
+ Ingen::Engine& engine,
+ const std::string server_name,
+ const std::string client_name,
+ void* jack_client)
{
- return new Ingen::JackAudioDriver(engine, server_name, client_name, jack_client);
+ return new Ingen::JackAudioDriver(engine, server_name, client_name, (jack_client_t*)jack_client);
}
+}