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:
parent
89da3f6f85
commit
77400f543c
@ -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() )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user