Deleted Added
full compact
soundcard.h (55205) soundcard.h (62947)
1/*
2 * soundcard.h
3 *
4 * Copyright by Hannu Savolainen 1993
5 * Modified for the new FreeBSD sound driver by Luigi Rizzo, 1997
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 13 unchanged lines hidden (view full) ---

22 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
24 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
25 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
27 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 * POSSIBILITY OF SUCH DAMAGE.
29 *
1/*
2 * soundcard.h
3 *
4 * Copyright by Hannu Savolainen 1993
5 * Modified for the new FreeBSD sound driver by Luigi Rizzo, 1997
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 13 unchanged lines hidden (view full) ---

22 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
24 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
25 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
27 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 * POSSIBILITY OF SUCH DAMAGE.
29 *
30 * $FreeBSD: head/sys/sys/soundcard.h 55205 1999-12-29 04:46:21Z peter $
30 * $FreeBSD: head/sys/sys/soundcard.h 62947 2000-07-11 11:49:33Z tanimura $
31 */
32
33#ifndef _SYS_SOUNDCARD_H_
34#define _SYS_SOUNDCARD_H_
35 /*
36 * If you make modifications to this file, please contact me before
37 * distributing the modified version. There is already enough
38 * diversity in the world.

--- 47 unchanged lines hidden (view full) ---

86#define SNDCARD_MAD16 19
87#define SNDCARD_MAD16_MPU 20
88#define SNDCARD_CS4232 21
89#define SNDCARD_CS4232_MPU 22
90#define SNDCARD_MAUI 23
91#define SNDCARD_PSEUDO_MSS 24
92#define SNDCARD_AWE32 25
93#define SNDCARD_NSS 26
31 */
32
33#ifndef _SYS_SOUNDCARD_H_
34#define _SYS_SOUNDCARD_H_
35 /*
36 * If you make modifications to this file, please contact me before
37 * distributing the modified version. There is already enough
38 * diversity in the world.

--- 47 unchanged lines hidden (view full) ---

86#define SNDCARD_MAD16 19
87#define SNDCARD_MAD16_MPU 20
88#define SNDCARD_CS4232 21
89#define SNDCARD_CS4232_MPU 22
90#define SNDCARD_MAUI 23
91#define SNDCARD_PSEUDO_MSS 24
92#define SNDCARD_AWE32 25
93#define SNDCARD_NSS 26
94#define SNDCARD_UART16550 27
95#define SNDCARD_OPL 28
94
95#include <sys/types.h>
96#ifndef _IOWR
97#include <sys/ioccom.h>
98#endif /* !_IOWR */
99
100/*
101 * The first part of this file contains the new FreeBSD sound ioctl

--- 597 unchanged lines hidden (view full) ---

699 u_char cmd;
700 char nr_args, nr_returns;
701 u_char data[30];
702} mpu_command_rec;
703
704#define SNDCTL_MIDI_PRETIME _IOWR('m', 0, int)
705#define SNDCTL_MIDI_MPUMODE _IOWR('m', 1, int)
706#define SNDCTL_MIDI_MPUCMD _IOWR('m', 2, mpu_command_rec)
96
97#include <sys/types.h>
98#ifndef _IOWR
99#include <sys/ioccom.h>
100#endif /* !_IOWR */
101
102/*
103 * The first part of this file contains the new FreeBSD sound ioctl

--- 597 unchanged lines hidden (view full) ---

701 u_char cmd;
702 char nr_args, nr_returns;
703 u_char data[30];
704} mpu_command_rec;
705
706#define SNDCTL_MIDI_PRETIME _IOWR('m', 0, int)
707#define SNDCTL_MIDI_MPUMODE _IOWR('m', 1, int)
708#define SNDCTL_MIDI_MPUCMD _IOWR('m', 2, mpu_command_rec)
709#define MIOSPASSTHRU _IOWR('m', 3, int)
710#define MIOGPASSTHRU _IOWR('m', 4, int)
707
708/*
709 * IOCTL commands for /dev/dsp and /dev/audio
710 */
711
712#define SNDCTL_DSP_RESET _IO ('P', 0)
713#define SNDCTL_DSP_SYNC _IO ('P', 1)
714#define SNDCTL_DSP_SPEED _IOWR('P', 2, int)

--- 653 unchanged lines hidden ---
711
712/*
713 * IOCTL commands for /dev/dsp and /dev/audio
714 */
715
716#define SNDCTL_DSP_RESET _IO ('P', 0)
717#define SNDCTL_DSP_SYNC _IO ('P', 1)
718#define SNDCTL_DSP_SPEED _IOWR('P', 2, int)

--- 653 unchanged lines hidden ---