Exemplo n.º 1
0
// bool jackctl_parameter_is_set(jackctl_parameter_t * parameter);
static int _parameter_is_set(ClientData clientData, Tcl_Interp *interp, int argc, Tcl_Obj* const *objv) {
  if (argc != 3) return fw_error_str(interp, "usage: jack-ctl parameter-is-set parameter");
  jackctl_parameter_t * parameter;
  if (_get_pointer(interp, objv[2], (void**)&parameter) != TCL_OK)
    return TCL_ERROR;
  return _return_bool(interp, jackctl_parameter_is_set(parameter));
}
Exemplo n.º 2
0
bool JackServer::isSet(jackctl_parameter_t *parameter) const
{
    return jackctl_parameter_is_set(parameter);
}