Home
last modified time | relevance | path

Searched refs:instr_no (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/sound/oss/
Dopl3.c82 static int store_instr(int instr_no, struct sbi_instrument *instr);
303 static int store_instr(int instr_no, struct sbi_instrument *instr) in store_instr() argument
307 memcpy((char *) &(devc->i_map[instr_no]), (char *) instr, sizeof(*instr)); in store_instr()
311 static int opl3_set_instr (int dev, int voice, int instr_no) in opl3_set_instr() argument
315 if (instr_no < 0 || instr_no >= SBFM_MAXINSTR) in opl3_set_instr()
316 instr_no = 0; /* Acoustic piano (usually) */ in opl3_set_instr()
318 devc->act_i[voice] = &devc->i_map[instr_no]; in opl3_set_instr()
1006 int instr_no; in opl3_alloc_voice() local
1009 instr_no = 0; in opl3_alloc_voice()
1011 instr_no = devc->chn_info[chn].pgm_num; in opl3_alloc_voice()
[all …]
Dmidi_synth.c350 midi_synth_set_instr(int dev, int channel, int instr_no) in midi_synth_set_instr() argument
354 if (instr_no < 0 || instr_no > 127) in midi_synth_set_instr()
355 instr_no = 0; in midi_synth_set_instr()
366 midi_outc(orig_dev, instr_no); in midi_synth_set_instr()
Dmidi_synth.h4 int midi_synth_set_instr (int dev, int channel, int instr_no);
/linux-2.6.39/include/linux/
Dsoundcard.h228 short instr_no; /* Midi pgm# */ member
/linux-2.6.39/sound/synth/emux/
Dsoundfont.c1111 zone->instr = patch.instr_no; in load_guspatch()