diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-08-22 07:52:33 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-08-22 07:52:33 +0000 |
| commit | 8b3c16e6152a527f9aec1a88a9eed74119de7000 (patch) | |
| tree | f0bde5cea15e696e42cade06a3b12ff6b13acc57 /src/engine/external/pa.c | |
| parent | 9899666a7ce6679a3b9667ab09f615f4d0769c16 (diff) | |
| download | zcatch-8b3c16e6152a527f9aec1a88a9eed74119de7000.tar.gz zcatch-8b3c16e6152a527f9aec1a88a9eed74119de7000.zip | |
major engine cleanup. dependency on baselib removed. engine is now C code (not ansi tho). some other cruft removed aswell
Diffstat (limited to 'src/engine/external/pa.c')
| -rw-r--r-- | src/engine/external/pa.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/engine/external/pa.c b/src/engine/external/pa.c new file mode 100644 index 00000000..a417e9db --- /dev/null +++ b/src/engine/external/pa.c @@ -0,0 +1,40 @@ +/* Include the auto configuration */ +#include <engine/detect.h> + +/* common part */ +#include "portaudio/pa_converters.c" +#include "portaudio/pa_trace.c" +#include "portaudio/pa_front.c" +#include "portaudio/pa_dither.c" +#include "portaudio/pa_process.c" +#include "portaudio/pa_stream.c" +#include "portaudio/pa_cpuload.c" +#include "portaudio/pa_allocation.c" +#include "portaudio/pa_debugprint.c" + +#if defined(CONF_FAMILY_UNIX) + #include "portaudio/pa_unix_util.c" + #if defined(CONF_PLATFORM_MACOSX) + #define PA_USE_COREAUDIO + #include "portaudio/pa_mac_core.c" + #include "portaudio/pa_mac_core_blocking.c" + #include "portaudio/pa_mac_core_utilities.c" + #include "portaudio/pa_mac_hostapis.c" + #include "portaudio/pa_ringbuffer.c" + #else + #define HAVE_SYS_SOUNDCARD_H + #define PA_USE_ALSA + #include "portaudio/pa_linux_alsa.c" + //#include "portaudio/pa_unix_oss.c" + #include "portaudio/pa_unix_hostapis.c" + #endif +#elif defined(CONF_FAMILY_WINDOWS) + #define PA_NO_WMME + #define PA_NO_ASIO + #include "portaudio/pa_win_ds.c" + #include "portaudio/pa_win_ds_dynlink.c" + #include "portaudio/pa_win_hostapis.c" + #include "portaudio/pa_win_util.c" +#else + #error help me! +#endif |