Merge commit '0.99.2'
[fmit.git] / debian / patches / jackd2.patch
1 The use of jack_error_callback in current fmit code is... erm, useless,
2 as it just says "Use the default", which is also used if nothing is
3 specified.
4
5 Patch from Adrian Knoth <adi@drcomp.erfurt.thur.de>.
6
7 diff --git a/src/CaptureThread.cpp b/src/CaptureThread.cpp
8 index 5c6f86b..6eae124 100644
9 --- a/src/CaptureThread.cpp
10 +++ b/src/CaptureThread.cpp
11 @@ -877,7 +877,6 @@ void CaptureThreadImplJACK::capture_init()
12  
13         jack_set_process_callback(m_jack_client, JackProcess, (void*)this);
14         jack_on_shutdown(m_jack_client, JackShutdown, (void*)this);
15 -       jack_set_error_function(jack_error_callback);
16         jack_set_sample_rate_callback(m_jack_client, JackSampleRate, (void*)this);
17  
18         int err=0;