1 /*   SCCS Id: @(#)ntsound.c   3.4     $Date: 2002/09/02 23:28:45 $                        */
2 /*   Copyright (c) NetHack PC Development Team 1993                 */
3 /*   NetHack may be freely redistributed.  See license for details. */
4 /*                                                                  */
5 /*
6  * ntsound.c - Windows NT NetHack sound support
7  *
8  *Edit History:
9  *     Initial Creation                              93/12/11
10  *
11  */
12 
13 #include "hack.h"
14 #include "win32api.h"
15 #include <mmsystem.h>
16 
17 #ifdef USER_SOUNDS
18 
play_usersound(filename,volume)19 void play_usersound(filename, volume)
20 const char* filename;
21 int volume;
22 {
23 /*    pline("play_usersound: %s (%d).", filename, volume); */
24 	(void)sndPlaySound(filename, SND_ASYNC | SND_NODEFAULT);
25 }
26 
27 #endif /*USER_SOUNDS*/
28 /* ntsound.c */
29