[beast: 9/24] DRIVERS: use Rapicorn's printerr()



commit 1e1248d41334cee6b78cc29583a449b83e03e889
Author: Tim Janik <timj gnu org>
Date:   Tue Sep 22 22:19:10 2015 +0200

    DRIVERS: use Rapicorn's printerr()

 drivers/bsemididevice-alsa.cc |    4 ++--
 drivers/bsepcmdevice-alsa.cc  |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/drivers/bsemididevice-alsa.cc b/drivers/bsemididevice-alsa.cc
index 314deb6..d847168 100644
--- a/drivers/bsemididevice-alsa.cc
+++ b/drivers/bsemididevice-alsa.cc
@@ -209,7 +209,7 @@ bse_midi_device_alsa_open (BseDevice     *device,
       if (!error && snd_rawmidi_params_current (alsa->read_handle, mparams) < 0)
         error = Bse::ERROR_FILE_OPEN_FAILED;
       if (0)
-        g_printerr ("midiread:  buffer=%zd active_sensing=%d min_avail=%zd\n",
+        printerr ("midiread:  buffer=%zd active_sensing=%d min_avail=%zd\n",
                     snd_rawmidi_params_get_buffer_size (mparams),
                     !snd_rawmidi_params_get_no_active_sensing (mparams),
                     snd_rawmidi_params_get_avail_min (mparams));
@@ -219,7 +219,7 @@ bse_midi_device_alsa_open (BseDevice     *device,
       if (!error && snd_rawmidi_params_current (alsa->write_handle, mparams) < 0)
         error = Bse::ERROR_FILE_OPEN_FAILED;
       if (0)
-        g_printerr ("midiwrite: buffer=%zd active_sensing=%d min_avail=%zd\n",
+        printerr ("midiwrite: buffer=%zd active_sensing=%d min_avail=%zd\n",
                     snd_rawmidi_params_get_buffer_size (mparams),
                     !snd_rawmidi_params_get_no_active_sensing (mparams),
                     snd_rawmidi_params_get_avail_min (mparams));
diff --git a/drivers/bsepcmdevice-alsa.cc b/drivers/bsepcmdevice-alsa.cc
index 67aab92..964a0a7 100644
--- a/drivers/bsepcmdevice-alsa.cc
+++ b/drivers/bsepcmdevice-alsa.cc
@@ -439,7 +439,7 @@ alsa_device_check_io (BsePcmHandle *handle,
           ws = snd_pcm_state (alsa->write_handle);
         }
       guint wn = snd_pcm_status_get_avail (stat);
-      g_printerr ("ALSA: check_io: read=%4u/%4u (%s) write=%4u/%4u (%s) block=%u: %s\n",
+      printerr ("ALSA: check_io: read=%4u/%4u (%s) write=%4u/%4u (%s) block=%u: %s\n",
                   rn, alsa->period_size * alsa->n_periods, snd_pcm_state_name (rs),
                   wn, alsa->period_size * alsa->n_periods, snd_pcm_state_name (ws),
                   handle->block_length,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]