in pkg/12071: Module player for IT, XM, S3M, MOD, MTM, STM, FAR, ULT, 669, AMS, DBM, MDL and OKT modules (on little endian machines only, for now :( ), based on modplug source code.
24 lines
508 B
Text
24 lines
508 B
Text
$NetBSD: patch-af,v 1.1.1.1 2001/03/19 19:35:52 wiz Exp $
|
|
|
|
--- common/modplay.h.orig Sun Jan 28 11:21:12 2001
|
|
+++ common/modplay.h Sun Jan 28 11:21:56 2001
|
|
@@ -12,8 +12,9 @@
|
|
#define MODPLAY_H
|
|
|
|
#include <sys/types.h>
|
|
+#include <glib.h>
|
|
|
|
-#define AUDIO_DEV "/dev/dsp"
|
|
+#define AUDIO_DEV "/dev/audio"
|
|
#define MIXER_DEV "/dev/mixer"
|
|
|
|
#define MIXER_CHANNEL SOUND_MIXER_PCM
|
|
@@ -39,7 +40,7 @@
|
|
int bits_per_sample;
|
|
int sample_rate;
|
|
bool stereo_support;
|
|
-
|
|
+ bool rawdump;
|
|
} DSPInfo;
|
|
|
|
typedef struct {
|