X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fsound%2Fopl3.h;h=19f657d4fc063dd17e5bb8a0e962376663a44b51;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=48fcf7cb01130533555f72611644b7d1ac81b9fd;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/sound/opl3.h b/include/sound/opl3.h index 48fcf7cb0..19f657d4f 100644 --- a/include/sound/opl3.h +++ b/include/sound/opl3.h @@ -274,6 +274,9 @@ struct snd_opl3 { snd_timer_t *timer2; spinlock_t timer_lock; + void *private_data; + void (*private_free)(opl3_t *); + spinlock_t reg_lock; snd_card_t *card; /* The card that this belongs to */ int used; /* usage flag - exclusive */ @@ -314,6 +317,8 @@ struct snd_opl3 { /* opl3.c */ void snd_opl3_interrupt(snd_hwdep_t * hw); +int snd_opl3_new(snd_card_t *card, unsigned short hardware, opl3_t **ropl3); +int snd_opl3_init(opl3_t *opl3); int snd_opl3_create(snd_card_t * card, unsigned long l_port, unsigned long r_port, unsigned short hardware,