view pwplib/sound.h @ 71:a87eb778f225

Improvements to the MinGW crossbuild. Should now build with default tools from Debian mingw packages, though you need Win32 version of libSDL with the necessary headers and so on in addition. 64-bit builds not tested and probably won't work. Tested on Debian 7.0, earlier won't work. binutils-mingw-w64-i686 gcc-mingw-w64-i686 mingw-w64-i686-dev
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 14 Aug 2012 03:08:10 +0300
parents 85671798fdb3
children
line wrap: on
line source

#ifndef PWP_SOUND_H
#define PWP_SOUND_H

#include "config.h"
#include "pwplib.h"
#include "gb.h"

#define TIMERHZ 72

#ifdef DRIVE_SDL
int pwp_SDL_audio_init(void);
#endif

#ifdef DRIVE_OSS
int oss_init(void);
#endif

#ifdef DRIVE_HPUX
int hpuxsnd_init(void);
#endif

#ifdef DRIVE_WIN32
int win32snd_init(void)
#endif

#endif /* PWP_SOUND_H */