From 5cf96d21f21199333c4f47e3de7132905d24470f Mon Sep 17 00:00:00 2001 From: Nikita Zlobin Date: Sat, 1 Jan 2022 05:54:19 +0500 Subject: [PATCH] jack_control: unused function --- tools/jack_control | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/tools/jack_control b/tools/jack_control index add76267..52eb0dd4 100755 --- a/tools/jack_control +++ b/tools/jack_control @@ -30,7 +30,6 @@ def dbus_type_to_python_type(dbus_value): def python_type_to_jackdbus_type(value, type_char): type_char = str(type_char) - if type_char == "b": return bool_convert(value); elif type_char == "y": @@ -42,20 +41,6 @@ def python_type_to_jackdbus_type(value, type_char): return value -def dbus_type_to_type_string(dbus_value): - if type(dbus_value) == dbus.Boolean: - return "bool" - if type(dbus_value) == dbus.Int32: - return "sint" - if type(dbus_value) == dbus.UInt32: - return "uint" - if type(dbus_value) == dbus.Byte: - return "char" - if type(dbus_value) == dbus.String: - return "str" - - return None # throw exception here? - def dbus_typesig_to_type_string(type_char): type_char = str(type_char) if type_char == 'i':