b3ed91c94a
This removes some limitations and addresses PR#28352
22 lines
577 B
Text
22 lines
577 B
Text
$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
|