summaryrefslogtreecommitdiff
path: root/audio/rplay/patches/patch-ca
blob: a84befcc821653592d0fe92029a9d8a2dc17a11a (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
$NetBSD: patch-ca,v 1.1 2004/12/22 16:19:34 ben Exp $
--- rplayd/audio/audio_NetBSD.h.orig	Thu Nov 18 22:37:44 2004
+++ rplayd/audio/audio_NetBSD.h	Thu Nov 18 22:46:15 2004
@@ -0,0 +1,40 @@
+/* #Id: audio_NetBSD.h, # */
+
+/*
+ *
+ * This file is part of rplay.
+ *
+ * rplay is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * rplay is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with rplay; see the file COPYING.  If not, write to the
+ * Free Software Foundation, Inc.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+
+
+#ifndef _audio_NetBSD_h
+#define _audio_NetBSD_h
+
+#include "rplay.h"
+
+#define RPLAY_AUDIO_DEVICE		"/dev/sound"
+#define RPLAY_MIXER_DEVICE		"/dev/mixer"
+#define RPLAY_AUDIO_TIMEOUT		3
+#define RPLAY_AUDIO_FLUSH_TIMEOUT	-1
+#define RPLAY_AUDIO_RATE		49
+#if BYTE_ORDER == BIG_ENDIAN
+#define RPLAY_AUDIO_BYTE_ORDER		RPLAY_BIG_ENDIAN
+#else
+#define RPLAY_AUDIO_BYTE_ORDER		RPLAY_LITTLE_ENDIAN
+#endif
+#endif /* _audio_NetBSD_h */