Fix minor glitches with sample tracks (#4666)

Switches some signal-slot connections to Qt::DirectConnection.
Now LMMS can handle loop points correctly and export samples without glitches.
Also tweaks some Mixer-related code to avoid related deadlocks on export.
This commit is contained in:
Hyunjin Song
2018-10-29 16:17:41 +09:00
committed by GitHub
parent 1f7cd3ed5a
commit d8fb07ff52
5 changed files with 20 additions and 13 deletions

View File

@@ -171,10 +171,11 @@ public:
return m_audioDevStartFailed;
}
void setAudioDevice( AudioDevice * _dev );
void setAudioDevice( AudioDevice * _dev , bool startNow );
void setAudioDevice( AudioDevice * _dev,
const struct qualitySettings & _qs,
bool _needs_fifo );
bool _needs_fifo,
bool startNow );
void storeAudioDevice();
void restoreAudioDevice();
inline AudioDevice * audioDev()