Include pthreads library header in soundlow.h (fixes SF bug #1373).
This commit is contained in:
parent
2bfee2aeb2
commit
119971182b
@ -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
|
||||
|
@ -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
|
||||
|
@ -28,10 +28,6 @@
|
||||
|
||||
#if BX_HAVE_SOUND_OSS && BX_SUPPORT_SOUNDLOW
|
||||
|
||||
#ifndef WIN32
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
|
||||
#define LOG_THIS
|
||||
|
||||
#include <errno.h>
|
||||
|
@ -31,10 +31,6 @@
|
||||
|
||||
#include "soundlow.h"
|
||||
|
||||
#ifndef WIN32
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
|
||||
// audio buffer support
|
||||
|
||||
static audio_buffer_t *audio_buffers = NULL;
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user