Include pthreads library header in soundlow.h (fixes SF bug #1373).

This commit is contained in:
Volker Ruppert 2015-05-09 08:31:49 +00:00
parent 2bfee2aeb2
commit 119971182b
5 changed files with 4 additions and 16 deletions

View File

@ -27,10 +27,6 @@
#if BX_HAVE_SOUND_ALSA && BX_SUPPORT_SOUNDLOW
#ifndef WIN32
#include <pthread.h>
#endif
#define LOG_THIS log->
// helper function for wavein / waveout

View File

@ -32,10 +32,6 @@
#if BX_SUPPORT_SOUNDLOW
#ifndef WIN32
#include <pthread.h>
#endif
#define BX_SOUNDFILE_RAW 0
#define BX_SOUNDFILE_VOC 1
#define BX_SOUNDFILE_WAV 2

View File

@ -28,10 +28,6 @@
#if BX_HAVE_SOUND_OSS && BX_SUPPORT_SOUNDLOW
#ifndef WIN32
#include <pthread.h>
#endif
#define LOG_THIS
#include <errno.h>

View File

@ -31,10 +31,6 @@
#include "soundlow.h"
#ifndef WIN32
#include <pthread.h>
#endif
// audio buffer support
static audio_buffer_t *audio_buffers = NULL;

View File

@ -20,6 +20,10 @@
// Common code for sound lowlevel modules
#ifndef WIN32
#include <pthread.h>
#endif
// This is the maximum size of a wave data packet.
// It should be large enough for 0.1 seconds of playback or recording.
#define BX_SOUNDLOW_WAVEPACKETSIZE 19200