aboutsummaryrefslogtreecommitdiff
path: root/plugins/dfsound/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dfsound/stdafx.h')
-rw-r--r--plugins/dfsound/stdafx.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/plugins/dfsound/stdafx.h b/plugins/dfsound/stdafx.h
new file mode 100644
index 0000000..8be8848
--- /dev/null
+++ b/plugins/dfsound/stdafx.h
@@ -0,0 +1,46 @@
+/***************************************************************************
+ StdAfx.h - description
+ -------------------
+ begin : Wed May 15 2002
+ copyright : (C) 2002 by Pete Bernert
+ email : BlackDove@addcom.de
+ ***************************************************************************/
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. See also the license.txt file for *
+ * additional informations. *
+ * *
+ ***************************************************************************/
+
+#ifndef _MACOSX
+#include "config.h"
+#endif
+#include <stdio.h>
+#include <stdlib.h>
+#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)
+#include <string.h>
+#include <sys/time.h>
+#include <math.h>
+
+#undef CALLBACK
+#define CALLBACK
+#define DWORD unsigned long
+#define LOWORD(l) ((unsigned short)(l))
+#define HIWORD(l) ((unsigned short)(((unsigned long)(l) >> 16) & 0xFFFF))
+
+#ifndef INLINE
+#define INLINE inline
+#endif
+
+#include "psemuxa.h"