From d3b18fa8a7a3e39008c1cf152e5a5b293ed9a8a2 Mon Sep 17 00:00:00 2001
From: kevin <kevin@larke.org>
Date: Sun, 31 Jan 2021 11:10:44 -0500
Subject: [PATCH] cwAudioDeviceAlsa.cpp : Replaced printf()'s with
 cwLogInfo()'s.

---
 cwAudioDeviceAlsa.cpp | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/cwAudioDeviceAlsa.cpp b/cwAudioDeviceAlsa.cpp
index 4214450..a528e3b 100644
--- a/cwAudioDeviceAlsa.cpp
+++ b/cwAudioDeviceAlsa.cpp
@@ -446,7 +446,7 @@ namespace cw
                 }
         
 
-                printf("EPIPE %c %i %i %i\n",dirCh,drp->devIdx,drp->oCbCnt,line);
+                cwLogInfo("EPIPE %c %i %i %i",dirCh,drp->devIdx,drp->oCbCnt,line);
 
                 break;
               }
@@ -457,7 +457,7 @@ namespace cw
                 if((err = snd_pcm_recover( pcmH, err, silentFl )) < 0 )
                   _alsaSetupError(err,inputFl,drp,"recover failed.");
 
-                printf("audio port impl ESTRPIPE:%c\n",dirCh);
+                cwLogInfo("audio port impl ESTRPIPE:%c",dirCh);
                 break;
               }
 
@@ -547,7 +547,7 @@ namespace cw
                 normN += 1;
           }
 
-          printf("%i z:%i n:%i : %f %i : %s\n", n, zeroN, normN, facc/(n/2), iacc/(n/2), devNameStr);
+          cwLogInfo("%i z:%i n:%i : %f %i : %s", n, zeroN, normN, facc/(n/2), iacc/(n/2), devNameStr);
           
         }
 
@@ -1153,7 +1153,8 @@ namespace cw
 
                   p->pollfdsCnt += incrFdsCnt;
                 }
-                printf("%s %s period:%i %i buffer:%i bits:%i sig_bits:%i\n",inputFl?"in ":"out",drp->nameStr,(unsigned)periodFrameCnt,(unsigned)actFpC,(unsigned)bufferFrameCnt,bits,sig_bits);
+                
+                cwLogInfo("%s %s period:%i %i buffer:%i bits:%i sig_bits:%i",inputFl?"in ":"out",drp->nameStr,(unsigned)periodFrameCnt,(unsigned)actFpC,(unsigned)bufferFrameCnt,bits,sig_bits);
 
               } // end if async