Commit 75cba934 authored by Max Kellermann's avatar Max Kellermann

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.
parent 531a44e9
...@@ -471,7 +471,7 @@ void printAudioDevices(struct client *client) ...@@ -471,7 +471,7 @@ void printAudioDevices(struct client *client)
"outputenabled: %i\n", "outputenabled: %i\n",
i, i,
audioOutputArray[i].name, audioOutputArray[i].name,
audioDeviceStates[i]); audioDeviceStates[i] == DEVICE_ENABLE);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment