]> icculus.org git repositories - taylor/freespace2.git/blob - include/oal_efx.h
re-add PXO sources to project files
[taylor/freespace2.git] / include / oal_efx.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 the 
6  * source.
7  *
8 */
9
10 #ifndef OAL_EFX_H_
11 #define OAL_EFX_H_
12
13
14 typedef struct
15 {
16     uint environment;          // 0 to EAX_ENVIRONMENT_COUNT-1
17     float fVolume;                      // 0 to 1
18     float fDecayTime_sec;               // seconds, 0.1 to 100
19     float fDamping;                     // 0 to 1
20 } EAX_REVERBPROPERTIES;
21
22
23 int oal_efx_init();
24 void oal_efx_close();
25
26 int oal_efx_is_inited();
27
28 int oal_efx_get_all(EAX_REVERBPROPERTIES *er, int id);
29 int oal_efx_set_all(uint id, float vol, float damping, float decay);
30
31 #endif // OAL_EFX_H_