Commit ff903a0b authored by nedko's avatar nedko
Browse files

Fix jackctl_parameter_reset()

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3019 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 4f871f28
......@@ -1039,14 +1039,14 @@ EXPORT union jackctl_parameter_value jackctl_parameter_get_value(jackctl_paramet
return *parameter_ptr->value_ptr;
}
EXPORT bool jackctl_parameter_reset_value(jackctl_parameter *parameter_ptr)
EXPORT bool jackctl_parameter_reset(jackctl_parameter *parameter_ptr)
{
if (!parameter_ptr->is_set)
{
return true;
}
parameter_ptr->is_set = true;
parameter_ptr->is_set = false;
*parameter_ptr->value_ptr = *parameter_ptr->default_value_ptr;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment