Home
last modified time | relevance | path

Searched refs:pan (Results 1 – 8 of 8) sorted by relevance

/sound/synth/emux/
Demux_synth.c642 int pan; in calc_pan() local
646 pan = 255 - (int)vp->reg.fixpan * 2; in calc_pan()
648 pan = chan->control[MIDI_CTL_MSB_PAN] - 64; in calc_pan()
649 if (vp->reg.pan >= 0) /* 0-127 */ in calc_pan()
650 pan += vp->reg.pan - 64; in calc_pan()
651 pan = 127 - (int)pan * 2; in calc_pan()
653 LIMITVALUE(pan, 0, 255); in calc_pan()
657 if (pan != vp->apan) { in calc_pan()
658 vp->apan = pan; in calc_pan()
659 if (pan == 0) in calc_pan()
[all …]
Dsoundfont.c611 avp->pan = -1; in init_voice_info()
1030 zone->v.pan = (patch.panning + 128) / 2; in load_guspatch()
/sound/drivers/opl4/
Dopl4_synth.c390 int pan = voice->sound->panpot; in snd_opl4_update_pan() local
393 pan += (voice->chan->control[MIDI_CTL_MSB_PAN] - 0x40) >> 3; in snd_opl4_update_pan()
394 if (pan < -7) in snd_opl4_update_pan()
395 pan = -7; in snd_opl4_update_pan()
396 else if (pan > 7) in snd_opl4_update_pan()
397 pan = 7; in snd_opl4_update_pan()
399 | (pan & OPL4_PAN_POT_MASK); in snd_opl4_update_pan()
/sound/sh/
Daica.h53 uint32_t pan; /* Pan 0-255 */ member
Daica.c341 channel->pan = 0x80; in snd_aicapcm_pcm_open()
/sound/pci/trident/
Dtrident.h334 unsigned char pan; /* pan control */ member
Dtrident_main.c937 voice->Pan = mix->pan; in snd_trident_playback_prepare()
1442 voice->Pan = mix->pan; in snd_trident_spdif_prepare()
2685 ucontrol->value.integer.value[0] = mix->pan; in snd_trident_pcm_pan_control_get()
2707 change = val != mix->pan; in snd_trident_pcm_pan_control_put()
2708 mix->pan = val; in snd_trident_pcm_pan_control_put()
2878 tmix->pan = T4D_DEFAULT_PCM_PAN; in snd_trident_pcm_mixer_build()
3598 tmix->pan = T4D_DEFAULT_PCM_PAN; in snd_trident_create()
/sound/isa/gus/
Dgus_pcm.c101 unsigned char pan; in snd_gf1_pcm_trigger_up() local
131 pan = runtime->channels == 2 ? (!voice ? 1 : 14) : 8; in snd_gf1_pcm_trigger_up()
135 snd_gf1_write8(gus, SNDRV_GF1_VB_PAN, pan); in snd_gf1_pcm_trigger_up()