pkgsrc/audio/rplay/patches/patch-cc
ben b3ed91c94a Add support for NetBSD's native audio API, from Ole Hellqvist.
This removes some limitations and addresses PR#28352
2004-12-22 16:18:42 +00:00

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