summaryrefslogtreecommitdiff
path: root/audio/gmodplay/patches/patch-af
blob: 977a1380713ba82081b1cad363a84dcc9d37dfde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-af,v 1.2 2003/07/22 19:34:31 jmmv Exp $

--- common/modplay.h.orig	Fri Oct  2 23:44:25 1998
+++ common/modplay.h
@@ -12,8 +12,11 @@
 #define MODPLAY_H
 
 #include <sys/types.h>
+#include <glib.h>
 
+#ifndef AUDIO_DEV
 #define AUDIO_DEV "/dev/dsp"
+#endif
 #define MIXER_DEV "/dev/mixer"
 
 #define MIXER_CHANNEL SOUND_MIXER_PCM
@@ -39,7 +42,7 @@
 	int bits_per_sample;
 	int sample_rate;
 	bool stereo_support;
-
+	bool rawdump;
 } DSPInfo;
 
 typedef struct {