1158979Snetchild#- 2166322Sjoel# Copyright (c) 2003 Mathew Kanner 3166322Sjoel# All rights reserved. 4158979Snetchild# 5158979Snetchild# Redistribution and use in source and binary forms, with or without 6166322Sjoel# modification, are permitted provided that the following conditions 7166322Sjoel# are met: 8166322Sjoel# 1. Redistributions of source code must retain the above copyright 9166322Sjoel# notice, this list of conditions and the following disclaimer. 10166322Sjoel# 2. Redistributions in binary form must reproduce the above copyright 11166322Sjoel# notice, this list of conditions and the following disclaimer in the 12166322Sjoel# documentation and/or other materials provided with the distribution. 13158979Snetchild# 14166322Sjoel# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15166322Sjoel# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16166322Sjoel# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17166322Sjoel# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18166322Sjoel# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19166322Sjoel# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20166322Sjoel# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21166322Sjoel# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22158979Snetchild# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23158979Snetchild# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24158979Snetchild# SUCH DAMAGE. 25158979Snetchild# 26158979Snetchild# $FreeBSD: releng/10.3/sys/dev/sound/midi/mpu_if.m 166971 2007-02-25 13:51:52Z netchild $ 27158979Snetchild# 28158979Snetchild 29158979Snetchild#include <dev/sound/midi/midi.h> 30158979Snetchild 31158979SnetchildINTERFACE mpu; 32158979Snetchild 33166971SnetchildMETHOD int inqsize { 34166971Snetchild struct snd_midi *_kobj; 35166971Snetchild void *_cookie; 36158979Snetchild}; 37158979Snetchild 38158979SnetchildMETHOD int outqsize { 39166971Snetchild struct snd_midi *_kobj; 40166971Snetchild void *_cookie; 41158979Snetchild}; 42158979Snetchild 43158979SnetchildMETHOD int init { 44166971Snetchild struct snd_midi *_kobj; 45166971Snetchild void *_cookie; 46158979Snetchild}; 47158979Snetchild 48158979SnetchildMETHOD void callbackp { 49166971Snetchild struct snd_midi *_kobj; 50166971Snetchild void *_cookie; 51166971Snetchild int _flags; 52158979Snetchild}; 53158979Snetchild 54166971SnetchildMETHOD void callback { 55166971Snetchild struct snd_midi *_kobj; 56166971Snetchild void *_cookie; 57166971Snetchild int _flags; 58158979Snetchild}; 59158979Snetchild 60166971SnetchildMETHOD const char * provider { 61166971Snetchild struct snd_midi *_kobj; 62166971Snetchild void *_cookie; 63158979Snetchild}; 64158979Snetchild 65166971SnetchildMETHOD const char * descr { 66166971Snetchild struct snd_midi *_kobj; 67166971Snetchild void *_cookie; 68166971Snetchild int _verbosity; 69158979Snetchild}; 70158979Snetchild 71166971SnetchildMETHOD int uninit { 72166971Snetchild struct snd_midi *_kobj; 73166971Snetchild void *_cookie; 74158979Snetchild}; 75