]> icculus.org git repositories - taylor/freespace2.git/blob - include/rsx_lib.h
Initial revision
[taylor/freespace2.git] / include / rsx_lib.h
1 /*
2  * $Logfile: /Freespace2/code/Sound/rsx_lib.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * Header file for RSX sound lib
8  *
9  * $Log$
10  * Revision 1.1  2002/05/03 03:28:12  root
11  * Initial revision
12  *
13  * 
14  * 2     10/07/98 10:54a Dave
15  * Initial checkin.
16  * 
17  * 1     10/07/98 10:51a Dave
18  * 
19  * 2     10/14/97 11:33p Lawrance
20  * get RSX implemented
21  * 
22  * 1     10/14/97 12:58p Lawrance
23  * 
24  * 1     10/14/97 10:35a Lawrance
25  *
26  * $NoKeywords: $
27  */
28
29
30 #ifndef __FREESPACE_RSX_H__
31 #define __FREESPACE_RSX_H__
32
33 #include "pstypes.h"
34
35 extern int rsx_initialized;
36
37 int     rsx_init();
38 void    rsx_update_listener(vector *pos, matrix *orient);
39 void    rsx_close();
40 int     rsx_create_cached_emitter(char *filename, int is_3d, int use_doppler, int min, int max, float max_volume);
41 int     rsx_play( int sid, float priority, float volume);
42 int     rsx_play_3d( int sid, float priority, float volume, vector *pos, vector *sound_fvec);
43 void    rsx_unload_buffer(int sid);
44
45
46 #endif
47