aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/qmmp/decoder.cpp2
-rw-r--r--src/qmmp/decoder.h2
-rw-r--r--src/qmmp/soundcore.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/qmmp/decoder.cpp b/src/qmmp/decoder.cpp
index c6c1f83b1..a931faab3 100644
--- a/src/qmmp/decoder.cpp
+++ b/src/qmmp/decoder.cpp
@@ -167,7 +167,7 @@ qint64 Decoder::produceSound(char *data, qint64 size, quint32 brate, int chan)
void Decoder::finish()
{
//output()->wait();
- emit finished();
+ emit playbackFinished();
}
void Decoder::changeVolume(char *data, qint64 size, int chan)
diff --git a/src/qmmp/decoder.h b/src/qmmp/decoder.h
index 08931563c..33404855c 100644
--- a/src/qmmp/decoder.h
+++ b/src/qmmp/decoder.h
@@ -73,7 +73,7 @@ public:
static bool isEnabled(DecoderFactory* factory);
signals:
- void finished();
+ void playbackFinished();
protected:
void configure(quint32 srate, int chan, int bps);
diff --git a/src/qmmp/soundcore.cpp b/src/qmmp/soundcore.cpp
index 14afd503a..9180b486a 100644
--- a/src/qmmp/soundcore.cpp
+++ b/src/qmmp/soundcore.cpp
@@ -373,7 +373,7 @@ bool SoundCore::decode()
return FALSE;
}
qDebug ("ok");
- connect(m_decoder, SIGNAL(finished()), SIGNAL(finished()));
+ connect(m_decoder, SIGNAL(playbackFinished()), SIGNAL(finished()));
if (m_output)
m_output->setStateHandler(m_decoder->stateHandler());