source: GPL/branches/uniaud32-next/include/osssound.h@ 660

Last change on this file since 660 was 32, checked in by vladest, 20 years ago

initial import

File size: 1.5 KB
Line 
1/* $Id: osssound.h,v 1.1.1.1 2003/07/02 13:56:58 eleph Exp $ */
2/*
3 * Header for OSS constants
4 *
5 * (C) 2000-2002 InnoTek Systemberatung GmbH
6 * (C) 2000-2001 Sander van Leeuwen (sandervl@xs4all.nl)
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public
19 * License along with this program; if not, write to the Free
20 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
21 * USA.
22 *
23 */
24
25#ifndef __OSSSOUND_H__
26#define __OSSSOUND_H__
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32#define OSS32_DSPID 0
33#define OSS32_SYNTHID 1
34#define OSS32_MIDIID 2
35#define OSS32_MIXERID 3
36#define OSS32_SPECIALID 4
37#define OSS32_MAX_DEVICES 5
38
39#define OSS32_STREAM_WAVEOUT 0
40#define OSS32_STREAM_WAVEIN 1
41#define OSS32_STREAM_MPU401_MIDIOUT 2
42#define OSS32_STREAM_MPU401_MIDIIN 3
43#define OSS32_STREAM_WAVETABLE_MIDIOUT 4
44#define OSS32_STREAM_FM_MIDIOUT 5
45
46extern struct file_operations oss_devices[OSS32_MAX_DEVICES];
47
48#ifdef __cplusplus
49}
50#endif
51
52#endif
Note: See TracBrowser for help on using the repository browser.