Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/core/audio/AudioSdl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ AudioSdl::AudioSdl( bool & _success_ful, Mixer* _mixer ) :
_success_ful = true;

#ifdef LMMS_HAVE_SDL2
// Workaround for a race condition that causes SDL to segfault
SDL_Delay(50);

m_inputAudioHandle = m_audioHandle;
m_inputAudioHandle.callback = sdlInputAudioCallback;

Expand Down