author | ar <ar> | 2004-05-02 21:42:26 (UTC) |
---|---|---|
committer | ar <ar> | 2004-05-02 21:42:26 (UTC) |
commit | 0bbed7c9d1fe9e617ba3825b0883b7af75ee0733 (patch) (side-by-side diff) | |
tree | 245b60310031264faed44d34bf980182257eec54 | |
parent | 0a4cac124105a5732e55cb34c6b37be75083a395 (diff) | |
download | opie-0bbed7c9d1fe9e617ba3825b0883b7af75ee0733.zip opie-0bbed7c9d1fe9e617ba3825b0883b7af75ee0733.tar.gz opie-0bbed7c9d1fe9e617ba3825b0883b7af75ee0733.tar.bz2 |
- convert qDebug to odebug
-rw-r--r-- | core/multimedia/opieplayer/libmad/libmadplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/multimedia/opieplayer/libmad/libmadplugin.cpp b/core/multimedia/opieplayer/libmad/libmadplugin.cpp index 428fc28..7438a45 100644 --- a/core/multimedia/opieplayer/libmad/libmadplugin.cpp +++ b/core/multimedia/opieplayer/libmad/libmadplugin.cpp @@ -565,34 +565,34 @@ int LibMadPlugin::audioFrequency( int ) { } int LibMadPlugin::audioSamples( int ) { debugMsg( "LibMadPlugin::audioSamples" ); long t; short t1[5]; audioReadSamples( t1, 2, 1, t, 0 ); mad_header_decode( (struct mad_header *)&d->frame.header, &d->stream ); /* odebug << "LibMadPlugin::audioSamples: " << d->frame.header.duration.seconds << "*" << d->frame.header.samplerate << oendl; return d->frame.header.duration.seconds * d->frame.header.samplerate; */ if ( d->frame.header.bitrate == 0 ) return 0; int samples = (d->input.fileLength / (d->frame.header.bitrate/8)) * d->frame.header.samplerate; - // qDebug( "LibMadPlugin::audioSamples: %i * %i * 8 / %i", (int)d->input.fileLength, - // (int)d->frame.header.samplerate, (int)d->frame.header.bitrate ); + // odebug << "LibMadPlugin::audioSamples: " << (int)d->input.fileLength + // << " * " << (int)d->frame.header.samplerate << " * 8 / " << (int)d->frame.header.bitrate << oendl; // odebug << "LibMadPlugin::audioSamples: " << samples << "" << oendl; return samples; // return 10000000; } bool LibMadPlugin::audioSetSample( long, int ) { debugMsg( "LibMadPlugin::audioSetSample" ); // long totalSamples = audioSamples(0); // if ( totalSamples <= 1 ) // return FALSE; // // Seek to requested position |