spu: fix decode buffers
[pcsx_rearmed.git] / plugins / dfsound / stdafx.h
1 /***************************************************************************
2                            StdAfx.h  -  description
3                              -------------------
4     begin                : Wed May 15 2002
5     copyright            : (C) 2002 by Pete Bernert
6     email                : BlackDove@addcom.de
7  ***************************************************************************/
8 /***************************************************************************
9  *                                                                         *
10  *   This program is free software; you can redistribute it and/or modify  *
11  *   it under the terms of the GNU General Public License as published by  *
12  *   the Free Software Foundation; either version 2 of the License, or     *
13  *   (at your option) any later version. See also the license.txt file for *
14  *   additional informations.                                              *
15  *                                                                         *
16  ***************************************************************************/
17
18 #ifndef _MACOSX
19 #include "config.h"
20 #endif
21 #include <stdio.h>
22 #include <stdlib.h>
23 #include <sys/ioctl.h>
24 #include <unistd.h>
25 #include <fcntl.h>
26 #include <unistd.h>
27 #include <pthread.h>
28 #define RRand(range) (random()%range)  
29 #include <string.h> 
30 #include <sys/time.h>  
31 #include <math.h>  
32
33 #undef CALLBACK
34 #define CALLBACK
35 #define DWORD unsigned int
36 #define LOWORD(l)           ((unsigned short)(l)) 
37 #define HIWORD(l)           ((unsigned short)(((unsigned int)(l) >> 16) & 0xFFFF)) 
38
39 #ifndef INLINE
40 #define INLINE static inline
41 #endif
42
43 #include "psemuxa.h"