aboutsummaryrefslogtreecommitdiffstats
path: root/test/FakeDecoderAPI.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-24 14:44:08 +0100
committerMax Kellermann <max@duempel.org>2013-12-24 14:44:08 +0100
commit1ad52f131c7adf3396ea03d8da0da807da222bba (patch)
tree7556fa5d25352a5166342cbd582e62f473644123 /test/FakeDecoderAPI.cxx
parent8064bbbc3f3d3bac50a9cd972106479fd32917cc (diff)
downloadmpd-1ad52f131c7adf3396ea03d8da0da807da222bba.tar.gz
mpd-1ad52f131c7adf3396ea03d8da0da807da222bba.tar.xz
mpd-1ad52f131c7adf3396ea03d8da0da807da222bba.zip
test/*: use fprintf(stderr,...) and Log() instead of g_printerr()
Avoid GLib.
Diffstat (limited to '')
-rw-r--r--test/FakeDecoderAPI.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/FakeDecoderAPI.cxx b/test/FakeDecoderAPI.cxx
index ca09ca982..3045722cf 100644
--- a/test/FakeDecoderAPI.cxx
+++ b/test/FakeDecoderAPI.cxx
@@ -129,13 +129,13 @@ decoder_replay_gain(gcc_unused Decoder &decoder,
{
const ReplayGainTuple *tuple = &rgi->tuples[REPLAY_GAIN_ALBUM];
if (tuple->IsDefined())
- g_printerr("replay_gain[album]: gain=%f peak=%f\n",
- tuple->gain, tuple->peak);
+ fprintf(stderr, "replay_gain[album]: gain=%f peak=%f\n",
+ tuple->gain, tuple->peak);
tuple = &rgi->tuples[REPLAY_GAIN_TRACK];
if (tuple->IsDefined())
- g_printerr("replay_gain[track]: gain=%f peak=%f\n",
- tuple->gain, tuple->peak);
+ fprintf(stderr, "replay_gain[track]: gain=%f peak=%f\n",
+ tuple->gain, tuple->peak);
}
void