mpu_if.m revision 166322
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: head/sys/dev/sound/midi/mpu_if.m 166322 2007-01-28 20:38:07Z joel $ 27158979Snetchild# 28158979Snetchild 29158979Snetchild#include <dev/sound/midi/midi.h> 30158979Snetchild 31158979SnetchildINTERFACE mpu; 32158979Snetchild 33158979SnetchildMETHOD int inqsize{ 34158979Snetchild struct snd_midi * _kobj; 35158979Snetchild void *_cookie; 36158979Snetchild}; 37158979Snetchild 38158979SnetchildMETHOD int outqsize { 39158979Snetchild struct snd_midi * _kobj; 40158979Snetchild void *_cookie; 41158979Snetchild}; 42158979Snetchild 43158979SnetchildMETHOD int init { 44158979Snetchild struct snd_midi * _kobj; 45158979Snetchild void *_cookie; 46158979Snetchild}; 47158979Snetchild 48158979SnetchildMETHOD void callbackp { 49158979Snetchild struct snd_midi * _kobj; 50158979Snetchild void *_cookie; 51158979Snetchild int _flags; 52158979Snetchild}; 53158979Snetchild 54158979SnetchildMETHOD void callback { 55158979Snetchild struct snd_midi * _kobj; 56158979Snetchild void *_cookie; 57158979Snetchild int _flags; 58158979Snetchild}; 59158979Snetchild 60158979SnetchildMETHOD const char * provider{ 61158979Snetchild struct snd_midi * _kobj; 62158979Snetchild void *_cookie; 63158979Snetchild}; 64158979Snetchild 65158979SnetchildMETHOD const char * descr { 66158979Snetchild struct snd_midi * _kobj; 67158979Snetchild void *_cookie; 68158979Snetchild int _verbosity; 69158979Snetchild}; 70158979Snetchild 71158979SnetchildMETHOD int uninit { 72158979Snetchild struct snd_midi * _kobj; 73158979Snetchild void *_cookie; 74158979Snetchild}; 75