1 /* SCCS Id: @(#)cesound.c 3.4 $Date: 2003/02/13 12:35:27 $ */
2 /* Copyright (c) NetHack PC Development Team 1993 */
3 /* NetHack may be freely redistributed. See license for details. */
6 * cesound.c - Windows CE NetHack sound support
16 void play_usersound(filename, volume)
20 TCHAR wbuf[MAX_PATH+1];
21 /* pline("play_usersound: %s (%d).", filename, volume); */
22 ZeroMemory(wbuf, sizeof(wbuf));
23 (void)sndPlaySound(NH_A2W(filename, wbuf, MAX_PATH), SND_ASYNC | SND_NODEFAULT);
26 #endif /*USER_SOUNDS*/