mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
* Fixed auto-advancing to next song on OSX / Win32.
This commit is contained in:
@@ -273,12 +273,6 @@ AudioEngine::loadNextTrack()
|
|||||||
result = m_playlist->nextItem();
|
result = m_playlist->nextItem();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( result.isNull() )
|
|
||||||
{
|
|
||||||
stop();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( !result.isNull() )
|
if ( !result.isNull() )
|
||||||
loadTrack( result );
|
loadTrack( result );
|
||||||
else
|
else
|
||||||
|
@@ -20,7 +20,7 @@ class RTAudioOutput : public QObject
|
|||||||
bool isPaused() { return m_paused; }
|
bool isPaused() { return m_paused; }
|
||||||
virtual bool isPlaying() { return m_playing; }
|
virtual bool isPlaying() { return m_playing; }
|
||||||
|
|
||||||
bool haveData() { return m_buffer.length() > 0; }
|
bool haveData() { return m_buffer.length() > 2048; }
|
||||||
bool needData();
|
bool needData();
|
||||||
void processData( const QByteArray &buffer );
|
void processData( const QByteArray &buffer );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user