From: drowe67 Date: Thu, 3 May 2018 00:39:40 +0000 (+0000) Subject: commented out some fprintfs X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=f0a42e8e67623af604231f61de84cb7ba926f58c;p=freetel-svn-tracking.git commented out some fprintfs git-svn-id: https://svn.code.sf.net/p/freetel/code@3558 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/freedv-dev/src/fdmdv2_main.cpp b/freedv-dev/src/fdmdv2_main.cpp index d74ac709..d744622f 100644 --- a/freedv-dev/src/fdmdv2_main.cpp +++ b/freedv-dev/src/fdmdv2_main.cpp @@ -3264,8 +3264,8 @@ void txRxProcessing() int nsam = g_soundCard1SampleRate * (float)N8/FS; assert(nsam <= N48); g_mutexProtectingCallbackData.Lock(); - fprintf(stderr, "RX nsam: %d fifo_used: %d fifo_free: %d\n", - nsam, fifo_used(cbData->infifo1), fifo_free(cbData->infifo1)); + //fprintf(stderr, "RX nsam: %d fifo_used: %d fifo_free: %d\n", + // nsam, fifo_used(cbData->infifo1), fifo_free(cbData->infifo1)); while ((fifo_read(cbData->infifo1, in48k_short, nsam) == 0) && ((g_half_duplex && !g_tx) || !g_half_duplex)) { g_mutexProtectingCallbackData.Unlock(); @@ -3438,8 +3438,8 @@ void txRxProcessing() g_mutexProtectingCallbackData.Lock(); unsigned int nsam_out_48 = g_soundCard2SampleRate * freedv_get_n_nom_modem_samples(g_pfreedv)/FS; - fprintf(stderr, "TX nsam_out_48: %d fifo_used: %d fifo_free: %d\n", - nsam_out_48, fifo_used(cbData->outfifo1), fifo_free(cbData->outfifo1)); + //fprintf(stderr, "TX nsam_out_48: %d fifo_used: %d fifo_free: %d\n", + // nsam_out_48, fifo_used(cbData->outfifo1), fifo_free(cbData->outfifo1)); while((unsigned)fifo_free(cbData->outfifo1) >= nsam_out_48) { g_mutexProtectingCallbackData.Unlock(); @@ -3537,7 +3537,7 @@ void txRxProcessing() g_mutexProtectingCallbackData.Lock(); ret = fifo_write(cbData->outfifo1, out48k_short, nout); //fwrite(out48k_short, nout, sizeof(short), ftest); - fprintf(stderr,"TX nout: %d ret: %d N48*10: %d\n", nout, ret, N48*10); + //fprintf(stderr,"TX nout: %d ret: %d N48*10: %d\n", nout, ret, N48*10); assert(ret != -1); }