[xmp] Remove old unused files

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
master
Claudio Matsuoka 14 years ago
parent 7ecab23525
commit 30ff6aafed
  1. 26
      src/drivers/Makefile
  2. 57
      src/drivers/debug.c
  3. 42
      src/drivers/smix.c

@ -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 $@ $+

@ -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 <string.h>
#include <stdlib.h>
#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");
}

@ -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)
{
}
Loading…
Cancel
Save