Re: [LAU] [Jack-Devel] jack2 turned verbose

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>, JACK <jack-devel@...>
Date: Monday, June 4, 2012 - 8:06 pm

On 06/01/2012 03:58 PM, Robin Gareus wrote:

I've had a closer look at this and this patch seems to be working for me
(their's no equivalent bool in jack_driver_param_value_t)

diff -Nurp '-x*~' jack-1.9.8.orig/common/JackControlAPI.cpp
jack-1.9.8/common/JackControlAPI.cpp
--- jack-1.9.8.orig/common/JackControlAPI.cpp 2011-12-19
12:54:02.000000000 +0100
+++ jack-1.9.8/common/JackControlAPI.cpp 2012-06-04 21:57:59.264581780 +0200
@@ -246,7 +246,7 @@ jackctl_add_driver_parameters(
break;
case JackDriverParamBool:
jackctl_type = JackParamBool;
- jackctl_value.b = descriptor_ptr->value.i;
+ jackctl_value.b = (descriptor_ptr->value.i > 0);
break;
default:
jack_error("unknown driver parameter type %i",
(int)descriptor_ptr->type);

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] jack2 turned verbose, David Adler, (Tue May 29, 7:06 am)
Re: [LAU] jack2 turned verbose, mark hadman, (Wed May 30, 11:01 pm)
Re: [LAU] jack2 turned verbose, David Adler, (Wed May 30, 11:58 pm)
Re: [LAU] jack2 turned verbose, Robin Gareus, (Fri Jun 1, 12:52 pm)
Re: [LAU] [Jack-Devel] jack2 turned verbose, David Adler, (Fri Jun 1, 1:49 pm)
Re: [LAU] [Jack-Devel] jack2 turned verbose, Brendan Jones, (Sun Jun 3, 8:52 pm)
Re: [LAU] [Jack-Devel] jack2 turned verbose, Brendan Jones, (Sun Jun 3, 10:55 pm)
Re: [LAU] [Jack-Devel] jack2 turned verbose, Brendan Jones, (Sun Jun 3, 10:14 pm)
Re: [LAU] [Jack-Devel] jack2 turned verbose, David Adler, (Fri Jun 1, 2:30 pm)
Re: [LAU] [Jack-Devel] jack2 turned verbose, Robin Gareus, (Fri Jun 1, 1:59 pm)
Re: [LAU] [Jack-Devel] jack2 turned verbose, Brendan Jones, (Mon Jun 4, 8:06 pm)
Re: [LAU] [Jack-Devel] jack2 turned verbose, Kaspar Bumke, (Sat Jun 23, 8:58 pm)
Re: [LAU] [Jack-Devel] jack2 turned verbose, Kaspar Bumke, (Sat Jun 23, 9:50 pm)
Re: [LAU] [Jack-Devel] jack2 turned verbose, David Adler, (Sun Jun 24, 1:08 am)
Re: [LAU] [Jack-Devel] jack2 turned verbose, David Adler, (Fri Jun 1, 1:58 pm)
Re: [LAU] jack2 turned verbose, mark hadman, (Fri Jun 1, 12:47 am)
Re: [LAU] jack2 turned verbose, Ricardus Vincente, (Wed May 30, 11:04 pm)
Re: [LAU] jack2 turned verbose, david, (Tue May 29, 8:49 am)
Re: [LAU] jack2 turned verbose, David Adler, (Tue May 29, 12:00 pm)
Re: [LAU] jack2 turned verbose, rncbc, (Tue May 29, 2:50 pm)
Re: [LAU] jack2 turned verbose, David Adler, (Tue May 29, 3:24 pm)
Re: [LAU] jack2 turned verbose, Robin Gareus, (Tue May 29, 12:59 pm)
Re: [LAU] jack2 turned verbose, David Adler, (Tue May 29, 1:29 pm)
Re: [LAU] jack2 turned verbose, Jeremy Jongepier, (Tue May 29, 12:06 pm)
Re: [LAU] jack2 turned verbose, David Adler, (Tue May 29, 12:55 pm)