Lines Matching refs:midi1
31 static int midi1,midi2;
180 midi1 = sound_alloc_mididev();
181 if (midi1 == -1)
191 sound_unload_mididev(midi1);
197 midi_devs[midi1] = &m->m_ops[0];
205 sound_unload_mididev(midi1);
211 /* printk("VMIDI1: %d VMIDI2: %d\n",midi1,midi2); */
215 memcpy ((char *) midi_devs[midi1], (char *) &v_midi_operations,
218 v_devc[0]->my_mididev = midi1;
225 midi_devs[midi1]->devc = v_devc[0];
227 midi_devs[midi1]->converter = &m->s_ops[0];
228 std_midi_synth.midi_dev = midi1;
229 memcpy ((char *) midi_devs[midi1]->converter, (char *) &std_midi_synth,
231 midi_devs[midi1]->converter->id = "V_MIDI 1";
240 v_devc[1]->pair_mididev = midi1;
266 sound_unload_mididev(midi1);