Searched refs:vp (Results 1 – 7 of 7) sorted by relevance
/sound/synth/emux/ |
D | emux_synth.c | 34 static void terminate_voice(struct snd_emux *emu, struct snd_emux_voice *vp, int free); 35 static void update_voice(struct snd_emux *emu, struct snd_emux_voice *vp, int update); 36 static void setup_voice(struct snd_emux_voice *vp); 37 static int calc_pan(struct snd_emux_voice *vp); 38 static int calc_volume(struct snd_emux_voice *vp); 39 static int calc_pitch(struct snd_emux_voice *vp); 50 struct snd_emux_voice *vp; in snd_emux_note_on() local 89 vp = emu->ops.get_voice(emu, port); in snd_emux_note_on() 90 if (vp == NULL || vp->ch < 0) in snd_emux_note_on() 92 if (STATE_IS_PLAYING(vp->state)) in snd_emux_note_on() [all …]
|
D | emux_proc.c | 51 struct snd_emux_voice *vp = &emu->voices[0]; in snd_emux_proc_info_read() 54 vp->reg.parm.moddelay, in snd_emux_proc_info_read() 55 vp->reg.parm.modatkhld, in snd_emux_proc_info_read() 56 vp->reg.parm.moddcysus, in snd_emux_proc_info_read() 57 vp->reg.parm.modrelease); in snd_emux_proc_info_read() 59 vp->reg.parm.voldelay, in snd_emux_proc_info_read() 60 vp->reg.parm.volatkhld, in snd_emux_proc_info_read() 61 vp->reg.parm.voldcysus, in snd_emux_proc_info_read() 62 vp->reg.parm.volrelease); in snd_emux_proc_info_read() 64 vp->reg.parm.lfo1delay, in snd_emux_proc_info_read() [all …]
|
D | emux_effect.c | 200 struct snd_emux_voice *vp = &emu->voices[i]; in snd_emux_send_effect() local 201 if (!STATE_IS_PLAYING(vp->state) || vp->chan != chan) in snd_emux_send_effect() 203 srcp = (unsigned char*)&vp->reg.parm + offset; in snd_emux_send_effect() 204 origp = (unsigned char*)&vp->zone->v.parm + offset; in snd_emux_send_effect() 222 snd_emux_setup_effect(struct snd_emux_voice *vp) in snd_emux_setup_effect() argument 224 struct snd_midi_channel *chan = vp->chan; in snd_emux_setup_effect() 248 srcp = (unsigned char*)&vp->reg.parm + offset; in snd_emux_setup_effect() 256 vp->reg.start += effect_get_offset(chan, EMUX_FX_SAMPLE_START, in snd_emux_setup_effect() 258 vp->reg.sample_mode); in snd_emux_setup_effect() 260 vp->reg.loopstart += effect_get_offset(chan, EMUX_FX_LOOP_START, in snd_emux_setup_effect() [all …]
|
D | emux_voice.h | 52 void snd_emux_setup_effect(struct snd_emux_voice *vp);
|
/sound/pci/emu10k1/ |
D | emu10k1_callback.c | 30 static int start_voice(struct snd_emux_voice *vp); 31 static void trigger_voice(struct snd_emux_voice *vp); 32 static void release_voice(struct snd_emux_voice *vp); 33 static void update_voice(struct snd_emux_voice *vp, int update); 34 static void terminate_voice(struct snd_emux_voice *vp); 35 static void free_voice(struct snd_emux_voice *vp); 36 static void set_fmmod(struct snd_emu10k1 *hw, struct snd_emux_voice *vp); 37 static void set_fm2frq2(struct snd_emu10k1 *hw, struct snd_emux_voice *vp); 38 static void set_filterQ(struct snd_emu10k1 *hw, struct snd_emux_voice *vp); 82 struct snd_emux_voice *vp; in snd_emu10k1_synth_get_voice() local [all …]
|
/sound/isa/sb/ |
D | emu8000_callback.c | 18 static int start_voice(struct snd_emux_voice *vp); 19 static void trigger_voice(struct snd_emux_voice *vp); 20 static void release_voice(struct snd_emux_voice *vp); 21 static void update_voice(struct snd_emux_voice *vp, int update); 23 static void terminate_voice(struct snd_emux_voice *vp); 32 static void set_pitch(struct snd_emu8000 *hw, struct snd_emux_voice *vp); 33 static void set_volume(struct snd_emu8000 *hw, struct snd_emux_voice *vp); 34 static void set_pan(struct snd_emu8000 *hw, struct snd_emux_voice *vp); 35 static void set_fmmod(struct snd_emu8000 *hw, struct snd_emux_voice *vp); 36 static void set_tremfreq(struct snd_emu8000 *hw, struct snd_emux_voice *vp); [all …]
|
/sound/drivers/opl3/ |
D | opl3_midi.c | 129 struct snd_opl3_voice *vp, *vp2; in opl3_get_voice() local 156 vp = &opl3->voices[i]; in opl3_get_voice() 158 if (vp->state == SNDRV_OPL3_ST_NOT_AVAIL) in opl3_get_voice() 163 voice_time = vp->time; in opl3_get_voice() 174 if (vp->state) in opl3_get_voice() 190 else if (vp->state) in opl3_get_voice() 194 if (vp->state) in opl3_get_voice() 232 struct snd_opl3_voice *vp = &opl3->voices[i]; in snd_opl3_timer_func() local 233 if (vp->state > 0 && vp->note_off_check) { in snd_opl3_timer_func() 234 if (vp->note_off == jiffies) in snd_opl3_timer_func() [all …]
|