Lines Matching refs:instr
43 int bank, int instr);
58 static int get_index(int bank, int instr, int key);
191 int bank, instr; in snd_soundfont_load() local
193 instr = (unsigned short)patch.optarg & 0xff; in snd_soundfont_load()
194 if (! remove_info(sflist, sflist->currsf, bank, instr)) in snd_soundfont_load()
434 zp->instr == map.map_instr && in load_map()
458 zp->instr = map.map_instr; in load_map()
478 int bank, int instr) in remove_info() argument
487 p->bank == bank && p->instr == instr) { in remove_info()
553 zone->instr == hdr.instr) in load_info()
559 remove_info(sflist, sf, hdr.bank, hdr.instr); in load_info()
575 tmpzone.instr = hdr.instr; in load_info()
588 zone->instr = tmpzone.instr; in load_info()
1102 zone->instr = patch.instr_no; in load_guspatch()
1168 zone = search_first_zone(sflist, cur->bank, cur->instr, cur->v.low); in add_preset()
1184 if ((index = get_index(cur->bank, cur->instr, cur->v.low)) < 0) in add_preset()
1200 if ((index = get_index(zp->bank, zp->instr, zp->v.low)) < 0) in delete_preset()
1263 if (zp->instr == preset && zp->bank == bank) in search_first_zone()
1319 get_index(int bank, int instr, int key) in get_index() argument
1325 index = instr; in get_index()