Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diasurgical/devilution
/ HaveAudio
Function
HaveAudio
SourceX/storm/storm.cpp:408–411 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
406
#if SDL_VERSION_ATLEAST(2, 0, 4)
407
SDL_AudioDeviceID deviceId;
408
static bool HaveAudio()
409
{
410
return deviceId != 0;
411
}
412
#else
413
static bool HaveAudio()
414
{
Callers
2
SVidPlayContinue
Function · 0.85
SVidPlayEnd
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected