sound.h (53465) | sound.h (54155) |
---|---|
1/* 2 * Copyright (c) 1999 Cameron Grant <gandalf@vilnya.demon.co.uk> 3 * Copyright by Hannu Savolainen 1995 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * | 1/* 2 * Copyright (c) 1999 Cameron Grant <gandalf@vilnya.demon.co.uk> 3 * Copyright by Hannu Savolainen 1995 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * |
27 * $FreeBSD: head/sys/dev/sound/pcm/sound.h 53465 1999-11-20 16:50:33Z cg $ | 27 * $FreeBSD: head/sys/dev/sound/pcm/sound.h 54155 1999-12-05 19:09:13Z cg $ |
28 */ 29 30#ifdef KERNEL 31#include "pcm.h" 32#else 33#error why? 34#define NPCM 1 35#endif --- 57 unchanged lines hidden (view full) --- 93#include <dev/sound/pcm/channel.h> 94#include <dev/sound/pcm/mixer.h> 95#include <dev/sound/pcm/dsp.h> 96 97#define MAGIC(unit) (0xa4d10de0 + unit) 98 99#define SD_F_SIMPLEX 0x00000001 100#define SD_F_EVILSB16 0x00000002 | 28 */ 29 30#ifdef KERNEL 31#include "pcm.h" 32#else 33#error why? 34#define NPCM 1 35#endif --- 57 unchanged lines hidden (view full) --- 93#include <dev/sound/pcm/channel.h> 94#include <dev/sound/pcm/mixer.h> 95#include <dev/sound/pcm/dsp.h> 96 97#define MAGIC(unit) (0xa4d10de0 + unit) 98 99#define SD_F_SIMPLEX 0x00000001 100#define SD_F_EVILSB16 0x00000002 |
101#define SD_F_EVILERSB16X 0x00000004 |
|
101#define SD_F_PRIO_RD 0x10000000 102#define SD_F_PRIO_WR 0x20000000 103#define SD_F_PRIO_SET (SD_F_PRIO_RD | SD_F_PRIO_WR) 104#define SD_F_DIR_SET 0x40000000 105#define SD_F_TRANSIENT 0xf0000000 106 107/* many variables should be reduced to a range. Here define a macro */ 108#define RANGE(var, low, high) (var) = \ --- 74 unchanged lines hidden --- | 102#define SD_F_PRIO_RD 0x10000000 103#define SD_F_PRIO_WR 0x20000000 104#define SD_F_PRIO_SET (SD_F_PRIO_RD | SD_F_PRIO_WR) 105#define SD_F_DIR_SET 0x40000000 106#define SD_F_TRANSIENT 0xf0000000 107 108/* many variables should be reduced to a range. Here define a macro */ 109#define RANGE(var, low, high) (var) = \ --- 74 unchanged lines hidden --- |