xref: /linux/include/sound/opl4.h (revision 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2)
1*1da177e4SLinus Torvalds #ifndef __SOUND_OPL4_H
2*1da177e4SLinus Torvalds #define __SOUND_OPL4_H
3*1da177e4SLinus Torvalds 
4*1da177e4SLinus Torvalds /*
5*1da177e4SLinus Torvalds  * Global definitions for the OPL4 driver
6*1da177e4SLinus Torvalds  * Copyright (c) 2003 by Clemens Ladisch <clemens@ladisch.de>
7*1da177e4SLinus Torvalds  *
8*1da177e4SLinus Torvalds  * This program is free software; you can redistribute it and/or modify
9*1da177e4SLinus Torvalds  * it under the terms of the GNU General Public License as published by
10*1da177e4SLinus Torvalds  * the Free Software Foundation; either version 2 of the License, or
11*1da177e4SLinus Torvalds  * (at your option) any later version.
12*1da177e4SLinus Torvalds  *
13*1da177e4SLinus Torvalds  * This program is distributed in the hope that it will be useful,
14*1da177e4SLinus Torvalds  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15*1da177e4SLinus Torvalds  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16*1da177e4SLinus Torvalds  * GNU General Public License for more details.
17*1da177e4SLinus Torvalds  *
18*1da177e4SLinus Torvalds  * You should have received a copy of the GNU General Public License
19*1da177e4SLinus Torvalds  * along with this program; if not, write to the Free Software
20*1da177e4SLinus Torvalds  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21*1da177e4SLinus Torvalds  */
22*1da177e4SLinus Torvalds 
23*1da177e4SLinus Torvalds #include <sound/opl3.h>
24*1da177e4SLinus Torvalds 
25*1da177e4SLinus Torvalds typedef struct opl4 opl4_t;
26*1da177e4SLinus Torvalds 
27*1da177e4SLinus Torvalds extern int snd_opl4_create(snd_card_t *card,
28*1da177e4SLinus Torvalds 			   unsigned long fm_port, unsigned long pcm_port,
29*1da177e4SLinus Torvalds 			   int seq_device,
30*1da177e4SLinus Torvalds 			   opl3_t **opl3, opl4_t **opl4);
31*1da177e4SLinus Torvalds 
32*1da177e4SLinus Torvalds #endif /* __SOUND_OPL4_H */
33