Searched refs:voices (Results 1 - 25 of 42) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/emu10k1/
H A Dvoice.c39 * hardware requires stereo interleaved voices be aligned to an even/odd
41 * voices does not cross the 32 voice boundary. This simplifies the
43 * (set|clear)_loop_stop registers. Otherwise (for example) the voices would
60 /* stereo voices must be even/odd */
68 voice = &emu->voices[(i+k) % NUM_G];
87 voice = &emu->voices[(first_voice + i) % NUM_G];
105 *rvoice = &emu->voices[first_voice];
128 struct snd_emu10k1_voice *pvoice = &emu->voices[result];
H A Demupcm.c77 ptr = snd_emu10k1_ptr_read(emu, CCCA, epcm->voices[0]->number) & 0x00ffffff;
85 static int snd_emu10k1_pcm_channel_alloc(struct snd_emu10k1_pcm * epcm, int voices) argument
89 if (epcm->voices[1] != NULL && voices < 2) {
90 snd_emu10k1_voice_free(epcm->emu, epcm->voices[1]);
91 epcm->voices[1] = NULL;
93 for (i = 0; i < voices; i++) {
94 if (epcm->voices[i] == NULL)
97 if (i == voices)
100 for (i = 0; i < ARRAY_SIZE(epcm->voices);
[all...]
H A Demumixer.c864 if (mix->epcm->voices[0] && mix->epcm->voices[1]) {
865 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number,
867 update_emu10k1_fxrt(emu, mix->epcm->voices[1]->number,
869 } else if (mix->epcm->voices[0]) {
870 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number,
935 if (mix->epcm->voices[0] && mix->epcm->voices[1]) {
936 update_emu10k1_send_volume(emu, mix->epcm->voices[0]->number,
938 update_emu10k1_send_volume(emu, mix->epcm->voices[
[all...]
H A Demu10k1_callback.c101 lookup_voices(emu, hw, best, 1); /* no OFF voices */
105 vp = &emu->voices[best[i].voice];
175 snd_emu10k1_voice_free(hw, &hw->voices[vp->ch]);
234 vp = &emu->voices[i];
291 vp = &emu->voices[best[i].voice];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/drivers/opl3/
H A Dopl3_seq.c66 opl3->voices[idx].state = SNDRV_OPL3_ST_OFF;
67 opl3->voices[idx].time = 0;
68 opl3->voices[idx].keyon_reg = 0x00;
109 opl3->voices[6].state = opl3->voices[7].state =
110 opl3->voices[8].state = SNDRV_OPL3_ST_NOT_AVAIL;
180 int voices, opl_ver; local
182 voices = (opl3->hardware < OPL3_HW_OPL3) ?
209 16, voices,
H A Dopl3_midi.c130 printk("%c", *(str + opl3->voices[i].state + 1));
170 vp = &opl3->voices[i];
174 drum voices or by bounded 4op voices) */
193 vp2 = &opl3->voices[i + 3];
195 /* kill two voices, EXPENSIVE */
247 struct snd_opl3_voice *vp = &opl3->voices[i];
326 /* in SYNTH mode, application takes care of voices */
383 /* in SYNTH mode, application takes care of voices */
393 /* Left register block for voices
[all...]
H A Dopl3_oss.c80 int voices, opl_ver; local
82 voices = (opl3->hardware < OPL3_HW_OPL3) ?
84 opl3->oss_chset = snd_midi_channel_alloc_set(voices);
105 voices, voices,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/sb/
H A Demu8000_pcm.c63 int voices; member in struct:snd_emu8k_pcm
82 /* reserve up to 2 voices for playback */
87 /* reserve 28 voices for loading */
394 for (ch = 0; ch < rec->voices; ch++)
400 for (ch = 0; ch < rec->voices; ch++)
456 count /= rec->voices;
457 for (i = 0; i < rec->voices; i++) {
490 if (voice == -1 && rec->voices == 1)
521 if (rec->voices > 1)
530 if (rec->voices >
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/gus/
H A Dgus_io.c317 unsigned short voices; local
325 voices = gus->gf1.active_voices;
326 if (voices > 32)
327 voices = 32;
328 if (voices < 14)
329 voices = 14;
331 voices = 32;
332 gus->gf1.active_voices = voices;
334 gus->gf1.enh_mode ? 44100 : voices_tbl[voices - 14];
336 snd_gf1_i_write8(gus, SNDRV_GF1_GB_ACTIVE_VOICES, 0xc0 | (voices
[all...]
H A Dgus_irq.c66 pvoice = &gus->gf1.voices[voice];
123 pvoice = &gus->gf1.voices[idx];
H A Dgus_synth.c43 voice = &gus->gf1.voices[idx];
56 if (info->voices > 32)
63 for (idx = 0; idx < info->voices; idx++) {
144 pvoice = &gus->gf1.voices[idx];
H A Dgus_pcm.c49 unsigned int voices; member in struct:gus_pcm_private
134 for (voice = 0; voice < pcmp->voices; voice++) {
161 for (voice = 0; voice < pcmp->voices; voice++) {
171 for (voice = 0; voice < pcmp->voices; voice++) {
222 for (idx = 0; idx < pcmp->voices; idx++, end += step) {
232 for (idx = 0; idx < pcmp->voices; idx++) {
407 pcmp->voices = params_channels(hw_params);
416 if (pcmp->voices > 1 && pcmp->pvoices[1] == NULL) {
423 } else if (pcmp->voices == 1) {
752 pvoice = &gus->gf1.voices[id
[all...]
H A Dgus_main.c143 int voices,
207 if (voices < 14)
208 voices = 14;
209 if (voices > 32)
210 voices = 32;
218 gus->gf1.active_voices = voices;
139 snd_gus_create(struct snd_card *card, unsigned long port, int irq, int dma1, int dma2, int timer_dev, int voices, int pcm_channels, int effect, struct snd_gus_card **rgus) argument
H A Dgus_reset.c86 voice = &gus->gf1.voices[what & 0xffff];
127 * put selected GF1 voices to initial stage...
254 pvoice = &gus->gf1.voices[idx];
262 pvoice = &gus->gf1.voices[idx];
315 gus->gf1.voices[i].number = i;
376 snd_gf1_stop_voices(gus, 0, 31); /* stop all voices */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ymfpci/
H A Dymfpci_main.c238 voice = &chip->voices[idx];
239 voice2 = pair ? &chip->voices[idx+1] : NULL;
348 if (ypcm->voices[1])
349 bank = &ypcm->voices[1]->bank[next_bank];
395 if (ypcm->voices[0] == NULL) {
403 chip->ctrl_playback[ypcm->voices[0]->number + 1] = cpu_to_le32(ypcm->voices[0]->bank_addr);
404 if (ypcm->voices[1] != NULL && !ypcm->use_441_slot)
405 chip->ctrl_playback[ypcm->voices[1]->number + 1] = cpu_to_le32(ypcm->voices[
456 snd_ymfpci_pcm_voice_alloc(struct snd_ymfpci_pcm *ypcm, int voices) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/synth/emux/
H A Demux.c104 emu->voices = kcalloc(emu->max_voices, sizeof(struct snd_emux_voice),
106 if (emu->voices == NULL)
169 kfree(emu->voices);
H A Demux_synth.c128 vp = &emu->voices[i];
171 vp = &emu->voices[ch];
209 vp = &emu->voices[ch];
249 vp = &emu->voices[ch];
261 * Modulate the voices which belong to the channel
280 vp = &emu->voices[i];
288 * Modulate all the voices which belong to the port.
307 vp = &emu->voices[i];
375 vp = &emu->voices[i];
416 vp = &emu->voices[
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ice1712/
H A Dphase.c435 int voices = kcontrol->private_value >> 8; local
437 uinfo->count = voices;
446 int i, ofs, voices; local
448 voices = kcontrol->private_value >> 8;
450 for (i = 0; i < voices; i++)
458 int i, idx, ofs, voices; local
461 voices = kcontrol->private_value >> 8;
464 for (i = 0; i < voices; i++) {
492 int voices, ofs, i; local
494 voices
505 int change = 0, voices, ofs, i; local
[all...]
H A Daureon.c787 int voices = kcontrol->private_value >> 8; local
789 uinfo->count = voices;
798 int i, ofs, voices; local
800 voices = kcontrol->private_value >> 8;
802 for (i = 0; i < voices; i++)
810 int i, idx, ofs, voices; local
813 voices = kcontrol->private_value >> 8;
816 for (i = 0; i < voices; i++) {
844 int voices, ofs, i; local
846 voices
857 int change = 0, voices, ofs, i; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/drivers/opl4/
H A Dopl4_synth.c271 * Initializes all voices.
285 memset(opl4->voices, 0, sizeof(opl4->voices));
287 opl4->voices[i].number = i;
288 list_add_tail(&opl4->voices[i].list, &opl4->off_voices);
295 * Shuts down all voices.
305 opl4->voices[i].reg_misc & ~OPL4_KEY_ON_BIT);
310 * Executes the callback for all voices playing the specified note.
321 voice = &opl4->voices[i];
330 * Executes the callback for all voices o
488 int voices = 0, i; local
[all...]
H A Dopl4_local.h58 * Offsets to the register banks for voices. To get the
195 struct opl4_voice voices[OPL4_MAX_VOICES]; member in struct:snd_opl4
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/
H A Dhal2.c81 int voices; /* mono/stereo */ member in struct:hal2_codec
427 sample_size = 2 * hal2->dac.voices;
451 | (hal2->dac.voices << H2I_C1_DATAT_SHIFT));
461 sample_size = 2 * hal2->adc.voices;
482 | (hal2->adc.voices << H2I_C1_DATAT_SHIFT));
719 signed long timeout = 1000 * H2_BLOCK_SIZE * 2 * dac->voices *
1004 hal2->adc.voices = (val) ? 2 : 1;
1009 hal2->dac.voices = (val) ? 2 : 1;
1020 hal2->adc.voices = (val == 1) ? 1 : 2;
1025 hal2->dac.voices
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/sound/
H A Demux_synth.h79 #define SNDRV_EMUX_MAX_VOICES 64 /* max # of voices */
80 #define SNDRV_EMUX_MAX_MULTI_VOICES 16 /* max # of playable voices
97 int max_voices; /* Number of voices */
111 int num_voices; /* current number of voices */
113 struct snd_emux_voice *voices; /* Voices (EMU 'channel') */ member in struct:snd_emux
H A Dopl3.h15 * a bit mask defining which voices are used as 4 OP voices.
31 * even be left unconnected. This works with 4 OP voices also.
34 * register of the voice (0xC0-0xC8). In 4 OP voices these bits are
151 * Offsets to the register banks for voices. Just add to the
171 * to the stereo channels. For 4 OP voices this bit is
175 * For 4 OP voices the connection bit is used in the
285 unsigned char max_voices; /* max number of voices */
287 #define SNDRV_OPL3_MODE_SYNTH 0 /* OSS - voices allocated by application */
303 struct snd_opl3_voice voices[MAX_OPL3_VOICE member in struct:snd_opl3
[all...]
H A Dymfpci.h271 struct snd_ymfpci_voice *voices[2]; /* playback only */ member in struct:snd_ymfpci_pcm
327 struct snd_ymfpci_voice voices[64]; member in struct:snd_ymfpci

Completed in 127 milliseconds

12