diff options
Diffstat (limited to 'audio/rplay/patches/patch-ca')
-rw-r--r-- | audio/rplay/patches/patch-ca | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/audio/rplay/patches/patch-ca b/audio/rplay/patches/patch-ca new file mode 100644 index 00000000000..a84befcc821 --- /dev/null +++ b/audio/rplay/patches/patch-ca @@ -0,0 +1,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 */ |