/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/ |
H A D | 0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch | 6 Profiling shows a considerable performance win. See estimated number of voices: 17 Generating 10 notes, generated voices:20 37 Cpu loads(%) (sr: 48000 Hz, sp: 20.83 microsecond) and maximum voices 60 Cpu loads(%) (sr: 48000 Hz, sp: 20.83 microsecond) and maximum voices 83 Cpu loads(%) (sr: 48000 Hz, sp: 20.83 microsecond) and maximum voices 88 Stopping 20 voices...voices stopped. 99 fluidsynth: synth_one_block:all voices>: 107.000/113.180/214.000 109 Generating 10 notes, generated voices:20 129 Cpu loads(%) (sr: 48000 Hz, sp: 20.83 microsecond) and maximum voices 180 Stopping 20 voices...voices stopped. [all …]
|
/openbmc/linux/sound/drivers/opl4/ |
H A D | opl4_synth.c | 285 memset(opl4->voices, 0, sizeof(opl4->voices)); in snd_opl4_synth_reset() 287 opl4->voices[i].number = i; in snd_opl4_synth_reset() 321 voice = &opl4->voices[i]; in snd_opl4_do_for_note() 342 voice = &opl4->voices[i]; in snd_opl4_do_for_channel() 362 voice = &opl4->voices[i]; in snd_opl4_do_for_all() 488 int voices = 0, i; in snd_opl4_note_on() local 498 if (++voices >= 2) in snd_opl4_note_on() 505 for (i = 0; i < voices; i++) { in snd_opl4_note_on() 515 for (i = 0; i < voices; i++) { in snd_opl4_note_on() 525 for (i = 0; i < voices; i++) { in snd_opl4_note_on() [all …]
|
/openbmc/linux/sound/drivers/opl3/ |
H A D | opl3_seq.c | 54 opl3->voices[idx].state = SNDRV_OPL3_ST_OFF; in snd_opl3_synth_setup() 55 opl3->voices[idx].time = 0; in snd_opl3_synth_setup() 56 opl3->voices[idx].keyon_reg = 0x00; in snd_opl3_synth_setup() 101 opl3->voices[6].state = opl3->voices[7].state = in snd_opl3_synth_use() 102 opl3->voices[8].state = SNDRV_OPL3_ST_NOT_AVAIL; in snd_opl3_synth_use() 165 int voices, opl_ver; in snd_opl3_synth_create_port() local 167 voices = (opl3->hardware < OPL3_HW_OPL3) ? in snd_opl3_synth_create_port() 194 16, voices, in snd_opl3_synth_create_port()
|
H A D | opl3_midi.c | 156 vp = &opl3->voices[i]; in opl3_get_voice() 179 vp2 = &opl3->voices[i + 3]; in opl3_get_voice() 392 vp = &opl3->voices[voice]; in snd_opl3_note_on() 399 vp2 = &opl3->voices[voice + 3]; in snd_opl3_note_on() 567 vp2 = &opl3->voices[voice + 3]; in snd_opl3_note_on() 575 vp2 = &opl3->voices[voice + 3]; in snd_opl3_note_on() 615 vp = &opl3->voices[voice]; in snd_opl3_kill_voice() 638 vp2 = &opl3->voices[voice + 3]; in snd_opl3_kill_voice() 676 vp = &opl3->voices[voice]; in snd_opl3_note_off_unsafe() 736 vp = &opl3->voices[voice]; in snd_opl3_update_pitch() [all …]
|
H A D | opl3_oss.c | 51 int voices, opl_ver; in snd_opl3_oss_create_port() local 53 voices = (opl3->hardware < OPL3_HW_OPL3) ? in snd_opl3_oss_create_port() 55 opl3->oss_chset = snd_midi_channel_alloc_set(voices); in snd_opl3_oss_create_port() 76 voices, voices, in snd_opl3_oss_create_port()
|
/openbmc/linux/sound/pci/ymfpci/ |
H A D | ymfpci_main.c | 328 if (ypcm->voices[1]) in snd_ymfpci_pcm_interrupt() 453 if (ypcm->voices[1] != NULL && voices < 2) { in snd_ymfpci_pcm_voice_alloc() 455 ypcm->voices[1] = NULL; in snd_ymfpci_pcm_voice_alloc() 457 if (voices == 1 && ypcm->voices[0] != NULL) in snd_ymfpci_pcm_voice_alloc() 459 if (voices == 2 && ypcm->voices[0] != NULL && ypcm->voices[1] != NULL) in snd_ymfpci_pcm_voice_alloc() 461 if (voices > 1) { in snd_ymfpci_pcm_voice_alloc() 462 if (ypcm->voices[0] != NULL && ypcm->voices[1] == NULL) { in snd_ymfpci_pcm_voice_alloc() 472 if (voices > 1) { in snd_ymfpci_pcm_voice_alloc() 473 ypcm->voices[1] = &ypcm->chip->voices[ypcm->voices[0]->number + 1]; in snd_ymfpci_pcm_voice_alloc() 645 if (ypcm->voices[1]) { in snd_ymfpci_playback_hw_free() [all …]
|
/openbmc/linux/sound/isa/sb/ |
H A D | emu8000_pcm.c | 53 int voices; member 380 for (ch = 0; ch < rec->voices; ch++) in emu8k_pcm_trigger() 386 for (ch = 0; ch < rec->voices; ch++) in emu8k_pcm_trigger() 470 if (rec->voices > 1) \ 477 if (rec->voices > 1) { \ 552 for (ch = 0; ch < rec->voices; ch++) in emu8k_pcm_hw_free() 574 rec->voices = subs->runtime->channels; in emu8k_pcm_prepare() 576 if (rec->voices > 1) in emu8k_pcm_prepare() 578 if (rec->voices > 1) { in emu8k_pcm_prepare() 598 for (ch = 0; ch < rec->voices; ch++) { in emu8k_pcm_prepare() [all …]
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | voice.c | 43 voice = &emu->voices[i + k]; in voice_alloc() 51 voice = &emu->voices[i + k]; in voice_alloc() 58 *rvoice = &emu->voices[i]; in voice_alloc() 105 voice_free(emu, &emu->voices[result]); in snd_emu10k1_voice_alloc()
|
H A D | io.c | 603 void snd_emu10k1_voice_set_loop_stop_multiple(struct snd_emu10k1 *emu, u64 voices) in snd_emu10k1_voice_set_loop_stop_multiple() argument 609 outl(inl(emu->port + DATA) | (u32)voices, emu->port + DATA); in snd_emu10k1_voice_set_loop_stop_multiple() 611 outl(inl(emu->port + DATA) | (u32)(voices >> 32), emu->port + DATA); in snd_emu10k1_voice_set_loop_stop_multiple() 615 void snd_emu10k1_voice_clear_loop_stop_multiple(struct snd_emu10k1 *emu, u64 voices) in snd_emu10k1_voice_clear_loop_stop_multiple() argument 621 outl(inl(emu->port + DATA) & (u32)~voices, emu->port + DATA); in snd_emu10k1_voice_clear_loop_stop_multiple() 623 outl(inl(emu->port + DATA) & (u32)(~voices >> 32), emu->port + DATA); in snd_emu10k1_voice_clear_loop_stop_multiple() 627 int snd_emu10k1_voice_clear_loop_stop_multiple_atomic(struct snd_emu10k1 *emu, u64 voices) in snd_emu10k1_voice_clear_loop_stop_multiple_atomic() argument 640 soll &= (u32)~voices; in snd_emu10k1_voice_clear_loop_stop_multiple_atomic() 641 solh &= (u32)(~voices >> 32); in snd_emu10k1_voice_clear_loop_stop_multiple_atomic()
|
H A D | emupcm.c | 78 for (unsigned i = 0; i < ARRAY_SIZE(epcm->voices); i++) { in snd_emu10k1_pcm_free_voices() 79 if (epcm->voices[i]) { in snd_emu10k1_pcm_free_voices() 80 snd_emu10k1_voice_free(epcm->emu, epcm->voices[i]); in snd_emu10k1_pcm_free_voices() 81 epcm->voices[i] = NULL; in snd_emu10k1_pcm_free_voices() 95 epcm, &epcm->voices[0]); in snd_emu10k1_pcm_channel_alloc() 333 emu->voices[voice].dirty = 1; in snd_emu10k1_pcm_init_voice() 621 unsigned voice = epcm->voices[i]->number; in snd_emu10k1_playback_prepare_voices() 773 snd_emu10k1_playback_stop_voice(emu, epcm->voices[0]); in snd_emu10k1_playback_trigger() 900 int voice = epcm->voices[i]->number; in snd_emu10k1_efx_playback_voice_mask() 911 int voice = epcm->voices[i]->number; in snd_emu10k1_efx_playback_freeze_voices() [all …]
|
H A D | emumixer.c | 1514 if (change && mix->epcm && mix->epcm->voices[0]) { in snd_emu10k1_send_routing_put() 1515 if (!mix->epcm->voices[0]->last) { in snd_emu10k1_send_routing_put() 1516 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put() 1521 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put() 1581 if (change && mix->epcm && mix->epcm->voices[0]) { in snd_emu10k1_send_volume_put() 1582 if (!mix->epcm->voices[0]->last) { in snd_emu10k1_send_volume_put() 1646 if (change && mix->epcm && mix->epcm->voices[0]) { in snd_emu10k1_attn_put() 1647 if (!mix->epcm->voices[0]->last) { in snd_emu10k1_attn_put() 1717 if (mix->epcm->voices[ch]) { in snd_emu10k1_efx_send_routing_put() 1779 if (mix->epcm->voices[ch]) { in snd_emu10k1_efx_send_volume_put() [all …]
|
H A D | emu10k1_callback.c | 93 vp = &emu->voices[best[i].voice]; in snd_emu10k1_synth_get_voice() 170 snd_emu10k1_voice_free(hw, &hw->voices[vp->ch]); in free_voice() 229 vp = &emu->voices[i]; in lookup_voices() 288 vp = &emu->voices[best[i].voice]; in get_voice() 439 hw->voices[ch].dirty = 1; in start_voice()
|
H A D | irq.c | 50 pvoice = emu->voices; in snd_emu10k1_interrupt() 66 pvoice = emu->voices; in snd_emu10k1_interrupt()
|
/openbmc/linux/sound/synth/emux/ |
H A D | emux_synth.c | 119 vp = &emu->voices[i]; in snd_emux_note_on() 163 vp = &emu->voices[ch]; in snd_emux_note_off() 200 vp = &emu->voices[ch]; in snd_emux_timer_callback() 240 vp = &emu->voices[ch]; in snd_emux_key_press() 271 vp = &emu->voices[i]; in snd_emux_update_channel() 298 vp = &emu->voices[i]; in snd_emux_update_port() 372 vp = &emu->voices[i]; in terminate_note1() 414 vp = &emu->voices[i]; in snd_emux_terminate_all() 451 vp = &emu->voices[i]; in snd_emux_sounds_off_all() 479 vp = &emu->voices[i]; in exclusive_note_off() [all …]
|
H A D | emux.c | 89 emu->voices = kcalloc(emu->max_voices, sizeof(struct snd_emux_voice), in snd_emux_register() 91 if (emu->name == NULL || emu->voices == NULL) in snd_emux_register() 142 kfree(emu->voices); in snd_emux_free()
|
H A D | emux_proc.c | 50 if (emu->voices[0].state != SNDRV_EMUX_ST_OFF && emu->voices[0].ch >= 0) { in snd_emux_proc_info_read() 51 struct snd_emux_voice *vp = &emu->voices[0]; in snd_emux_proc_info_read()
|
/openbmc/linux/sound/pci/ice1712/ |
H A D | phase.c | 469 uinfo->count = voices; in wm_vol_info() 480 int i, ofs, voices; in wm_vol_get() local 482 voices = kcontrol->private_value >> 8; in wm_vol_get() 484 for (i = 0; i < voices; i++) in wm_vol_get() 495 int i, idx, ofs, voices; in wm_vol_put() local 498 voices = kcontrol->private_value >> 8; in wm_vol_put() 501 for (i = 0; i < voices; i++) { in wm_vol_put() 536 int voices, ofs, i; in wm_mute_get() local 541 for (i = 0; i < voices; i++) in wm_mute_get() 552 int change = 0, voices, ofs, i; in wm_mute_put() local [all …]
|
H A D | prodigy_hifi.c | 400 int voices = kcontrol->private_value >> 8; in wm8766_vol_info() local 402 uinfo->count = voices; in wm8766_vol_info() 413 int i, ofs, voices; in wm8766_vol_get() local 415 voices = kcontrol->private_value >> 8; in wm8766_vol_get() 417 for (i = 0; i < voices; i++) in wm8766_vol_get() 426 int i, idx, ofs, voices; in wm8766_vol_put() local 429 voices = kcontrol->private_value >> 8; in wm8766_vol_put() 432 for (i = 0; i < voices; i++) { in wm8766_vol_put()
|
H A D | aureon.c | 786 uinfo->count = voices; in wm_vol_info() 796 int i, ofs, voices; in wm_vol_get() local 798 voices = kcontrol->private_value >> 8; in wm_vol_get() 800 for (i = 0; i < voices; i++) in wm_vol_get() 810 int i, idx, ofs, voices; in wm_vol_put() local 813 voices = kcontrol->private_value >> 8; in wm_vol_put() 816 for (i = 0; i < voices; i++) { in wm_vol_put() 849 int voices, ofs, i; in wm_mute_get() local 854 for (i = 0; i < voices; i++) in wm_mute_get() 864 int change = 0, voices, ofs, i; in wm_mute_put() local [all …]
|
/openbmc/linux/sound/isa/gus/ |
H A D | gus_io.c | 404 unsigned short voices; in snd_gf1_select_active_voices() local 412 voices = gus->gf1.active_voices; in snd_gf1_select_active_voices() 413 if (voices > 32) in snd_gf1_select_active_voices() 414 voices = 32; in snd_gf1_select_active_voices() 415 if (voices < 14) in snd_gf1_select_active_voices() 416 voices = 14; in snd_gf1_select_active_voices() 418 voices = 32; in snd_gf1_select_active_voices() 419 gus->gf1.active_voices = voices; in snd_gf1_select_active_voices() 421 gus->gf1.enh_mode ? 44100 : voices_tbl[voices - 14]; in snd_gf1_select_active_voices() 423 snd_gf1_i_write8(gus, SNDRV_GF1_GB_ACTIVE_VOICES, 0xc0 | (voices - 1)); in snd_gf1_select_active_voices()
|
H A D | gus_main.c | 121 int voices, in snd_gus_create() argument 196 if (voices < 14) in snd_gus_create() 197 voices = 14; in snd_gus_create() 198 if (voices > 32) in snd_gus_create() 199 voices = 32; in snd_gus_create() 207 gus->gf1.active_voices = voices; in snd_gus_create()
|
H A D | gus_pcm.c | 35 unsigned int voices; member 121 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up() 152 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up() 162 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up() 222 for (idx = 0; idx < pcmp->voices; idx++, end += step) { in snd_gf1_pcm_interrupt_wave() 232 for (idx = 0; idx < pcmp->voices; idx++) { in snd_gf1_pcm_interrupt_wave() 426 pcmp->voices = params_channels(hw_params); in snd_gf1_pcm_playback_hw_params() 436 if (pcmp->voices > 1 && pcmp->pvoices[1] == NULL) { in snd_gf1_pcm_playback_hw_params() 444 } else if (pcmp->voices == 1) { in snd_gf1_pcm_playback_hw_params() 772 pvoice = &gus->gf1.voices[idx]; in snd_gf1_pcm_volume_put()
|
H A D | gus_irq.c | 57 pvoice = &gus->gf1.voices[voice]; in snd_gus_interrupt() 118 pvoice = &gus->gf1.voices[idx]; in snd_gus_irq_info_read()
|
H A D | gus_reset.c | 68 voice = &gus->gf1.voices[what & 0xffff]; in snd_gf1_set_default_handlers() 254 pvoice = &gus->gf1.voices[idx]; in snd_gf1_alloc_voice() 262 pvoice = &gus->gf1.voices[idx]; in snd_gf1_alloc_voice() 313 gus->gf1.voices[i].number = i; in snd_gf1_start()
|
/openbmc/linux/sound/mips/ |
H A D | hal2.c | 65 int voices; /* mono/stereo */ member 365 sample_size = 2 * hal2->dac.voices; in hal2_setup_dac() 385 | (hal2->dac.voices << H2I_C1_DATAT_SHIFT)); in hal2_setup_dac() 393 sample_size = 2 * hal2->adc.voices; in hal2_setup_adc() 410 | (hal2->adc.voices << H2I_C1_DATAT_SHIFT)); in hal2_setup_adc() 534 dac->voices = runtime->channels; in hal2_playback_prepare() 619 adc->voices = runtime->channels; in hal2_capture_prepare()
|