volume
initvol(struct sioctl_sun_hdl *hdl, struct volume *vol, char *cn, char *dn)
setvol(struct sioctl_sun_hdl *hdl, struct volume *vol, int addr, int val)
scanvol(struct sioctl_sun_hdl *hdl, struct volume *vol)
updatevol(struct sioctl_sun_hdl *hdl, struct volume *vol, int idx)
struct volume *vol;
struct volume output, input;
if (field_by_value(keyboard_field_tab, &bell.volume)->flags & FLG_SET)
if (field_by_value(keyboard_field_tab, &dfbell.volume)->flags & FLG_SET)
{ "bell.volume", &bell.volume, FMT_UINT, FLG_MODIFY },
{ "bell.volume.default", &dfbell.volume, FMT_UINT, FLG_MODIFY },
if (field_by_value(keyboard_field_tab, &bell.volume)->flags & FLG_GET)
if (field_by_value(keyboard_field_tab, &dfbell.volume)->flags & FLG_GET)
apldckbd_cnbell(void *v, u_int pitch, u_int period, u_int volume)
hidkbd_bell(pitch, period, volume, 1);
aplkbd_cnbell(void *v, u_int pitch, u_int period, u_int volume)
hidkbd_bell(pitch, period, volume, 1);
ykbec_bell(void *arg, u_int pitch, u_int period, u_int volume, int poll)
if (timeout_del(&sc->sc_bell_tmo) || volume == 0) {
if (volume != 0) {
beep_bell(void *vsc, u_int pitch, u_int period, u_int volume, int poll)
if (pitch == 0 || period == 0 || volume == 0) {
beeper_bell(void *vsc, u_int pitch, u_int period, u_int volume, int poll)
cnbell(u_int pitch, u_int period, u_int volume)
(*cn_tab->cn_bell)(cn_tab->cn_dev, pitch, period, volume);
hidkbd_bell(d->pitch, d->period, d->volume, 0);
hidkbd_bell(u_int pitch, u_int period, u_int volume, int poll)
volume, poll);
d->pitch, d->period, d->volume);
hilkbd_cnbell(void *v, u_int pitch, u_int period, u_int volume)
pitch, period, volume);
hilkbd_bell(struct hil_softc *sc, u_int pitch, u_int period, u_int volume)
ikbd_cnbell(void *v, u_int pitch, u_int period, u_int volume)
hidkbd_bell(pitch, period, volume, 1);
gus_set_volume(struct gus_softc *sc, int voice, int volume)
gusvol = gus_log_volumes[volume < 512 ? volume : 511];
pcppi_kbd_bell(void *arg, u_int pitch, u_int period, u_int volume, int poll)
pcppi_bell(arg, volume ? pitch : 0, period,
if (!COP_VKCAP_NUMSTEPS(w->d.volume.cap))
this->d.volume.cap = result;
!!(w->d.volume.cap & COP_VKCAP_DELTA),
COP_VKCAP_NUMSTEPS(w->d.volume.cap));
} volume;
this->playvols.hw_nsteps = COP_VKCAP_NUMSTEPS(w->d.volume.cap);
ri->volume = ri->rfreq = ri->lock = 0;
chan->volume.current = 0x0000; /* no volume */
chan->volume.target = 0xffff;
chan->volume.envelope.current_state = 0x8000; /* 0 msec delay */
chan->volume.envelope.hold_time = 0x7f; /* 0 msec */
chan->volume.envelope.attack_time = 0x7F; /* 5.5msec */
chan->volume.envelope.sustain_level = 0x7F; /* full */
chan->volume.envelope.decay_time = 0x7F; /* 22msec */
(chan->volume.envelope.hold_time << 8) |
chan->volume.envelope.attack_time);
chan->volume.envelope.current_state);
chan->volume.target);
chan->volume.current);
(chan->volume.envelope.sustain_level << 8) |
chan->volume.envelope.decay_time);
struct emuxki_chanparms_volume volume;
ri->volume = radio->vol ? 255 : 0;
radio->vol = ri->volume ? 255 : 0;
pckbd_bell(d->pitch, d->period, d->volume, 0);
pckbd_bell(u_int pitch, u_int period, u_int volume, int poll)
volume, poll);
pckbd_cnbell(void *v, u_int pitch, u_int period, u_int volume)
pckbd_bell(pitch, period, volume, 1);
sunkbd_bell(sc, d_bell->period, d_bell->pitch, d_bell->volume);
sunkbd_bell(struct sunkbd_softc *sc, u_int period, u_int pitch, u_int volume)
if (tadpole_bell(period / 10, pitch, volume) != 0)
ri->volume = sc->sc_vol ? 255 : 0;
sc->sc_vol = ri->volume != 0;
ukbd_cnbell(void *v, u_int pitch, u_int period, u_int volume)
hidkbd_bell(pitch, period, volume, 1);
u_int volume; /* percentage of max volume */
(dstp)->volume = ((srcp)->which & WSKBD_BELL_DOVOLUME) ? \
(srcp)->volume : (dfltp)->volume; \
wskbd_cnbell(dev_t dev, u_int pitch, u_int period, u_int volume)
volume);
arg->vol[0] = audio->port[0].volume;
arg->vol[1] = audio->port[1].volume;
arg->vol[2] = audio->port[2].volume;
arg->vol[3] = audio->port[3].volume;
mask_volume[0] = audio->port[0].volume;
mask_volume[1] = audio->port[1].volume;
mask_volume[2] = audio->port[2].volume;
mask_volume[3] = audio->port[3].volume;
audio->port[0].volume = arg->vol[0] & mask_volume[0];
audio->port[1].volume = arg->vol[1] & mask_volume[1];
audio->port[2].volume = arg->vol[2] & mask_volume[2];
audio->port[3].volume = arg->vol[3] & mask_volume[3];
u_int8_t volume;
int volume;
const char *volume;
volume = NULL == meta->vol ? "" : meta->vol;
vollen = term_strlen(p, volume);
term_word(p, volume);
char *volume, *title;
volume = mandoc_strdup(meta->vol);
mandoc_asprintf(&volume, "%s (%s)",
print_text(h, volume);
free(volume);
char *volume, *title;
volume = mandoc_strdup(meta->vol);
mandoc_asprintf(&volume, "%s (%s)",
vollen = term_strlen(p, volume);
term_word(p, volume);
free(volume);
update_value(o.sign, &ri.volume, o.value);
printf("%u", ri.volume);
show_int_val(ri.volume, varname[OPTION_VOLUME], "", silent);