Searched refs:instr_no (Results 1 – 7 of 7) sorted by relevance
/linux-2.4.37.9/drivers/sound/ |
D | opl3.c | 83 static int store_instr(int instr_no, struct sbi_instrument *instr); 306 static int store_instr(int instr_no, struct sbi_instrument *instr) in store_instr() argument 310 memcpy((char *) &(devc->i_map[instr_no]), (char *) instr, sizeof(*instr)); in store_instr() 314 static int opl3_set_instr (int dev, int voice, int instr_no) in opl3_set_instr() argument 318 if (instr_no < 0 || instr_no >= SBFM_MAXINSTR) in opl3_set_instr() 319 instr_no = 0; /* Acoustic piano (usually) */ in opl3_set_instr() 321 devc->act_i[voice] = &devc->i_map[instr_no]; in opl3_set_instr() 1005 int instr_no; in opl3_alloc_voice() local 1008 instr_no = 0; in opl3_alloc_voice() 1010 instr_no = devc->chn_info[chn].pgm_num; in opl3_alloc_voice() [all …]
|
D | midi_synth.c | 347 midi_synth_set_instr(int dev, int channel, int instr_no) in midi_synth_set_instr() argument 351 if (instr_no < 0 || instr_no > 127) in midi_synth_set_instr() 352 instr_no = 0; in midi_synth_set_instr() 363 midi_outc(orig_dev, instr_no); in midi_synth_set_instr()
|
D | midi_synth.h | 4 int midi_synth_set_instr (int dev, int channel, int instr_no);
|
D | gus_wave.c | 644 int instr_no = sample_map[voice], is16bits; in gus_voice_fade() local 651 if (instr_no < 0 || instr_no > MAX_SAMPLE) in gus_voice_fade() 658 is16bits = (samples[instr_no].mode & WAVE_16_BITS) ? 1 : 0; /* 8 or 16 bits */ in gus_voice_fade() 1125 static int guswave_set_instr(int dev, int voice, int instr_no) in guswave_set_instr() argument 1129 if (instr_no < 0 || instr_no > MAX_PATCH) in guswave_set_instr() 1130 instr_no = 0; /* Default to acoustic piano */ in guswave_set_instr() 1137 voices[voice].sample_pending = instr_no; in guswave_set_instr() 1140 sample_no = patch_table[instr_no]; in guswave_set_instr() 1154 patch_map[voice] = instr_no; in guswave_set_instr() 1729 instr = patch.instr_no; in guswave_load_patch()
|
D | awe_wave.c | 342 static int awe_set_instr(int dev, int voice, int instr_no); 343 static int awe_set_instr_2(int dev, int voice, int instr_no); 2296 awe_set_instr_2(int dev, int voice, int instr_no) in awe_set_instr_2() argument 2303 return awe_set_instr(dev, voice, instr_no); in awe_set_instr_2() 2308 awe_set_instr(int dev, int voice, int instr_no) in awe_set_instr() argument 2315 if (instr_no < 0 || instr_no >= AWE_MAX_PRESETS) in awe_set_instr() 2319 cinfo->instr = instr_no; in awe_set_instr() 2320 DEBUG(2,printk("AWE32: [program(%d) %d]\n", voice, instr_no)); in awe_set_instr() 3711 DEBUG(0,printk("AWE32: [sample %d mode %x]\n", patch.instr_no, smp->mode_flags)); in awe_load_guspatch() 3795 vrec->instr = patch.instr_no; in awe_load_guspatch()
|
D | wavfront.c | 1546 prog.number = guspatch.instr_no; in wavefront_load_gus_patch() 1647 midi_synth_controller (dev.mididev, guspatch.instr_no, 10, in wavefront_load_gus_patch()
|
/linux-2.4.37.9/include/linux/ |
D | soundcard.h | 208 short instr_no; /* Midi pgm# */ member
|