Commit b2c7210d authored by Tomi Pakarinen's avatar Tomi Pakarinen Committed by CeRiAl

Compilation fixes

parent f2fc773b
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# #
# #
# #
base=" --with-sdl --with-sdl-gl --with-sdl-gfx --with-sdl-sound --enable-drvsnd " base=" --without-x --with-cocoa-gfx --with-sdl --with-sdl-gl --with-sdl-gfx --with-sdl-sound --enable-drvsnd "
cd32=" --enable-cd32 " cd32=" --enable-cd32 "
a600=" --enable-gayle " a600=" --enable-gayle "
scsi=" --enable-scsi-device --enable-ncr --enable-a2091 " scsi=" --enable-scsi-device --enable-ncr --enable-a2091 "
......
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
#include "gensound.h" #include "gensound.h"
#include "sounddep/sound.h" #include "sounddep/sound.h"
unsigned int have_sound = 0;
int init_sound (void) int init_sound (void)
{ {
currprefs.produce_sound = 0; currprefs.produce_sound = 0;
......
...@@ -15,6 +15,11 @@ STATIC_INLINE void check_sound_buffers (void) ...@@ -15,6 +15,11 @@ STATIC_INLINE void check_sound_buffers (void)
STATIC_INLINE void set_sound_buffers (void) STATIC_INLINE void set_sound_buffers (void)
{ {
} }
STATIC_INLINE void clear_sound_buffers (void)
{
}
#define AUDIO_NAME "dummyaudio" #define AUDIO_NAME "dummyaudio"
#define PUT_SOUND_BYTE(b) do { ; } while (0) #define PUT_SOUND_BYTE(b) do { ; } while (0)
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include "threaddep/thread.h" #include "threaddep/thread.h"
#include <SDL_audio.h> #include <SDL_audio.h>
int have_sound = 0; unsigned int have_sound = 0;
static int statuscnt; static int statuscnt;
uae_u16 paula_sndbuffer[44100]; uae_u16 paula_sndbuffer[44100];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment