author | llornkcor <llornkcor> | 2002-04-21 15:49:37 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-04-21 15:49:37 (UTC) |
commit | d7ff40e1530a1aab578a3d3c3126c4367cf3e898 (patch) (unidiff) | |
tree | c581ad533a4cbb7a0fbbcaa9f624ae8f9475adde /core/multimedia/opieplayer/libmad/libmadplugin.cpp | |
parent | a588c90b0191e837b472dcaa76a5dedc289a5b10 (diff) | |
download | opie-d7ff40e1530a1aab578a3d3c3126c4367cf3e898.zip opie-d7ff40e1530a1aab578a3d3c3126c4367cf3e898.tar.gz opie-d7ff40e1530a1aab578a3d3c3126c4367cf3e898.tar.bz2 |
added multiselect to playlist
Diffstat (limited to 'core/multimedia/opieplayer/libmad/libmadplugin.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/libmad/libmadplugin.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/multimedia/opieplayer/libmad/libmadplugin.cpp b/core/multimedia/opieplayer/libmad/libmadplugin.cpp index 6793773..7de4282 100644 --- a/core/multimedia/opieplayer/libmad/libmadplugin.cpp +++ b/core/multimedia/opieplayer/libmad/libmadplugin.cpp | |||
@@ -534,12 +534,12 @@ int LibMadPlugin::audioFrequency( int ) { | |||
534 | 534 | ||
535 | int LibMadPlugin::audioSamples( int ) { | 535 | int LibMadPlugin::audioSamples( int ) { |
536 | debugMsg( "LibMadPlugin::audioSamples" ); | 536 | debugMsg( "LibMadPlugin::audioSamples" ); |
537 | /* | 537 | |
538 | long t; short t1[5]; audioReadSamples( t1, 2, 1, t, 0 ); | 538 | // long t; short t1[5]; audioReadSamples( t1, 2, 1, t, 0 ); |
539 | mad_header_decode( (struct mad_header *)&d->frame.header, &d->stream ); | 539 | // mad_header_decode( (struct mad_header *)&d->frame.header, &d->stream ); |
540 | qDebug( "LibMadPlugin::audioSamples: %i*%i", d->frame.header.duration.seconds, d->frame.header.samplerate ); | 540 | // qDebug( "LibMadPlugin::audioSamples: %i*%i", d->frame.header.duration.seconds, d->frame.header.samplerate ); |
541 | return d->frame.header.duration.seconds * d->frame.header.samplerate; | 541 | // return d->frame.header.duration.seconds * d->frame.header.samplerate; |
542 | */ | 542 | |
543 | return 10000000; | 543 | return 10000000; |
544 | } | 544 | } |
545 | 545 | ||
@@ -782,7 +782,7 @@ double LibMadPlugin::getTime() { | |||
782 | 782 | ||
783 | 783 | ||
784 | void LibMadPlugin::printID3Tags() { | 784 | void LibMadPlugin::printID3Tags() { |
785 | debugMsg( "LibMadPlugin::printID3Tags" ); | 785 | qDebug( "LibMadPlugin::printID3Tags" ); |
786 | 786 | ||
787 | char id3v1[128 + 1]; | 787 | char id3v1[128 + 1]; |
788 | 788 | ||