summaryrefslogtreecommitdiff
path: root/audio/rplay/patches/patch-cc
blob: d6b62353018ed885a1f494777094a8bdc0167443 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-cc,v 1.1 2004/12/22 16:19:34 ben Exp $

--- adpcm/g72x.h.orig	Tue Jul 14 15:35:23 1998
+++ adpcm/g72x.h
@@ -32,11 +32,16 @@
  */
 #ifndef _G72X_H
 #define	_G72X_H
+#ifdef __NetBSD__
 
+
+#include <sys/types.h>
+#include <sys/audioio.h>
+#else
 #define	AUDIO_ENCODING_ULAW	(1)	/* ISDN u-law */
 #define	AUDIO_ENCODING_ALAW	(2)	/* ISDN A-law */
 #define	AUDIO_ENCODING_LINEAR	(3)	/* PCM 2's-complement (0-center) */
-
+#endif
 /*
  * The following is the definition of the state structure
  * used by the G.721/G.723 encoder and decoder to preserve their internal