Home
last modified time | relevance | path

Searched refs:voice (Results 1 – 25 of 33) sorted by relevance

12

/linux/include/uapi/linux/
H A Dultrasound.h76 #define _GUS_CMD(chn, voice, cmd, p1, p2) \ argument
79 _seqbuf[_seqbufptr+3] = voice;\
85 #define GUS_VOICESAMPLE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICESAMPLE, (p1), 0) /* OBSOLET… argument
86 #define GUS_VOICEON(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEON, (p1), 0) argument
87 #define GUS_VOICEOFF(chn, voice) _GUS_CMD(chn, voice, _GUS_VOICEOFF, 0, 0) argument
88 #define GUS_VOICEFADE(chn, voice) _GUS_CMD(chn, voice, _GUS_VOICEFADE, 0, 0) argument
89 #define GUS_VOICEMODE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEMODE, (p1), 0) argument
90 #define GUS_VOICEBALA(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEBALA, (p1), 0) argument
91 #define GUS_VOICEFREQ(chn, voice, p) _GUS_CMD(chn, voice, _GUS_VOICEFREQ, \ argument
93 #define GUS_VOICEVOL(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEVOL, (p1), 0) argument
[all …]
H A Dsoundcard.h1205 #define SEQ_V2_X_CONTROL(dev, voice, controller, value) {_SEQ_NEEDBUF(8);\ argument
1209 _seqbuf[_seqbufptr+3] = (voice);\
1219 #define SEQ_PITCHBEND(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER, value) argument
1220 #define SEQ_BENDER_RANGE(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER_RANGE, v… argument
1221 #define SEQ_EXPRESSION(dev, voice, value) SEQ_CONTROL(dev, voice, CTL_EXPRESSION, value*128) argument
1222 #define SEQ_MAIN_VOLUME(dev, voice, value) SEQ_CONTROL(dev, voice, CTL_MAIN_VOLUME, (value*16383)/1… argument
1223 #define SEQ_PANNING(dev, voice, pos) SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2) argument
/linux/sound/pci/au88x0/
H A Dau88x0_synth.c56 wt_voice_t *voice = &(vortex->wt_voice[wt]); in vortex_wt_allocroute() local
95 voice->parm0 = voice->parm1 = 0xcfb23e2f; in vortex_wt_allocroute()
96 hwwrite(vortex->mmio, WT_PARM(wt, 0), voice->parm0); in vortex_wt_allocroute()
97 hwwrite(vortex->mmio, WT_PARM(wt, 1), voice->parm1); in vortex_wt_allocroute()
327 wt_voice_t *voice = &(vortex->wt_voice[wt]);
331 voice->parm0 &= 0xff00ffff;
332 voice->parm0 |= (vol[0] & 0xff) << 0x10;
333 voice->parm1 &= 0xff00ffff;
334 voice->parm1 |= (vol[1] & 0xff) << 0x10;
337 hwwrite(vortex, WT_PARM(wt, 0), voice->parm0);
[all …]
H A Dau88x0_wt.h28 #define WT_STEREO(voice) ((WT_BAR(voice)+ 0x20 +(((voice)&0x1f)>>1))<<2) /* 0x0080 */ argument
29 #define WT_MUTE(voice) ((WT_BAR(voice)+ 0x40 +((voice)&0x1f))<<2) /* 0x0100 */ argument
30 #define WT_RUN(voice) ((WT_BAR(voice)+ 0x60 +((voice)&0x1f))<<2) /* 0x0180 */ argument
/linux/sound/drivers/opl3/
H A Dopl3_synth.c61 static int snd_opl3_set_voice(struct snd_opl3 * opl3, struct snd_dm_fm_voice * voice);
126 struct snd_dm_fm_voice voice; in snd_opl3_ioctl() local
127 if (copy_from_user(&voice, argp, sizeof(struct snd_dm_fm_voice))) in snd_opl3_ioctl()
129 return snd_opl3_set_voice(opl3, &voice); in snd_opl3_ioctl()
398 if (note->voice >= ((opl3->fm_mode == SNDRV_DM_FM_MODE_OPL3) ? in snd_opl3_play_note()
403 if (note->voice < MAX_OPL2_VOICES) { in snd_opl3_play_note()
406 voice_offset = note->voice; in snd_opl3_play_note()
410 voice_offset = note->voice - MAX_OPL2_VOICES; in snd_opl3_play_note()
435 static int snd_opl3_set_voice(struct snd_opl3 * opl3, struct snd_dm_fm_voice * voice) in snd_opl3_set_voice() argument
445 if (voice->op > 1) in snd_opl3_set_voice()
[all …]
H A Dopl3_drums.c33 int voice; member
44 int voice; member
70 unsigned char op_offset = snd_opl3_regmap[data->voice][data->op]; in snd_opl3_drum_voice_set()
71 unsigned char voice_offset = data->voice; in snd_opl3_drum_voice_set()
105 unsigned char voice_offset = data->voice; in snd_opl3_drum_note_set()
124 unsigned char op_offset = snd_opl3_regmap[data->voice][data->op]; in snd_opl3_drum_vol_set()
125 unsigned char voice_offset = data->voice; in snd_opl3_drum_vol_set()
/linux/sound/pci/emu10k1/
H A Dirq.c45 int voice; in snd_emu10k1_interrupt() local
51 for (voice = 0; voice <= voice_max; voice++) { in snd_emu10k1_interrupt()
52 if (voice == 0x20) in snd_emu10k1_interrupt()
57 snd_emu10k1_voice_intr_ack(emu, voice); in snd_emu10k1_interrupt()
59 snd_emu10k1_voice_intr_disable(emu, voice); in snd_emu10k1_interrupt()
67 for (voice = 0; voice <= voice_max; voice++) { in snd_emu10k1_interrupt()
68 if (voice == 0x20) in snd_emu10k1_interrupt()
73 snd_emu10k1_voice_half_loop_intr_ack(emu, voice); in snd_emu10k1_interrupt()
75 snd_emu10k1_voice_half_loop_intr_disable(emu, voice); in snd_emu10k1_interrupt()
H A Demu10k1_callback.c20 int voice; member
91 if (best[i].voice >= 0) { in snd_emu10k1_synth_get_voice()
93 vp = &emu->voices[best[i].voice]; in snd_emu10k1_synth_get_voice()
219 best[i].voice = -1; in lookup_voices()
265 bp->voice = i; in lookup_voices()
287 if (best[i].voice >= 0) { in get_voice()
288 vp = &emu->voices[best[i].voice]; in get_voice()
H A DMakefile8 irq.o memory.o voice.o emumpu401.o emupcm.o io.o \
/linux/sound/synth/emux/
H A Demux_oss.c325 int voice; in emuspec_control() local
331 voice = event[3]; in emuspec_control()
332 if (voice < 0 || voice >= port->chset.max_channels) in emuspec_control()
335 chan = &port->chset.channels[voice]; in emuspec_control()
363 fake_event(emu, port, voice, MIDI_CTL_ALL_NOTES_OFF, 0, atomic, hop); in emuspec_control()
366 fake_event(emu, port, voice, MIDI_CTL_ALL_SOUNDS_OFF, 0, atomic, hop); in emuspec_control()
420 int voice; in gusspec_control() local
429 voice = event[3]; in gusspec_control()
430 if (voice < 0 || voice >= port->chset.max_channels) in gusspec_control()
433 chan = &port->chset.channels[voice]; in gusspec_control()
/linux/sound/isa/gus/
H A Dgus_irq.c41 unsigned char voice_status, voice; in snd_gus_interrupt() local
46 voice = voice_status & 0x1f; in snd_gus_interrupt()
47 _current_ = 1 << voice; in snd_gus_interrupt()
54 voice, voice_status, inb(GUSP(gus, GF1PAGE))); in snd_gus_interrupt()
56 pvoice = &gus->gf1.voices[voice]; in snd_gus_interrupt()
/linux/sound/pci/trident/
H A Dtrident.h316 void (*private_free)(struct snd_trident_voice *voice);
331 struct snd_trident_voice *voice; /* active voice */ member
411 void snd_trident_free_voice(struct snd_trident * trident, struct snd_trident_voice *voice);
412 void snd_trident_start_voice(struct snd_trident * trident, unsigned int voice);
413 void snd_trident_stop_voice(struct snd_trident * trident, unsigned int voice);
414 void snd_trident_write_voice_regs(struct snd_trident * trident, struct snd_trident_voice *voice);
/linux/include/uapi/sound/
H A Dasound_fm.h29 unsigned char voice; /* FM voice (0 to 17) */ member
57 unsigned char voice; /* 0-17 voice channel */ member
/linux/sound/isa/sb/
H A Demu8000_callback.c158 int voice; in get_voice() member
166 best[i].voice = -1; in get_voice()
202 bp->voice = i; in get_voice()
207 if (best[i].voice >= 0) { in get_voice()
208 vp = &emu->voices[best[i].voice]; in get_voice()
209 vp->ch = best[i].voice; in get_voice()
/linux/drivers/isdn/
H A DKconfig11 is a fully digital telephone service that can be used for voice and
16 voice calls (eg. turning your PC into a software answering machine
/linux/drivers/accessibility/speakup/
H A Dspeakup_ltlk.c64 __ATTR(voice, 0644, spk_var_show, spk_var_store);
179 module_param_named(voice, vars[VOICE_ID].u.n.default_val, int, 0444);
194 MODULE_PARM_DESC(voice, "Set the voice variable on load.");
H A Dspeakup_apollo.c66 __ATTR(voice, 0644, spk_var_show, spk_var_store);
212 module_param_named(voice, vars[VOICE_ID].u.n.default_val, int, 0444);
223 MODULE_PARM_DESC(voice, "Set the voice variable on load.");
H A Dspeakup_decext.c79 __ATTR(voice, 0644, spk_var_show, spk_var_store);
242 module_param_named(voice, vars[VOICE_ID].u.n.default_val, int, 0444);
254 MODULE_PARM_DESC(voice, "Set the voice variable on load.");
H A Dspeakup_dectlk.c80 __ATTR(voice, 0644, spk_var_show, spk_var_store);
322 module_param_named(voice, vars[VOICE_ID].u.n.default_val, int, 0444);
335 MODULE_PARM_DESC(voice, "Set the voice variable on load.");
H A Dspeakup_decpc.c177 __ATTR(voice, 0644, spk_var_show, spk_var_store);
502 module_param_named(voice, vars[VOICE_ID].u.n.default_val, int, 0444);
514 MODULE_PARM_DESC(voice, "Set the voice variable on load.");
H A Dspeakup_dtlk.c82 __ATTR(voice, 0644, spk_var_show, spk_var_store);
394 module_param_named(voice, vars[VOICE_ID].u.n.default_val, int, 0444);
406 MODULE_PARM_DESC(voice, "Set the voice variable on load.");
H A Dspeakup_soft.c82 __ATTR(voice, 0644, spk_var_show, spk_var_store);
470 module_param_named(voice, vars[VOICE_ID].u.n.default_val, int, 0444);
483 MODULE_PARM_DESC(voice, "Sets the voice used by the synthesizer.");
/linux/include/sound/
H A Demux_synth.h226 void snd_emux_lock_voice(struct snd_emux *emu, int voice);
227 void snd_emux_unlock_voice(struct snd_emux *emu, int voice);
/linux/net/bluetooth/
H A Dsco.c914 struct bt_voice voice; in sco_sock_setsockopt() local
949 voice.setting = sco_pi(sk)->setting; in sco_sock_setsockopt()
951 err = copy_safe_from_sockptr(&voice, sizeof(voice), optval, in sco_sock_setsockopt()
956 sco_pi(sk)->setting = voice.setting; in sco_sock_setsockopt()
1113 struct bt_voice voice; in sco_sock_getsockopt() local
1147 voice.setting = sco_pi(sk)->setting; in sco_sock_getsockopt()
1149 len = min_t(unsigned int, len, sizeof(voice)); in sco_sock_getsockopt()
1150 if (copy_to_user(optval, (char *)&voice, len)) in sco_sock_getsockopt()
/linux/Documentation/ABI/stable/
H A Dsysfs-driver-speakup290 and most others, this causes the pitch of the voice to rise
298 and most others, this returns the pitch of the voice
381 What: /sys/accessibility/speakup/<synth-name>/voice
384 Description: Gets or sets the voice used by the synthesizer if the
385 synthesizer can speak in more than one voice. The range for the
387 voices, this parameter will not set the voice when the espeakup

12