summaryrefslogtreecommitdiff
path: root/src/libmad
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-09-12 17:33:34 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-09-12 17:33:34 +0000
commit351db40c64b02835f48bb299295c49deac775997 (patch)
tree62104dc929dcc94e5d360df9df8d4c806be3d775 /src/libmad
parent8c790a575f88c44c8ef9ee2ade5a35bca60ca6fa (diff)
downloadxine-lib-351db40c64b02835f48bb299295c49deac775997.tar.gz
xine-lib-351db40c64b02835f48bb299295c49deac775997.tar.bz2
small libmad debug output cleanup
CVS patchset: 624 CVS date: 2001/09/12 17:33:34
Diffstat (limited to 'src/libmad')
-rw-r--r--src/libmad/xine_decoder.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/libmad/xine_decoder.c b/src/libmad/xine_decoder.c
index 3e5ee3cf9..ed537fc30 100644
--- a/src/libmad/xine_decoder.c
+++ b/src/libmad/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.6 2001/09/11 14:10:04 jcdutton Exp $
+ * $Id: xine_decoder.c,v 1.7 2001/09/12 17:33:34 guenter Exp $
*
* stuff needed to turn libmad into a xine decoder plugin
*/
@@ -72,6 +72,8 @@ static void mad_init (audio_decoder_t *this_gen, ao_instance_t *audio_out) {
mad_stream_init (&this->stream);
mad_frame_init (&this->frame);
+ /* printf ("libmad: init\n"); */
+
}
/* utility to scale and round samples to 16 bits */
@@ -111,8 +113,9 @@ static void mad_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) {
mad_decoder_t *this = (mad_decoder_t *) this_gen;
- /* printf ("libmad: decode data\n");
- fflush (stdout); */
+ /*
+ printf ("libmad: decode data, decoder_info[0]: %d\n", buf->decoder_info[0]);
+ */
if (buf->size>(INPUT_BUF_SIZE-this->bytes_in_buffer)) {
printf ("libmad: ALERT input buffer too small (%d bytes, %d avail)!\n",
@@ -127,9 +130,8 @@ static void mad_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) {
this->bytes_in_buffer += buf->size;
/*
- printf ("libmad: decode data - doing it\n");
- fflush (stdout);
- */
+ printf ("libmad: decode data - doing it\n");
+ */
mad_stream_buffer (&this->stream, this->buffer,
this->bytes_in_buffer);