We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff8de2d commit e2a7587Copy full SHA for e2a7587
src/core/audio/AudioSdl.cpp
@@ -75,7 +75,7 @@ AudioSdl::AudioSdl( bool & _success_ful, Mixer* _mixer ) :
75
SDL_AudioSpec actual;
76
77
#ifdef LMMS_HAVE_SDL2
78
- m_outputDevice = SDL_OpenAudioDevice (SDL_GetAudioDeviceName(0, 2),
+ m_outputDevice = SDL_OpenAudioDevice (NULL,
79
0,
80
&m_audioHandle,
81
&actual,
@@ -102,7 +102,7 @@ AudioSdl::AudioSdl( bool & _success_ful, Mixer* _mixer ) :
102
m_inputAudioHandle = m_audioHandle;
103
m_inputAudioHandle.callback = sdlInputAudioCallback;
104
105
- m_inputDevice = SDL_OpenAudioDevice (SDL_GetAudioDeviceName(0, 1),
+ m_inputDevice = SDL_OpenAudioDevice (NULL,
106
1,
107
&m_inputAudioHandle,
108
0 commit comments