From dc44d571b33c5878a5ba0a3dac180699c874f88e Mon Sep 17 00:00:00 2001 From: shatty Date: Thu, 19 Sep 2002 07:11:43 +0000 Subject: [PATCH] fixed debug fprintfs. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1088 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/media/media-add-ons/reader/MediaReader.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/add-ons/media/media-add-ons/reader/MediaReader.cpp b/src/add-ons/media/media-add-ons/reader/MediaReader.cpp index 6009e632a4..ff6bbe74e6 100644 --- a/src/add-ons/media/media-add-ons/reader/MediaReader.cpp +++ b/src/add-ons/media/media-add-ons/reader/MediaReader.cpp @@ -360,7 +360,7 @@ status_t MediaReader::GetNextOutput( /* cookie starts as 0 */ if (cookie != 0) { // it's valid but they already got our 1 output if (*cookie != 0) { - fprintf(stderr,"<- B_ERROR\n"); + fprintf(stderr,"<- B_ERROR (no more outputs)\n"); return B_ERROR; } // so next time they won't get the same output again @@ -533,7 +533,7 @@ void MediaReader::Connect( * output.format.u.multistream.max_chunk_size / output.format.u.multistream.max_bit_rate); - fprintf(stderr," max chunk size = %i, max bit rate = %f, buffer period = %i\n", + fprintf(stderr," max chunk size = %i, max bit rate = %f, buffer period = %lld\n", output.format.u.multistream.max_chunk_size, output.format.u.multistream.max_bit_rate,fBufferPeriod); @@ -575,10 +575,10 @@ void MediaReader::Connect( fInternalLatency = end - start; - fprintf(stderr," internal latency from disk read = %i\n",fInternalLatency); + fprintf(stderr," internal latency from disk read = %lld\n",fInternalLatency); } else { fInternalLatency = 100; // just guess - fprintf(stderr," internal latency guessed = %i\n",fInternalLatency); + fprintf(stderr," internal latency guessed = %lld\n",fInternalLatency); } SetEventLatency(fDownstreamLatency + fInternalLatency);