MCPcopy Create free account
hub / github.com/diasurgical/devilution / Enqueue

Method Enqueue

SourceX/storm/storm.cpp:448–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

446 }
447
448 void Enqueue(const unsigned char *data, unsigned long len)
449 {
450#if SDL_VERSION_ATLEAST(2, 0, 4)
451 SDL_LockAudioDevice(deviceId);
452 EnqueueUnsafe(data, len);
453 SDL_UnlockAudioDevice(deviceId);
454#else
455 SDL_LockAudio();
456 EnqueueUnsafe(data, len);
457 SDL_UnlockAudio();
458#endif
459 }
460
461 void Clear()
462 {

Callers 1

SVidPlayContinueFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected