From 79a75a43dbabd3ccf3f786d1bb93cba18390f7d7 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Sun, 16 Sep 2012 06:06:05 +0200 Subject: [PATCH] (retroarch.c) Replace some fprintf to stderr with RARCH_ERR --- retroarch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/retroarch.c b/retroarch.c index 21ff9201e3..286bd7d835 100644 --- a/retroarch.c +++ b/retroarch.c @@ -399,7 +399,7 @@ static bool audio_flush(const int16_t *data, size_t samples) if (audio_write_func(output_data, output_frames * sizeof(int16_t) * 2) < 0) { - fprintf(stderr, "RetroArch [ERROR]: Audio backend failed to write. Will continue without sound.\n"); + RARCH_ERR("Audio backend failed to write. Will continue without sound.\n"); return false; } #else @@ -408,7 +408,7 @@ static bool audio_flush(const int16_t *data, size_t samples) if (audio_write_func(g_extern.audio_data.mute ? empty_buf.f : output_data, output_frames * sizeof(float) * 2) < 0) { - fprintf(stderr, "RetroArch [ERROR]: Audio backend failed to write. Will continue without sound.\n"); + RARCH_ERR("Audio backend failed to write. Will continue without sound.\n"); return false; } } @@ -423,7 +423,7 @@ static bool audio_flush(const int16_t *data, size_t samples) if (audio_write_func(g_extern.audio_data.mute ? empty_buf.i : g_extern.audio_data.conv_outsamples, output_frames * sizeof(int16_t) * 2) < 0) { - fprintf(stderr, "RetroArch [ERROR]: Audio backend failed to write. Will continue without sound.\n"); + RARCH_ERR("Audio backend failed to write. Will continue without sound.\n"); return false; } }