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