changeset 58:d42917f142b5 trunk

[svn] - remove debugging notices
author nenolod
date Sat, 30 Sep 2006 21:11:48 -0700
parents 96901271d2e2
children 72ad216a01ac
files ChangeLog src/alac/plugin.c
diffstat 2 files changed, 10 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Sep 30 20:58:51 2006 -0700
+++ b/ChangeLog	Sat Sep 30 21:11:48 2006 -0700
@@ -1,3 +1,13 @@
+2006-10-01 03:58:51 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [114]
+  - fix crashing. works on my x64 box, static on bigendian (tested: x64-be, mips, ppc64)
+  
+  trunk/src/alac/alac.c   |   39 +++++++++++++++++++++++----------------
+  trunk/src/alac/plugin.c |   31 +++++++++++++++++++------------
+  trunk/src/alac/stream.c |    8 ++------
+  3 files changed, 44 insertions(+), 34 deletions(-)
+
+
 2006-10-01 02:26:34 +0000  William Pitcock <nenolod@nenolod.net>
   revision [112]
   - experimental ALAC plugin -- don't use this, it crashes
--- a/src/alac/plugin.c	Sat Sep 30 20:58:51 2006 -0700
+++ b/src/alac/plugin.c	Sat Sep 30 21:11:48 2006 -0700
@@ -46,9 +46,6 @@
 static int input_opened = 0;
 static stream_t *input_stream;
 
-static int write_wav_format = 0;
-static int verbose = 1;
-
 gpointer decode_thread(void *args);
 static GThread *playback_thread;
 
@@ -216,13 +213,8 @@
         /* write */
         bytes_read += outputBytes;
 
-        if (verbose)
-            fprintf(stderr, "read %i bytes. total: %i\n", outputBytes, bytes_read);
-
         produce_audio(alac_ip.output->written_time(), FMT_S16_LE, demux_res->num_channels, outputBytes, pDestBuffer, &going);
     }
-    if (verbose)
-        fprintf(stderr, "done reading, read %i frames\n", i);
 }
 
 static void init_sound_converter(demux_res_t *demux_res)