We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
SDL_ResumeAudioStreamDevice
1 parent 8942883 commit a903de5Copy full SHA for a903de5
1 file changed
src/engine/client/sound.cpp
@@ -289,7 +289,7 @@ int CSound::Init()
289
m_MaxFrames = m_pConfig->m_SndBufferSize * 2;
290
m_pMixBuffer = (int *) mem_alloc(m_MaxFrames * 2 * sizeof(int));
291
292
- SDL_ResumeAudioDevice(SDL_GetAudioStreamDevice(pStream));
+ SDL_ResumeAudioStreamDevice(pStream);
293
294
m_SoundEnabled = 1;
295
Update(); // update the volume
0 commit comments