Home
last modified time | relevance | path

Searched refs:voice (Results 1 – 25 of 36) 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/trident/
H A Dtrident_main.c35 struct snd_trident_voice * voice,
38 struct snd_trident_voice * voice,
53 static void snd_trident_print_voice_regs(struct snd_trident *trident, int voice)
57 dev_dbg(trident->card->dev, "Trident voice %i:\n", voice);
58 outb(voice, TRID_REG(trident, T4D_LFO_GC_CIR));
281 void snd_trident_start_voice(struct snd_trident * trident, unsigned int voice) in snd_trident_start_voice() argument
283 unsigned int mask = 1 << (voice & 0x1f); in snd_trident_start_voice()
284 unsigned int reg = (voice & 0x20) ? T4D_START_B : T4D_START_A; in snd_trident_start_voice()
305 void snd_trident_stop_voice(struct snd_trident * trident, unsigned int voice) in snd_trident_stop_voice() argument
307 unsigned int mask = 1 << (voice & 0x1f); in snd_trident_stop_voice()
[all …]
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/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/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/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 Demu10k1x.c195 struct emu10k1x_voice *voice; member
336 static void snd_emu10k1x_pcm_interrupt(struct emu10k1x *emu, struct emu10k1x_voice *voice) in snd_emu10k1x_pcm_interrupt() argument
340 epcm = voice->epcm; in snd_emu10k1x_pcm_interrupt()
397 if (! epcm->voice) { in snd_emu10k1x_pcm_hw_params()
398 epcm->voice = &epcm->emu->voices[substream->pcm->device]; in snd_emu10k1x_pcm_hw_params()
399 epcm->voice->use = 1; in snd_emu10k1x_pcm_hw_params()
400 epcm->voice->epcm = epcm; in snd_emu10k1x_pcm_hw_params()
417 if (epcm->voice) { in snd_emu10k1x_pcm_hw_free()
418 epcm->voice->use = 0; in snd_emu10k1x_pcm_hw_free()
419 epcm->voice->epcm = NULL; in snd_emu10k1x_pcm_hw_free()
[all …]
H A Demupcm.c21 struct snd_emu10k1_voice *voice) in snd_emu10k1_pcm_interrupt() argument
25 epcm = voice->epcm; in snd_emu10k1_pcm_interrupt()
269 int voice; in snd_emu10k1_pcm_init_voice() local
271 voice = evoice->number; in snd_emu10k1_pcm_init_voice()
275 snd_emu10k1_ptr_write_multiple(emu, voice, in snd_emu10k1_pcm_init_voice()
297 snd_emu10k1_ptr_write_multiple(emu, voice, in snd_emu10k1_pcm_init_voice()
305 snd_emu10k1_ptr_write(emu, A_CSBA + i, voice, (amh << 16) | aml); in snd_emu10k1_pcm_init_voice()
308 snd_emu10k1_ptr_write(emu, FXRT, voice, in snd_emu10k1_pcm_init_voice()
312 emu->voices[voice].dirty = 1; in snd_emu10k1_pcm_init_voice()
557 unsigned voice, in snd_emu10k1_playback_fill_cache() argument
[all …]
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()
/linux/sound/isa/gus/
H A Dgus_pcm.c97 unsigned int voice; in snd_gf1_pcm_trigger_up() local
114 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up()
115 begin = pcmp->memory + voice * (pcmp->dma_size / runtime->channels); in snd_gf1_pcm_trigger_up()
119 pan = runtime->channels == 2 ? (!voice ? 1 : 14) : 8; in snd_gf1_pcm_trigger_up()
120 vol = !voice ? gus->gf1.pcm_volume_level_left : gus->gf1.pcm_volume_level_right; in snd_gf1_pcm_trigger_up()
122 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up()
140 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up()
141 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up()
150 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up()
151 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up()
[all …]
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/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/pci/ymfpci/
H A Dymfpci_main.c197 struct snd_ymfpci_voice *voice, *voice2; in voice_alloc() local
202 voice = &chip->voices[idx]; in voice_alloc()
204 if (voice->use || (voice2 && voice2->use)) in voice_alloc()
206 voice->use = 1; in voice_alloc()
211 voice->pcm = 1; in voice_alloc()
216 voice->synth = 1; in voice_alloc()
219 voice->midi = 1; in voice_alloc()
225 *rvoice = voice; in voice_alloc()
273 static void snd_ymfpci_pcm_interrupt(struct snd_ymfpci *chip, struct snd_ymfpci_voice *voice) in snd_ymfpci_pcm_interrupt() argument
278 ypcm = voice->ypcm; in snd_ymfpci_pcm_interrupt()
[all …]
/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()
H A Demu8000_pcm.c436 int voice, unsigned long pos, in emu8k_pcm_copy() argument
442 pos = (pos << 1) + rec->loop_start[voice]; in emu8k_pcm_copy()
450 int voice, unsigned long pos, unsigned long count) in emu8k_pcm_silence() argument
455 pos = (pos << 1) + rec->loop_start[voice]; in emu8k_pcm_silence()
490 int voice, unsigned long pos, in emu8k_pcm_copy() argument
503 int voice, unsigned long pos, unsigned long count) in emu8k_pcm_silence() argument
/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.");
/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()

12