mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 16:44:05 +02:00
* More AudioEngine debug.
This commit is contained in:
@@ -301,6 +301,12 @@ void
|
|||||||
AudioEngine::onStateChanged( Phonon::State newState, Phonon::State oldState )
|
AudioEngine::onStateChanged( Phonon::State newState, Phonon::State oldState )
|
||||||
{
|
{
|
||||||
qDebug() << Q_FUNC_INFO << oldState << newState;
|
qDebug() << Q_FUNC_INFO << oldState << newState;
|
||||||
|
|
||||||
|
if ( newState == Phonon::ErrorState )
|
||||||
|
{
|
||||||
|
qDebug() << "Phonon Error:" << m_mediaObject->errorString() << m_mediaObject->errorType();
|
||||||
|
}
|
||||||
|
|
||||||
if ( oldState == Phonon::PlayingState && newState == Phonon::StoppedState )
|
if ( oldState == Phonon::PlayingState && newState == Phonon::StoppedState )
|
||||||
{
|
{
|
||||||
if ( !m_expectStop )
|
if ( !m_expectStop )
|
||||||
|
Reference in New Issue
Block a user