From 1c06033e03084a1276f161494bf50b7d0c0efb55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Damian=20Kara=C5=9B?= <s176030@student.pg.edu.pl>
Date: Sat, 13 Nov 2021 21:24:50 +0100
Subject: [PATCH] ALSA_support: small logs improvment
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Damian Karaś <s176030@student.pg.edu.pl>
---
 src/cpp/ALSA_support.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cpp/ALSA_support.cpp b/src/cpp/ALSA_support.cpp
index bd9804a..cb2bdb3 100644
--- a/src/cpp/ALSA_support.cpp
+++ b/src/cpp/ALSA_support.cpp
@@ -905,7 +905,7 @@ snd_pcm_sframes_t DSP::ALSA_object_t::pcm_writei(const void *buffer, const snd_p
     {
       case EAGAIN:
         #ifdef AUDIO_DEBUG_MESSAGES_ON
-          DSP::log << "EAGAIN occured. Waiting for free buffer." << endl;
+          DSP::log << "EAGAIN occurred. Waiting for a free buffer." << endl;
         #endif // AUDIO_DEBUG_MESSAGES_ON
         //! \TODO M.B. In the future snd_pcm_status_get_avail / snd_pcm_avail_update could be used to select sleep time
         DSP::f::Sleep(0);
@@ -963,7 +963,7 @@ void DSP::ALSA_object_t::close_alsa_device(bool do_drain, bool use_log)
     }
     
     #ifdef AUDIO_DEBUG_MESSAGES_ON
-      DSP::log << "Closing PCM device." << endl;
+      DSP::log << "Closing the PCM device." << endl;
     #endif // AUDIO_DEBUG_MESSAGES_ON
 
     snd_pcm_close(alsa_handle);
-- 
GitLab