openalbridge/openalwrap.c
changeset 2261 57e99c908e7c
parent 2260 31756e21c436
equal deleted inserted replaced
2260:31756e21c436 2261:57e99c908e7c
    14  * You should have received a copy of the GNU Lesser General Public License
    14  * You should have received a copy of the GNU Lesser General Public License
    15  * along with this program; if not, write to the Free Software
    15  * along with this program; if not, write to the Free Software
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    17  */
    17  */
    18 
    18 
    19 #include "globals.h"
    19 #include "openalwrap.h"
    20 #include "wrappers.h"
    20 #include "wrappers.h"
    21 #include "alc.h"
    21 #include "alc.h"
    22 #include "loaders.h"
    22 #include "loaders.h"
    23 #include "endianness.h"
    23 #include "endianness.h"
    24 
    24 
   310         
   310         
   311         return AL_TRUE;
   311         return AL_TRUE;
   312     }
   312     }
   313     
   313     
   314     
   314     
   315     ALboolean openal_fade (uint32_t index, uint16_t quantity, bool direction) {
   315     ALboolean openal_fade (uint32_t index, uint16_t quantity, ALboolean direction) {
   316         /*Fade in or out by calling a helper thread*/
   316         /*Fade in or out by calling a helper thread*/
   317 #ifndef _WIN32
   317 #ifndef _WIN32
   318         pthread_t thread;
   318         pthread_t thread;
   319 #else
   319 #else
   320         HANDLE Thread;
   320         HANDLE Thread;