chiark / gitweb /
disable some debug chatter from speaker
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 23 Sep 2007 12:40:57 +0000 (13:40 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 23 Sep 2007 12:40:57 +0000 (13:40 +0100)
server/speaker.c

index 4d21381..3aef0b0 100644 (file)
@@ -987,7 +987,9 @@ int main(int argc, char **argv) {
                                            * config->sample_format.rate
                                            * config->sample_format.channels
                                            / 1000);
                                            * config->sample_format.rate
                                            * config->sample_format.channels
                                            / 1000);
+#if 0
         static unsigned logit;
         static unsigned logit;
+#endif
 
         /* If we're starting then initialize the base time */
         if(!rtp_time)
 
         /* If we're starting then initialize the base time */
         if(!rtp_time)
@@ -1001,7 +1003,7 @@ int main(int argc, char **argv) {
                                      * config->sample_format.channels)
 
                           / 1000000;
                                      * config->sample_format.channels)
 
                           / 1000000;
-#if 1
+#if 0
         /* TODO remove logging guff */
         if(!(logit++ & 1023))
           info("rtp_time %llu target %llu difference %lld [%lld]", 
         /* TODO remove logging guff */
         if(!(logit++ & 1023))
           info("rtp_time %llu target %llu difference %lld [%lld]",