From f761811189f45092be7d09e4831d2236cfa42e40 Mon Sep 17 00:00:00 2001 From: Themaister Date: Tue, 14 Jun 2011 19:58:12 +0200 Subject: [PATCH] Move buffer to top-level as it's not audio only. --- Makefile | 2 +- Makefile.win32 | 2 +- Makefile.win64 | 2 +- audio/rsound.c | 2 +- audio/sdl.c | 2 +- audio/buffer.c => fifo_buffer.c | 2 +- audio/buffer.h => fifo_buffer.h | 0 7 files changed, 6 insertions(+), 6 deletions(-) rename audio/buffer.c => fifo_buffer.c (99%) rename audio/buffer.h => fifo_buffer.h (100%) diff --git a/Makefile b/Makefile index aed7decca253..9781802c63cf 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ ifeq ($(HAVE_PULSE), 1) endif ifeq ($(HAVE_SDL), 1) - OBJ += gfx/sdl.o gfx/gl.o input/sdl.o audio/sdl.o audio/buffer.o + OBJ += gfx/sdl.o gfx/gl.o input/sdl.o audio/sdl.o fifo_buffer.o DEFINES += $(SDL_CFLAGS) LIBS += $(SDL_LIBS) ifeq ($(OSX),1) diff --git a/Makefile.win32 b/Makefile.win32 index b2ed690fe37a..247139aeafba 100644 --- a/Makefile.win32 +++ b/Makefile.win32 @@ -37,7 +37,7 @@ else endif ifeq ($(HAVE_SDL), 1) - OBJ += gfx/sdl.o gfx/gl.o input/sdl.o audio/sdl.o audio/buffer.o + OBJ += gfx/sdl.o gfx/gl.o input/sdl.o audio/sdl.o fifo_buffer.o LIBS += $(SDL_LIBS) -lopengl32 DEFINES += $(SDL_CFLAGS) -DHAVE_SDL endif diff --git a/Makefile.win64 b/Makefile.win64 index 5d9d08f3d934..4767213977b0 100644 --- a/Makefile.win64 +++ b/Makefile.win64 @@ -36,7 +36,7 @@ else endif ifeq ($(HAVE_SDL), 1) - OBJ += gfx/sdl.o gfx/gl.o input/sdl.o audio/sdl.o audio/buffer.o + OBJ += gfx/sdl.o gfx/gl.o input/sdl.o audio/sdl.o fifo_buffer.o LIBS += $(SDL_LIBS) -lopengl32 DEFINES += $(SDL_CFLAGS) -DHAVE_SDL endif diff --git a/audio/rsound.c b/audio/rsound.c index b42115a30a81..6de9249e418e 100644 --- a/audio/rsound.c +++ b/audio/rsound.c @@ -19,7 +19,7 @@ #include "driver.h" #include #include -#include "buffer.h" +#include "fifo_buffer.h" #include #include "SDL.h" diff --git a/audio/sdl.c b/audio/sdl.c index 3615a280be63..b1d9ffa5d1b5 100644 --- a/audio/sdl.c +++ b/audio/sdl.c @@ -27,7 +27,7 @@ #include "SDL_audio.h" #include "SDL_thread.h" #include "general.h" -#include "buffer.h" +#include "fifo_buffer.h" typedef struct sdl_audio { diff --git a/audio/buffer.c b/fifo_buffer.c similarity index 99% rename from audio/buffer.c rename to fifo_buffer.c index 9f1eb04bc7eb..714e551834d0 100644 --- a/audio/buffer.c +++ b/fifo_buffer.c @@ -13,7 +13,7 @@ * If not, see . */ -#include "buffer.h" +#include "fifo_buffer.h" struct fifo_buffer { diff --git a/audio/buffer.h b/fifo_buffer.h similarity index 100% rename from audio/buffer.h rename to fifo_buffer.h