chiark / gitweb /
debian/changelog: start -4~
[vtwm.git] / sound.h
1 /*
2  * Copyright 2001, 2002 David J. Hawkey Jr.
3  *
4  * Permission to use, copy, modify, and distribute this software and its
5  * documentation for any purpose and without fee is hereby granted, provided
6  * that the above copyright notice appear in all copies and that both that
7  * copyright notice and this permission notice appear in supporting
8  * documentation, and that the name of the copyright holder or the author not
9  * be used in advertising or publicity pertaining to distribution of the
10  * software without specific, written prior permission. The copyright holder
11  * and the author make no representations about the suitability of this
12  * software for any purpose. It is provided "as is" without express or
13  * implied warranty.
14  *
15  * THE COPYRIGHT HOLDER AND THE AUTHOR DISCLAIM ALL WARRANTIES WITH REGARD
16  * TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
17  * FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDER OR THE AUTHOR BE LIABLE
18  * FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
20  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
21  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22  */
23
24 /*
25  * sound.h
26  *
27  * D. J. Hawkey Jr. - 6/22/01 11/15/02
28  */
29
30 #ifndef _SOUND_
31 #define _SOUND_
32
33 /* must not overlap the function defines */
34 #define S_START         900
35 #define S_STOP          901
36 #define S_CMAP          902
37 #define S_CUNMAP        903
38 #define S_MMAP          904
39 #define S_MUNMAP        905
40 #define S_IUNMAP        906
41 #define S_APAN          907
42 #define S_BELL          908
43
44 extern int OpenSound(), SetSound(), ToggleSounds();
45 extern int PlaySound(), PlaySoundAdhoc();
46 extern void CloseSound(), SetSoundHost(), SetSoundVolume();
47
48 #endif  /* _SOUND_ */