From 75cba9343ec4bf93d9677792c1fbf9e9f5837a72 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 28 Sep 2008 18:34:10 +0200 Subject: 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. --- src/audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio.c b/src/audio.c index d3e3ac908..e79d0e547 100644 --- a/src/audio.c +++ b/src/audio.c @@ -471,7 +471,7 @@ void printAudioDevices(struct client *client) "outputenabled: %i\n", i, audioOutputArray[i].name, - audioDeviceStates[i]); + audioDeviceStates[i] == DEVICE_ENABLE); } } -- cgit v1.2.3