1 /* NetHack 3.6	ntsound.c	$NHDT-Date: 1432512794 2015/05/25 00:13:14 $  $NHDT-Branch: master $:$NHDT-Revision: 1.11 $ */
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 "win32api.h"
14 #include "hack.h"
15 #include <mmsystem.h>
16 
17 #ifdef USER_SOUNDS
18 
19 void
play_usersound(filename,volume)20 play_usersound(filename, volume)
21 const char *filename;
22 int volume;
23 {
24     /*    pline("play_usersound: %s (%d).", filename, volume); */
25     (void) sndPlaySound(filename, SND_ASYNC | SND_NODEFAULT);
26 }
27 
28 #endif /*USER_SOUNDS*/
29 /* ntsound.c */
30