Searched refs:vp (Results 1 – 7 of 7) sorted by relevance
/sound/synth/emux/ |
D | emux_synth.c | 48 static void terminate_voice(struct snd_emux *emu, struct snd_emux_voice *vp, int free); 49 static void update_voice(struct snd_emux *emu, struct snd_emux_voice *vp, int update); 50 static void setup_voice(struct snd_emux_voice *vp); 51 static int calc_pan(struct snd_emux_voice *vp); 52 static int calc_volume(struct snd_emux_voice *vp); 53 static int calc_pitch(struct snd_emux_voice *vp); 64 struct snd_emux_voice *vp; in snd_emux_note_on() local 103 vp = emu->ops.get_voice(emu, port); in snd_emux_note_on() 104 if (vp == NULL || vp->ch < 0) in snd_emux_note_on() 106 if (STATE_IS_PLAYING(vp->state)) in snd_emux_note_on() [all …]
|
D | emux_proc.c | 64 struct snd_emux_voice *vp = &emu->voices[0]; in snd_emux_proc_info_read() 67 vp->reg.parm.moddelay, in snd_emux_proc_info_read() 68 vp->reg.parm.modatkhld, in snd_emux_proc_info_read() 69 vp->reg.parm.moddcysus, in snd_emux_proc_info_read() 70 vp->reg.parm.modrelease); in snd_emux_proc_info_read() 72 vp->reg.parm.voldelay, in snd_emux_proc_info_read() 73 vp->reg.parm.volatkhld, in snd_emux_proc_info_read() 74 vp->reg.parm.voldcysus, in snd_emux_proc_info_read() 75 vp->reg.parm.volrelease); in snd_emux_proc_info_read() 77 vp->reg.parm.lfo1delay, in snd_emux_proc_info_read() [all …]
|
D | emux_effect.c | 211 struct snd_emux_voice *vp = &emu->voices[i]; in snd_emux_send_effect() local 212 if (!STATE_IS_PLAYING(vp->state) || vp->chan != chan) in snd_emux_send_effect() 214 srcp = (unsigned char*)&vp->reg.parm + offset; in snd_emux_send_effect() 215 origp = (unsigned char*)&vp->zone->v.parm + offset; in snd_emux_send_effect() 233 snd_emux_setup_effect(struct snd_emux_voice *vp) in snd_emux_setup_effect() argument 235 struct snd_midi_channel *chan = vp->chan; in snd_emux_setup_effect() 255 srcp = (unsigned char*)&vp->reg.parm + offset; in snd_emux_setup_effect() 263 vp->reg.start += effect_get_offset(chan, EMUX_FX_SAMPLE_START, in snd_emux_setup_effect() 265 vp->reg.sample_mode); in snd_emux_setup_effect() 267 vp->reg.loopstart += effect_get_offset(chan, EMUX_FX_LOOP_START, in snd_emux_setup_effect() [all …]
|
D | emux_voice.h | 65 void snd_emux_setup_effect(struct snd_emux_voice *vp);
|
/sound/pci/emu10k1/ |
D | emu10k1_callback.c | 43 static int start_voice(struct snd_emux_voice *vp); 44 static void trigger_voice(struct snd_emux_voice *vp); 45 static void release_voice(struct snd_emux_voice *vp); 46 static void update_voice(struct snd_emux_voice *vp, int update); 47 static void terminate_voice(struct snd_emux_voice *vp); 48 static void free_voice(struct snd_emux_voice *vp); 49 static void set_fmmod(struct snd_emu10k1 *hw, struct snd_emux_voice *vp); 50 static void set_fm2frq2(struct snd_emu10k1 *hw, struct snd_emux_voice *vp); 51 static void set_filterQ(struct snd_emu10k1 *hw, struct snd_emux_voice *vp); 95 struct snd_emux_voice *vp; in snd_emu10k1_synth_get_voice() local [all …]
|
/sound/isa/sb/ |
D | emu8000_callback.c | 31 static int start_voice(struct snd_emux_voice *vp); 32 static void trigger_voice(struct snd_emux_voice *vp); 33 static void release_voice(struct snd_emux_voice *vp); 34 static void update_voice(struct snd_emux_voice *vp, int update); 36 static void terminate_voice(struct snd_emux_voice *vp); 45 static void set_pitch(struct snd_emu8000 *hw, struct snd_emux_voice *vp); 46 static void set_volume(struct snd_emu8000 *hw, struct snd_emux_voice *vp); 47 static void set_pan(struct snd_emu8000 *hw, struct snd_emux_voice *vp); 48 static void set_fmmod(struct snd_emu8000 *hw, struct snd_emux_voice *vp); 49 static void set_tremfreq(struct snd_emu8000 *hw, struct snd_emux_voice *vp); [all …]
|
/sound/drivers/opl3/ |
D | opl3_midi.c | 147 struct snd_opl3_voice *vp, *vp2; in opl3_get_voice() local 174 vp = &opl3->voices[i]; in opl3_get_voice() 176 if (vp->state == SNDRV_OPL3_ST_NOT_AVAIL) in opl3_get_voice() 181 voice_time = vp->time; in opl3_get_voice() 192 if (vp->state) in opl3_get_voice() 201 voice_time = (voice_time > vp->time) ? in opl3_get_voice() 202 voice_time : vp->time; in opl3_get_voice() 209 else if (vp->state) in opl3_get_voice() 213 if (vp->state) in opl3_get_voice() 251 struct snd_opl3_voice *vp = &opl3->voices[i]; in snd_opl3_timer_func() local [all …]
|