Skip to content

Commit

Permalink
Move buffer to top-level as it's not audio only.
Browse files Browse the repository at this point in the history
  • Loading branch information
Themaister committed Jun 14, 2011
1 parent 0e964c5 commit f761811
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.win32
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Makefile.win64
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion audio/rsound.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "driver.h"
#include <stdlib.h>
#include <rsound.h>
#include "buffer.h"
#include "fifo_buffer.h"
#include <stdbool.h>
#include "SDL.h"

Expand Down
2 changes: 1 addition & 1 deletion audio/sdl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion audio/buffer.c → fifo_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/

#include "buffer.h"
#include "fifo_buffer.h"

struct fifo_buffer
{
Expand Down
File renamed without changes.

0 comments on commit f761811

Please sign in to comment.