Changeset 305 for GPL/branches/uniaud-2.0/lib32/soundmidi.c
- Timestamp:
- Mar 24, 2008, 2:43:42 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud-2.0/lib32/soundmidi.c
r34 r305 23 23 */ 24 24 25 #include <sound/ driver.h>25 #include <sound/core.h> 26 26 #include <sound/control.h> 27 27 #include <sound/info.h> … … 31 31 #include <sound/asequencer.h> 32 32 #include <sound/seqmid.h> 33 #include <sound/seq_kernel.h> 33 34 #include <linux/file.h> 34 35 #include <linux/soundcard.h> … … 48 49 midihandle *pHandle; 49 50 int ret, i; 50 struct snd_seq_port_subscribe 51 struct snd_seq_port_subscribe subs; 51 52 struct snd_seq_client_info clientinfo; 52 53 struct snd_seq_port_info portinfo; … … 179 180 pHandle->state |= MIDISTATE_SUBSCRIBED; 180 181 182 #if 0 181 183 //Load FM instruments (only done once) 182 184 OSS32_FMMidiLoadInstruments((ULONG)pHandle); 185 #endif 183 186 184 187 }//if FM … … 204 207 if(pHandle->state & MIDISTATE_SUBSCRIBED) { 205 208 struct snd_seq_port_subscribe subs; 206 207 209 memset(&subs, 0, sizeof(subs)); 208 210 subs.dest.client = pHandle->destclient;
Note:
See TracChangeset
for help on using the changeset viewer.