output: fix the "outputenabled" value

Patch 9a5b5998 broke the "outputenabled" value of the "outputs"
response.  Make it print "1" if the output is enabled, "0" otherwise.
This commit is contained in:
Max Kellermann 2008-09-28 18:34:10 +02:00
parent 531a44e9e3
commit 75cba9343e

View File

@ -471,7 +471,7 @@ void printAudioDevices(struct client *client)
"outputenabled: %i\n",
i,
audioOutputArray[i].name,
audioDeviceStates[i]);
audioDeviceStates[i] == DEVICE_ENABLE);
}
}