Skip to content

Commit a903de5

Browse files
committed
using SDL_ResumeAudioStreamDevice
1 parent 8942883 commit a903de5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/engine/client/sound.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ int CSound::Init()
289289
m_MaxFrames = m_pConfig->m_SndBufferSize * 2;
290290
m_pMixBuffer = (int *) mem_alloc(m_MaxFrames * 2 * sizeof(int));
291291

292-
SDL_ResumeAudioDevice(SDL_GetAudioStreamDevice(pStream));
292+
SDL_ResumeAudioStreamDevice(pStream);
293293

294294
m_SoundEnabled = 1;
295295
Update(); // update the volume

0 commit comments

Comments
 (0)