aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/OutputPrint.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/OutputPrint.cxx')
-rw-r--r--src/output/OutputPrint.cxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/output/OutputPrint.cxx b/src/output/OutputPrint.cxx
index 831aea649..d2ddbbf8b 100644
--- a/src/output/OutputPrint.cxx
+++ b/src/output/OutputPrint.cxx
@@ -26,18 +26,17 @@
#include "OutputPrint.hxx"
#include "MultipleOutputs.hxx"
#include "Internal.hxx"
-#include "client/Client.hxx"
+#include "client/Response.hxx"
void
-printAudioDevices(Client &client, const MultipleOutputs &outputs)
+printAudioDevices(Response &r, const MultipleOutputs &outputs)
{
for (unsigned i = 0, n = outputs.Size(); i != n; ++i) {
const AudioOutput &ao = outputs.Get(i);
- client_printf(client,
- "outputid: %i\n"
- "outputname: %s\n"
- "outputenabled: %i\n",
- i, ao.name, ao.enabled);
+ r.Format("outputid: %i\n"
+ "outputname: %s\n"
+ "outputenabled: %i\n",
+ i, ao.name, ao.enabled);
}
}