From 30ff6aafeddb8f26dc385e52fefc2d6c86a24f1a Mon Sep 17 00:00:00 2001 From: Claudio Matsuoka Date: Fri, 30 Mar 2012 07:28:22 -0300 Subject: [PATCH] [xmp] Remove old unused files Signed-off-by: Claudio Matsuoka --- src/drivers/Makefile | 26 -------------------- src/drivers/debug.c | 57 -------------------------------------------- src/drivers/smix.c | 42 -------------------------------- 3 files changed, 125 deletions(-) delete mode 100644 src/drivers/Makefile delete mode 100644 src/drivers/debug.c delete mode 100644 src/drivers/smix.c diff --git a/src/drivers/Makefile b/src/drivers/Makefile deleted file mode 100644 index 6954a3d..0000000 --- a/src/drivers/Makefile +++ /dev/null @@ -1,26 +0,0 @@ - -DRV = file.c oss.c hpux.c bsd.c solaris.c alsa.c alsa05.c \ - sgi.c os2_dart.c netbsd.c openbsd.c aix.c qnx.c \ - win32.c smix.c wav.c osx.c beos.c pulseaudio.c amiga.c sndio.c - -DRIVERS_OBJS = file.o wav.o -DRIVERS_LOBJS = smix.lo -DRIVERS_DFILES = Makefile $(DRV) debug.c -DRIVERS_PATH = src/drivers - -# Don't include platform-specific drivers in DRIVERS_OBJS so we can generate -# foreign makefiles from it (such as MSVC .dsp files, etc) - -D_OBJS = $(addprefix $(DRIVERS_PATH)/,$(DRIVERS_OBJS) $(DRIVERS)) -D_LOBJS = $(addprefix $(DRIVERS_PATH)/,$(DRIVERS_LOBJS)) - -dist-drivers: - mkdir -p $(DIST)/$(DRIVERS_PATH) - cp -RPp $(addprefix $(DRIVERS_PATH)/,$(DRIVERS_DFILES)) $(DIST)/$(DRIVERS_PATH) - -$(DRIVERS_PATH)/beos.o: src/drivers/beos.c - g++ -c $(XCFLAGS) -o $@ $+ - -$(DRIVERS_PATH)/arts.o: src/drivers/arts.c - $(CC) $(CFLAGS) $(XCFLAGS) `artsc-config --cflags` -o $@ $+ - diff --git a/src/drivers/debug.c b/src/drivers/debug.c deleted file mode 100644 index 3d29571..0000000 --- a/src/drivers/debug.c +++ /dev/null @@ -1,57 +0,0 @@ -/* Extended Module Player - * Copyright (C) 1996-2012 Claudio Matsuoka and Hipolito Carraro Jr - * - * This file is part of the Extended Module Player and is distributed - * under the terms of the GNU General Public License. See doc/COPYING - * for more information. - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include -#include -#include "common.h" -#include "driver.h" - -static void starttimer(void); -static void stoptimer(void); -static void bufdump(void); -static int init(struct context_data *ctx); -static void shutdown(struct context_data *); - -struct xmp_drv_info drv_debug = { - "debug", /* driver ID */ - "Driver debugger", /* driver description */ - NULL, /* help */ - init, /* init */ - shutdown, /* shutdown */ - starttimer, /* settimer */ - stoptimer, /* stoptimer */ - bufdump, /* bufdump */ -}; - -static void starttimer() -{ - printf("** starttimer\n"); -} - -static void stoptimer() -{ - printf("** stoptimer\n"); -} - -static void bufdump() -{ -} - -static int init(struct context_data *ctx) -{ - return 0; -} - -static void shutdown(struct context_data *ctx) -{ - printf("** shutdown\n"); -} diff --git a/src/drivers/smix.c b/src/drivers/smix.c deleted file mode 100644 index f371970..0000000 --- a/src/drivers/smix.c +++ /dev/null @@ -1,42 +0,0 @@ -/* Extended Module Player - * Copyright (C) 1996-2012 Claudio Matsuoka and Hipolito Carraro Jr - * - * This file is part of the Extended Module Player and is distributed - * under the terms of the GNU General Public License. See doc/COPYING - * for more information. - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include "common.h" -#include "driver.h" -#include "mixer.h" - -static int init(struct context_data *); -static void shutdown(struct context_data *); - -static void dummy() -{ -} - -struct xmp_drv_info drv_smix = { - "smix", /* driver ID */ - "nil softmixer", /* driver description */ - NULL, /* help */ - init, /* init */ - shutdown, /* shutdown */ - dummy, /* starttimer */ - dummy, /* stoptimer */ - dummy, /* bufdump */ - NULL -}; - -static int init(struct context_data *ctx) -{ -} - -static void shutdown(struct context_data *ctx) -{ -}