1098ca2bdSWarner Losh /*- 24d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 3718cf2ccSPedro F. Giffuni * 490da2b28SAriff Abdullah * Copyright (c) 2005-2009 Ariff Abdullah <ariff@FreeBSD.org> 590da2b28SAriff Abdullah * Portions Copyright (c) Ryan Beasley <ryan.beasley@gmail.com> - GSoC 2006 690da2b28SAriff Abdullah * Copyright (c) 1999 Cameron Grant <cg@FreeBSD.org> 7987e5972SCameron Grant * All rights reserved. 8*c824383bSChristos Margiolis * Copyright (c) 2024-2025 The FreeBSD Foundation 9*c824383bSChristos Margiolis * 10*c824383bSChristos Margiolis * Portions of this software were developed by Christos Margiolis 11*c824383bSChristos Margiolis * <christos@FreeBSD.org> under sponsorship from the FreeBSD Foundation. 12987e5972SCameron Grant * 13987e5972SCameron Grant * Redistribution and use in source and binary forms, with or without 14987e5972SCameron Grant * modification, are permitted provided that the following conditions 15987e5972SCameron Grant * are met: 16987e5972SCameron Grant * 1. Redistributions of source code must retain the above copyright 17987e5972SCameron Grant * notice, this list of conditions and the following disclaimer. 18987e5972SCameron Grant * 2. Redistributions in binary form must reproduce the above copyright 19987e5972SCameron Grant * notice, this list of conditions and the following disclaimer in the 20987e5972SCameron Grant * documentation and/or other materials provided with the distribution. 21987e5972SCameron Grant * 22987e5972SCameron Grant * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 23987e5972SCameron Grant * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24987e5972SCameron Grant * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25987e5972SCameron Grant * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 26987e5972SCameron Grant * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27987e5972SCameron Grant * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28987e5972SCameron Grant * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29987e5972SCameron Grant * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30987e5972SCameron Grant * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31987e5972SCameron Grant * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32987e5972SCameron Grant * SUCH DAMAGE. 33987e5972SCameron Grant */ 34987e5972SCameron Grant 35fcacf52eSJoel Dahl #ifndef _PCMDSP_H_ 36fcacf52eSJoel Dahl #define _PCMDSP_H_ 37fcacf52eSJoel Dahl 38e8c0d15aSChristos Margiolis int dsp_make_dev(device_t); 39e8c0d15aSChristos Margiolis void dsp_destroy_dev(device_t); 40e07f9178SChristos Margiolis int dsp_oss_audioinfo(struct cdev *, oss_audioinfo *, bool); 41e07f9178SChristos Margiolis int dsp_oss_engineinfo(struct cdev *, oss_audioinfo *); 42b611c801SAlexander Leidinger 43b611c801SAlexander Leidinger #endif /* !_PCMDSP_H_ */ 44