xref: /netbsd-src/sys/compat/ossaudio/ossaudio.h (revision ce099b40997c43048fb78bd578195f81d2456523)
1*ce099b40Smartin /*	$NetBSD: ossaudio.h,v 1.12 2008/04/28 20:23:45 martin Exp $	*/
2841c4f7dSaugustss 
31ea49a18Saugustss /*-
4841c4f7dSaugustss  * Copyright (c) 1997 The NetBSD Foundation, Inc.
5841c4f7dSaugustss  * All rights reserved.
6841c4f7dSaugustss  *
7841c4f7dSaugustss  * Redistribution and use in source and binary forms, with or without
8841c4f7dSaugustss  * modification, are permitted provided that the following conditions
9841c4f7dSaugustss  * are met:
10841c4f7dSaugustss  * 1. Redistributions of source code must retain the above copyright
11841c4f7dSaugustss  *    notice, this list of conditions and the following disclaimer.
12841c4f7dSaugustss  * 2. Redistributions in binary form must reproduce the above copyright
13841c4f7dSaugustss  *    notice, this list of conditions and the following disclaimer in the
14841c4f7dSaugustss  *    documentation and/or other materials provided with the distribution.
15841c4f7dSaugustss  *
16841c4f7dSaugustss  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
17841c4f7dSaugustss  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
18841c4f7dSaugustss  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19841c4f7dSaugustss  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
20841c4f7dSaugustss  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21841c4f7dSaugustss  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22841c4f7dSaugustss  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23841c4f7dSaugustss  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24841c4f7dSaugustss  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25841c4f7dSaugustss  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26841c4f7dSaugustss  * POSSIBILITY OF SUCH DAMAGE.
27841c4f7dSaugustss  */
28841c4f7dSaugustss 
2932801cf3Saugustss struct oss_sys_ioctl_args;
306bc0baa1Smycroft 
317e2790cfSdsl int oss_ioctl_audio(struct lwp *, const struct oss_sys_ioctl_args *,
32f2af9174Sdsl     register_t *);
337e2790cfSdsl int oss_ioctl_mixer(struct lwp *, const struct oss_sys_ioctl_args *,
34f2af9174Sdsl     register_t *);
357e2790cfSdsl int oss_ioctl_sequencer(struct lwp *, const struct oss_sys_ioctl_args *,
36f2af9174Sdsl     register_t *);
37