MCPcopy Create free account
hub / github.com/NetHack/NetHack / play_usersound

Function play_usersound

outdated/sys/wince/cesound.c:16–26  ·  view source on GitHub ↗
(filename, volume)

Source from the content-addressed store, hash-verified

14#ifdef USER_SOUNDS
15
16void
17play_usersound(filename, volume)
18const char *filename;
19int volume;
20{
21 TCHAR wbuf[MAX_PATH + 1];
22 /* pline("play_usersound: %s (%d).", filename, volume); */
23 ZeroMemory(wbuf, sizeof(wbuf));
24 (void) sndPlaySound(NH_A2W(filename, wbuf, MAX_PATH),
25 SND_ASYNC | SND_NODEFAULT);
26}
27
28#endif /*USER_SOUNDS*/
29/* cesound.c */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected