dsp.h revision 170815
178135Speter/*-
278135Speter * Copyright (c) 1999 Cameron Grant <cg@freebsd.org>
378135Speter * All rights reserved.
478135Speter *
578135Speter * Redistribution and use in source and binary forms, with or without
678135Speter * modification, are permitted provided that the following conditions
778135Speter * are met:
878135Speter * 1. Redistributions of source code must retain the above copyright
978135Speter *    notice, this list of conditions and the following disclaimer.
1078135Speter * 2. Redistributions in binary form must reproduce the above copyright
1178135Speter *    notice, this list of conditions and the following disclaimer in the
1278135Speter *    documentation and/or other materials provided with the distribution.
1378135Speter *
1478135Speter * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1578135Speter * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1678135Speter * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1778135Speter * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1878135Speter * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1978135Speter * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2078135Speter * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2178135Speter * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2278135Speter * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2378135Speter * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2478135Speter * SUCH DAMAGE.
2578135Speter *
2678135Speter * $FreeBSD: head/sys/dev/sound/pcm/dsp.h 170815 2007-06-16 03:37:28Z ariff $
27116182Sobrien */
28116182Sobrien
29116182Sobrien#ifndef _PCMDSP_H_
3078135Speter#define _PCMDSP_H_
3194936Smux
32240067Srayextern struct cdevsw dsp_cdevsw;
33160217Sscottl
34240119Sraystruct dsp_cdevinfo;
3578135Speter
3678135Speterchar *dsp_unit2name(char *, size_t, int);
3778135Speterint dsp_oss_audioinfo(struct cdev *, oss_audioinfo *);
3878135Speter
3978135Spetervoid dsp_cdevinfo_init(struct snddev_info *);
4078135Spetervoid dsp_cdevinfo_flush(struct snddev_info *);
4178135Speter
4294936Smux#endif /* !_PCMDSP_H_ */
4395593Speter