Home
last modified time | relevance | path

Searched full:voice (Results 1 – 25 of 232) sorted by relevance

12345678910

/linux/include/uapi/linux/
H A Dultrasound.h25 * byte 3 - Voice number (0-31)
30 * Each command affects one voice defined in byte 3.
34 * _GUS_VOICEON - Starts voice (P1=voice mode)
35 * _GUS_VOICEOFF - Stops voice (no parameters)
36 * _GUS_VOICEFADE - Stops the voice smoothly.
37 * _GUS_VOICEMODE - Alters the voice mode, don't start or stop voice (P1=voice mode)
38 * _GUS_VOICEBALA - Sets voice balance (P1, 0=left, 7=middle and 15=right, default 7)
39 * _GUS_VOICEFREQ - Sets voice (sample) playback frequency (P1=Hz)
40 * _GUS_VOICEVOL - Sets voice volume (P1=volume, 0xfff=max, 0xeff=half, 0x000=off)
41 * _GUS_VOICEVOL2 - Sets voice volume (P1=volume, 0xfff=max, 0xeff=half, 0x000=off)
[all …]
/linux/sound/pci/
H A Dsis7019.c68 struct voice { struct
82 struct voice *timing; argument
112 /* voice_lock protects allocation/freeing of the voice descriptions
116 struct voice voices[64];
117 struct voice capture_voice;
187 static void sis_update_sso(struct voice *voice, u16 period) in sis_update_sso() argument
189 void __iomem *base = voice->ctrl_base; in sis_update_sso()
191 voice->sso += period; in sis_update_sso()
192 if (voice->sso >= voice->buffer_size) in sis_update_sso()
193 voice->sso -= voice->buffer_size; in sis_update_sso()
[all …]
/linux/sound/drivers/opl3/
H A Dopl3_midi.c117 static void debug_alloc(struct snd_opl3 *opl3, char *s, int voice) in debug_alloc() argument
127 opl3->use_time, s, voice, buf); in debug_alloc()
132 * Get a FM voice (channel) to play a note on.
136 int chan_4op_1; /* first voice for 4op instrument */ in opl3_get_voice()
137 int chan_4op_2; /* second voice for 4op instrument */ in opl3_get_voice()
155 int voice; in opl3_get_voice() member
161 best[i].voice = -1; in opl3_get_voice()
179 /* allocate 4op voice */ in opl3_get_voice()
185 /* kill one voice, CHEAP */ in opl3_get_voice()
196 /* allocate 2op voice */ in opl3_get_voice()
[all …]
H A Dopl3_synth.c25 * with another voice to a 4 OP voice. For example voice 0
26 * can be connected with voice 3. The operators of voice 3 are
27 * used as operators 3 and 4 of the new 4 OP voice.
28 * In this case the 2 OP voice number 0 is the 'first half' and
29 * voice 3 is the second.
61 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()
359 /* Get register array side and offset of voice */ in snd_opl3_reset()
[all …]
H A Dopl3_drums.c33 int voice; member
44 int voice; member
65 * set drum voice characteristics
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()
100 * Set drum voice pitch
105 unsigned char voice_offset = data->voice; in snd_opl3_drum_note_set()
118 * Set drum voice volume and position
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()
[all …]
/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));
274 void snd_trident_start_voice(struct snd_trident * trident, unsigned int voice)
276 Description: Start a voice, any channel 0 thru 63.
280 Parameters : voice - Voice numbe
287 snd_trident_start_voice(struct snd_trident * trident,unsigned int voice) snd_trident_start_voice() argument
311 snd_trident_stop_voice(struct snd_trident * trident,unsigned int voice) snd_trident_stop_voice() argument
432 snd_trident_write_voice_regs(struct snd_trident * trident,struct snd_trident_voice * voice) snd_trident_write_voice_regs() argument
515 snd_trident_write_cso_reg(struct snd_trident * trident,struct snd_trident_voice * voice,unsigned int CSO) snd_trident_write_cso_reg() argument
541 snd_trident_write_eso_reg(struct snd_trident * trident,struct snd_trident_voice * voice,unsigned int ESO) snd_trident_write_eso_reg() argument
567 snd_trident_write_vol_reg(struct snd_trident * trident,struct snd_trident_voice * voice,unsigned int Vol) snd_trident_write_vol_reg() argument
598 snd_trident_write_pan_reg(struct snd_trident * trident,struct snd_trident_voice * voice,unsigned int Pan) snd_trident_write_pan_reg() argument
620 snd_trident_write_rvol_reg(struct snd_trident * trident,struct snd_trident_voice * voice,unsigned int RVol) snd_trident_write_rvol_reg() argument
644 snd_trident_write_cvol_reg(struct snd_trident * trident,struct snd_trident_voice * voice,unsigned int CVol) snd_trident_write_cvol_reg() argument
787 struct snd_trident_voice *voice = runtime->private_data; snd_trident_allocate_pcm_mem() local
818 struct snd_trident_voice *voice = runtime->private_data; snd_trident_allocate_evoice() local
879 struct snd_trident_voice *voice = runtime->private_data; snd_trident_hw_free() local
910 struct snd_trident_voice *voice = runtime->private_data; snd_trident_playback_prepare() local
1013 struct snd_trident_voice *voice = runtime->private_data; snd_trident_capture_prepare() local
1122 struct snd_trident_voice *voice = runtime->private_data; snd_trident_si7018_capture_hw_free() local
1147 struct snd_trident_voice *voice = runtime->private_data; snd_trident_si7018_capture_prepare() local
1218 struct snd_trident_voice *voice = runtime->private_data; snd_trident_foldback_prepare() local
1361 struct snd_trident_voice *voice = runtime->private_data; snd_trident_spdif_prepare() local
1503 struct snd_trident_voice *voice, *evoice; snd_trident_trigger() local
1599 struct snd_trident_voice *voice = runtime->private_data; snd_trident_playback_pointer() local
1638 struct snd_trident_voice *voice = runtime->private_data; snd_trident_capture_pointer() local
1668 struct snd_trident_voice *voice = runtime->private_data; snd_trident_spdif_pointer() local
1800 struct snd_trident_voice *voice = runtime->private_data; snd_trident_pcm_free_substream() local
1813 struct snd_trident_voice *voice; snd_trident_playback_open() local
1841 struct snd_trident_voice *voice = runtime->private_data; snd_trident_playback_close() local
1861 struct snd_trident_voice *voice; snd_trident_spdif_open() local
1940 struct snd_trident_voice *voice; snd_trident_capture_open() local
1984 struct snd_trident_voice *voice; snd_trident_foldback_open() local
2011 struct snd_trident_voice *voice; snd_trident_foldback_close() local
2871 snd_trident_pcm_mixer_build(struct snd_trident * trident,struct snd_trident_voice * voice,struct snd_pcm_substream * substream) snd_trident_pcm_mixer_build() argument
2888 snd_trident_pcm_mixer_free(struct snd_trident * trident,struct snd_trident_voice * voice,struct snd_pcm_substream * substream) snd_trident_pcm_mixer_free() argument
3502 struct snd_trident_voice *voice; snd_trident_create() local
3655 struct snd_trident_voice *voice; snd_trident_interrupt() local
3793 snd_trident_free_voice(struct snd_trident * trident,struct snd_trident_voice * voice) snd_trident_free_voice() argument
[all...]
/linux/sound/drivers/opl4/
H A Dopl4_synth.c313 void (*func)(struct snd_opl4 *opl4, struct opl4_voice *voice)) in snd_opl4_do_for_note() argument
317 struct opl4_voice *voice; in snd_opl4_do_for_note() local
321 voice = &opl4->voices[i]; in snd_opl4_do_for_note()
322 if (voice->chan == chan && voice->note == note) { in snd_opl4_do_for_note()
323 func(opl4, voice); in snd_opl4_do_for_note()
334 void (*func)(struct snd_opl4 *opl4, struct opl4_voice *voice)) in snd_opl4_do_for_channel() argument
338 struct opl4_voice *voice; in snd_opl4_do_for_channel() local
342 voice = &opl4->voices[i]; in snd_opl4_do_for_channel()
343 if (voice->chan == chan) { in snd_opl4_do_for_channel()
344 func(opl4, voice); in snd_opl4_do_for_channel()
[all …]
/linux/sound/isa/gus/
H A Dgus_reset.c39 …_default_interrupt_handler_wave_and_volume(struct snd_gus_card * gus, struct snd_gus_voice * voice) in snd_gf1_default_interrupt_handler_wave_and_volume() argument
66 struct snd_gus_voice *voice; in snd_gf1_set_default_handlers() local
68 voice = &gus->gf1.voices[what & 0xffff]; in snd_gf1_set_default_handlers()
69 voice->handler_wave = in snd_gf1_set_default_handlers()
70 voice->handler_volume = snd_gf1_default_interrupt_handler_wave_and_volume; in snd_gf1_set_default_handlers()
71 voice->handler_effect = NULL; in snd_gf1_set_default_handlers()
72 voice->volume_change = NULL; in snd_gf1_set_default_handlers()
112 void snd_gf1_smart_stop_voice(struct snd_gus_card * gus, unsigned short voice) in snd_gf1_smart_stop_voice() argument
117 snd_gf1_select_voice(gus, voice); in snd_gf1_smart_stop_voice()
120 " -%i- smart stop voice - volume = 0x%x\n", in snd_gf1_smart_stop_voice()
[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()
53 "voice = %i, voice_status = 0x%x, voice_verify = %i\n", 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()
58 if (!(voice_status & 0x80)) { /* voice position IRQ */ in snd_gus_interrupt()
115 snd_iprintf(buffer, "voice lost = %u\n", gus->gf1.interrupt_stat_voice_lost); in snd_gus_irq_info_read()
118 snd_iprintf(buffer, "voice %i: wave = %u, volume = %u\n", in snd_gus_irq_info_read()
H A Dgus_pcm.c98 unsigned int voice; in snd_gf1_pcm_trigger_up() local
117 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up()
118 begin = pcmp->memory + voice * (pcmp->dma_size / runtime->channels); in snd_gf1_pcm_trigger_up()
122 pan = runtime->channels == 2 ? (!voice ? 1 : 14) : 8; in snd_gf1_pcm_trigger_up()
123 vol = !voice ? gus->gf1.pcm_volume_level_left : gus->gf1.pcm_volume_level_right; in snd_gf1_pcm_trigger_up()
125 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up()
143 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up()
144 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up()
146 snd_gf1_write8(gus, SNDRV_GF1_VB_MODE, 0x00); /* deactivate voice */ in snd_gf1_pcm_trigger_up()
153 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up()
[all …]
H A Dgus_io.c427 int voice, ctrl; in snd_gf1_print_voice_registers() local
429 voice = gus->gf1.active_voice; in snd_gf1_print_voice_registers()
431 " -%i- GF1 voice ctrl, ramp ctrl = 0x%x, 0x%x\n", in snd_gf1_print_voice_registers()
432 voice, ctrl = snd_gf1_i_read8(gus, 0), snd_gf1_i_read8(gus, 0x0d)); in snd_gf1_print_voice_registers()
435 voice, snd_gf1_i_read16(gus, 1)); in snd_gf1_print_voice_registers()
438 voice, snd_gf1_i_read_addr(gus, 2, ctrl & 4), in snd_gf1_print_voice_registers()
444 voice, snd_gf1_i_read8(gus, 7), snd_gf1_i_read8(gus, 8), in snd_gf1_print_voice_registers()
448 voice, snd_gf1_i_read16(gus, 9)); in snd_gf1_print_voice_registers()
451 voice, snd_gf1_i_read_addr(gus, 0x0a, ctrl & 4), in snd_gf1_print_voice_registers()
457 voice, mode); in snd_gf1_print_voice_registers()
[all …]
/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()
197 "WT SetReg: voice out of range\n"); in vortex_wt_SetReg()
205 /* Voice specific parameters */ in vortex_wt_SetReg()
310 /* Init Voice registers. */ in vortex_wt_init()
327 wt_voice_t *voice = &(vortex->wt_voice[wt]);
331 voice->parm0 &= 0xff00ffff;
332 voice->parm0 |= (vol[0] & 0xff) << 0x10;
[all …]
H A Dau88x0_wt.h27 /* WT Voice registers */
28 #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 Dvoice.c8 * Routines for control of EMU10K1 chips - voice manager
16 /* Previously the voice allocator started at 0 every time. The new voice
17 * allocator uses a round robin scheme. The next free voice is tracked in
27 struct snd_emu10k1_voice *voice; in voice_alloc() local
43 voice = &emu->voices[i + k]; in voice_alloc()
44 if (voice->use) { in voice_alloc()
51 voice = &emu->voices[i + k]; in voice_alloc()
52 voice->use = type; in voice_alloc()
53 voice->epcm = epcm; in voice_alloc()
54 /* dev_dbg(emu->card->dev, "allocated voice %d\n", i + k); */ in voice_alloc()
[all …]
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.c12 /* voice status */
20 int voice; member
73 * get more voice for pcm
75 * terminate most inactive voice and give it as a pcm voice.
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()
115 * turn off the voice (not terminated)
131 * terminate the voice
157 * release the voice to system
206 * look up voice table - get the best voice in order of preference
[all …]
/linux/drivers/acpi/
H A Dacpi_pnp.c152 {"AKY1021"}, /* Rockwell 56K ACF II Fax+Data+Voice Modem */
160 {"CTL3001"}, /* Creative Labs Phone Blaster 28.8 DSVD PnP Voice */
161 {"CTL3011"}, /* Creative Labs Modem Blaster 28.8 DSVD PnP Voice */
169 {"FUJ0209"}, /* Fujitsu Fax Voice 33600 PNP-I5 R Plug & Play */
171 {"GVC0303"}, /* Archtek SmartLink Modem 3334BRV 33.6K Data Fax Voice */
172 {"HAY0001"}, /* Hayes Optima 288 V.34-V.FC + FAX + Voice Plug & Play */
173 {"HAY000C"}, /* Hayes Optima 336 V.34 + FAX + Voice PnP */
174 {"HAY000D"}, /* Hayes Optima 336B V.34 + FAX + Voice PnP */
179 {"HAYF001"}, /* Hayes Optima 288 V.34 + FAX + Voice, Plug & Play */
180 {"IBM0033"}, /* IBM Thinkpad 701 Internal Modem Voice */
[all …]
/linux/include/sound/
H A Dopl3.h21 * A 4 OP voice can be created by setting the corresponding
25 * first voice on the right side to the 4 OP mode. The fourth
26 * voice is made inaccessible.
28 * If a voice is set to the 2 OP mode, it works like 2 OP modes
29 * of the original YM3812 (AdLib). In addition the voice can
34 * register of the voice (0xC0-0xC8). In 4 OP voices these bits are
35 * in the second half of the voice.
131 * voice number to get the register number.
149 * is selected. These bits controls connecting the voice
151 * defined in the second half of the voice (add 3 to the
[all …]
H A Dgus.h75 /* voice specific registers */
250 void (*handler_wave) (struct snd_gus_card * gus, struct snd_gus_voice * voice);
251 void (*handler_volume) (struct snd_gus_card * gus, struct snd_gus_voice * voice);
252 void (*handler_effect) (struct snd_gus_card * gus, struct snd_gus_voice * voice);
277 void (*private_free)(struct snd_gus_voice *voice);
313 unsigned char active_voice; /* selected voice (GF1PAGE register) */
436 static inline void snd_gf1_select_voice(struct snd_gus_card * gus, int voice) in snd_gf1_select_voice() argument
441 if (voice != gus->gf1.active_voice) { in snd_gf1_select_voice()
442 gus->gf1.active_voice = voice; in snd_gf1_select_voice()
443 outb(voice, GUSP(gus, GF1PAGE)); in snd_gf1_select_voice()
[all …]
/linux/sound/soc/codecs/
H A Dwm8753.c16 * voice.
18 * Please note that the voice PCM can be connected directly to a Bluetooth
184 static const char *wm8753_adc_filter[] = {"HiFi", "Voice"};
295 SOC_DOUBLE_R_TLV("Voice Playback Volume", WM8753_LOUTM2, WM8753_ROUTM2, 0, 7,
306 SOC_SINGLE_TLV("Mono Voice Playback Volume", WM8753_MOUTM2, 0, 7, 1,
319 SOC_SINGLE_TLV("Voice Sidetone Capture Volume", WM8753_RECMIX2, 0, 7, 1,
370 SOC_DAPM_SINGLE("Voice Playback Switch", WM8753_LOUTM2, 8, 1, 0),
378 SOC_DAPM_SINGLE("Voice Playback Switch", WM8753_ROUTM2, 8, 1, 0),
388 SOC_DAPM_SINGLE("Voice Playback Switch", WM8753_MOUTM2, 3, 1, 0),
411 SOC_DAPM_SINGLE("Voice Capture Switch", WM8753_RECMIX2, 3, 1, 0),
[all …]
H A Dwm9713.c10 * o Support for AC97 Codec, Voice DAC and Aux DAC
159 SOC_SINGLE_TLV("Voice Playback Headphone Volume", AC97_PCM, 12, 7, 1,
161 SOC_SINGLE("Voice Playback Master Volume", AC97_PCM, 8, 7, 1),
162 SOC_SINGLE("Voice Playback Mono Volume", AC97_PCM, 4, 7, 1),
167 SOC_SINGLE_TLV("Speaker Mixer Voice Playback Volume", AC97_PCM, 8, 7, 1,
172 SOC_SINGLE_TLV("Mono Mixer Voice Playback Volume", AC97_PCM, 4, 7, 1,
200 /* Gracefully shut down the voice interface. */ in wm9713_voice_shutdown()
298 WM9713_HP_MIXER_CTRL("Voice Playback Switch", HPL_MIXER, 4),
308 WM9713_HP_MIXER_CTRL("Voice Playback Switch", HPR_MIXER, 4),
326 SOC_DAPM_SINGLE("Voice Playback Switch", AC97_PCM, 11, 1, 1),
[all …]
/linux/Documentation/devicetree/bindings/soc/qcom/
H A Dqcom,apr-services.yaml24 5 = Voice Stream Manager Service.
25 6 = Voice processing manager.
28 9 = Multimode voice manager.
29 10 = Core voice stream.
30 11 = Core voice processor.
37 4 = Voice processing manager.
/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/drivers/misc/echo/
H A Doslec.h34 * oslec_create - Create a voice echo canceller context.
42 * oslec_free - Free a voice echo canceller context.
48 * oslec_flush - Flush (reinitialise) a voice echo canceller context.
54 * oslec_adaption_mode - set the adaption mode of a voice echo canceller context.
63 * oslec_update: Process a sample through a voice echo canceller.
/linux/sound/pci/ymfpci/
H A Dymfpci_main.c197 * Playback voice management
204 struct snd_ymfpci_voice *voice, *voice2; in voice_alloc() local
209 voice = &chip->voices[idx]; in voice_alloc()
211 if (voice->use || (voice2 && voice2->use)) in voice_alloc()
213 voice->use = 1; in voice_alloc()
218 voice->pcm = 1; in voice_alloc()
223 voice->synth = 1; in voice_alloc()
226 voice->midi = 1; in voice_alloc()
232 *rvoice = voice; in voice_alloc()
255 /* TODO: synth/midi voice deallocation */ in snd_ymfpci_voice_alloc()
[all …]

12345678910