Removed debugging message..

This commit is contained in:
Jaroslav Kysela 1998-12-12 20:55:42 +00:00
parent 74a386d8c5
commit 0e8adecc8f

View file

@ -490,10 +490,8 @@ static void set_switch_boolean(int val)
if (sw->type != SND_CTL_SW_TYPE_BOOLEAN) if (sw->type != SND_CTL_SW_TYPE_BOOLEAN)
yyerror("Switch '%s' isn't boolean type...", sw->name); yyerror("Switch '%s' isn't boolean type...", sw->name);
xx = val ? 1 : 0; xx = val ? 1 : 0;
if (sw->value.enable != xx) { if (sw->value.enable != xx)
printf("change!!\n");
*Xswitchchange = 1; *Xswitchchange = 1;
}
sw->value.enable = xx; sw->value.enable = xx;
printf("name = '%s', sw->value.enable = %i\n", sw->name, xx); printf("name = '%s', sw->value.enable = %i\n", sw->name, xx);
} }