opps
This commit is contained in:
parent
3bf4fe1039
commit
55374810b5
|
|
@ -182,9 +182,9 @@ ResultAndArg poll_control_pipe() {
|
|||
resarg.res = CONTROL_PIPE_RDSVOL_SET;
|
||||
resarg.arg = arg;
|
||||
} else if(fifo[0] == 'P' && fifo[1] == 'A' && fifo[2] == 'U') {
|
||||
int togg = ( strcmp(arg, "OFF") == 0 );
|
||||
int togg = ( strcmp(arg, "ON") == 0 );
|
||||
printf("Set paused to ");
|
||||
if(!togg) printf("ON\n"); else printf("OFF\n");
|
||||
if(togg) printf("ON\n"); else printf("OFF\n");
|
||||
resarg.res = CONTROL_PIPE_PAUSE_SET;
|
||||
resarg.arg_int = togg;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue