frontend: do all bpp handling in plugin_lib
[pcsx_rearmed.git] / plugins / dfsound / stdafx.h
index 45b366b..8993bb3 100644 (file)
@@ -23,9 +23,6 @@
 #include <sys/ioctl.h>
 #include <unistd.h>
 #include <fcntl.h>
-#ifdef USEOSS
-#include <sys/soundcard.h>
-#endif
 #include <unistd.h>
 #include <pthread.h>
 #define RRand(range) (random()%range)  
@@ -35,9 +32,9 @@
 
 #undef CALLBACK
 #define CALLBACK
-#define DWORD unsigned long
+#define DWORD unsigned int
 #define LOWORD(l)           ((unsigned short)(l)) 
-#define HIWORD(l)           ((unsigned short)(((unsigned long)(l) >> 16) & 0xFFFF)) 
+#define HIWORD(l)           ((unsigned short)(((unsigned int)(l) >> 16) & 0xFFFF)) 
 
 #ifndef INLINE
 #define INLINE static inline