]> icculus.org git repositories - taylor/freespace2.git/blob - include/ds3d.h
added copyright header
[taylor/freespace2.git] / include / ds3d.h
1 /*
2  * Copyright (C) Volition, Inc. 1999.  All rights reserved.
3  *
4  * All source code herein is the property of Volition, Inc. You may not sell 
5  * or otherwise commercially exploit the source or things you created based on
6  * the source.
7  */
8
9 /*
10  * $Logfile: /Freespace2/code/Sound/ds3d.h $
11  * $Revision$
12  * $Date$
13  * $Author$
14  *
15  * Header file for interface to DirectSound3D
16  *
17  * $Log$
18  * Revision 1.2  2002/06/09 04:41:12  relnev
19  * added copyright header
20  *
21  * Revision 1.1.1.1  2002/05/03 03:28:12  root
22  * Initial import.
23  *
24  * 
25  * 3     5/23/99 8:11p Alanl
26  * Added support for EAX
27  * 
28  * 2     10/07/98 10:54a Dave
29  * Initial checkin.
30  * 
31  * 1     10/07/98 10:51a Dave
32  * 
33  * 8     4/19/98 9:31p Lawrance
34  * Use Aureal_enabled flag
35  * 
36  * 7     7/28/97 11:39a Lawrance
37  * allow individual volume scaling on 3D buffers
38  * 
39  * 6     6/09/97 11:50p Lawrance
40  * integrating DirectSound3D
41  * 
42  * 5     6/08/97 5:59p Lawrance
43  * integrate DirectSound3D into sound system
44  * 
45  * 4     6/02/97 1:45p Lawrance
46  * implementing hardware mixing
47  * 
48  * 3     5/29/97 4:02p Lawrance
49  * listener interface in place
50  * 
51  * 2     5/29/97 12:03p Lawrance
52  * creation of file to hold DirectSound3D specific code
53  *
54  * $NoKeywords: $
55  */
56
57 #ifndef __DS3D_H__
58 #define __DS3D_H__
59
60 int     ds3d_init(int voice_manager_required);
61 void    ds3d_close();
62 int     ds3d_update_listener(vector *pos, vector *vel, matrix *orient);
63 int     ds3d_update_buffer(int channel, float min, float max, vector *pos, vector *vel);
64 int     ds3d_set_sound_cone(int channel, int inner_angle, int outer_angle, int vol);
65
66 #endif /* __DS3D_H__ */
67