changeset 754:32a8e9e43d94

debug printfs moved to -v
author arpi_esp
date Thu, 10 May 2001 18:44:38 +0000
parents 34c1a9fb631b
children 0d15358b0319
files dec_audio.c dll_init.c
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/dec_audio.c	Thu May 10 14:12:22 2001 +0000
+++ b/dec_audio.c	Thu May 10 18:44:38 2001 +0000
@@ -285,8 +285,8 @@
         }
         DS_AudioDecoder_Convert(sh_audio->a_in_buffer,sh_audio->a_in_buffer_len,
             buf,maxlen, &size_in,&size_out);
-        //if(verbose>2)
-        printf("DShow: audio %d -> %d converted  (in_buf_len=%d of %d)  %d\n",size_in,size_out,sh_audio->a_in_buffer_len,sh_audio->a_in_buffer_size,ds_tell_pts(sh_audio->ds));
+        if(verbose)
+          printf("DShow: audio %d -> %d converted  (in_buf_len=%d of %d)  %d\n",size_in,size_out,sh_audio->a_in_buffer_len,sh_audio->a_in_buffer_size,ds_tell_pts(sh_audio->ds));
         if(size_in>=sh_audio->a_in_buffer_len){
           sh_audio->a_in_buffer_len=0;
         } else {
--- a/dll_init.c	Thu May 10 14:12:22 2001 +0000
+++ b/dll_init.c	Thu May 10 18:44:38 2001 +0000
@@ -111,8 +111,8 @@
           
 //					return -1;
         }
-        //if(verbose>=3)
-        printf("acm converted %d -> %d\n",ash.cbSrcLengthUsed,ash.cbDstLengthUsed);
+        if(verbose)
+          printf("acm converted %d -> %d\n",ash.cbSrcLengthUsed,ash.cbDstLengthUsed);
         if(ash.cbSrcLengthUsed>=sh_audio->a_in_buffer_len){
           sh_audio->a_in_buffer_len=0;
         } else {