1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-21 08:21:54 +02:00

* Temporary fix for wrong sampleRate detection by libmad.

This commit is contained in:
Christian Muehlhaeuser 2010-12-01 07:17:27 +01:00
parent 89da3f6f85
commit 77400f543c

View File

@ -300,6 +300,9 @@ void
AudioEngine::setStreamData( long sampleRate, int channels )
{
qDebug() << Q_FUNC_INFO << sampleRate << channels << thread();
if ( sampleRate < 44100 )
sampleRate = 44100;
m_audio->initAudio( sampleRate, channels );
if ( m_audio->startPlayback() )
{