From a99a2e2c600ee81dae8c14e09319359d2bfac9a2 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 27 Jun 2014 22:22:29 +0200 Subject: Change JackInput to char* to avoid crash when JACK compiled in but not used --- src/JackInput.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/JackInput.h') diff --git a/src/JackInput.h b/src/JackInput.h index d5832c7..36cd34f 100644 --- a/src/JackInput.h +++ b/src/JackInput.h @@ -37,7 +37,7 @@ extern "C" { class JackInput { public: - JackInput(const std::string& jack_name, + JackInput(const char* jack_name, unsigned int channels, unsigned int samplerate, SampleQueue& queue) : @@ -63,7 +63,7 @@ class JackInput std::vector m_input_ports; - std::string m_jack_name; + const char* m_jack_name; unsigned int m_channels; unsigned int m_rate; -- cgit v1.2.3