| /OK3568_Linux_fs/kernel/sound/drivers/opl4/ |
| H A D | opl4_synth.c | 313 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 …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | ultrasound.h | 76 #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 …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | ultrasound.h | 76 #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 …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | ultrasound.h | 76 #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 …]
|
| /OK3568_Linux_fs/kernel/sound/pci/ |
| H A D | sis7019.c | 69 struct voice { struct 83 struct voice *timing; argument 121 struct voice voices[64]; 122 struct voice capture_voice; 192 static void sis_update_sso(struct voice *voice, u16 period) in sis_update_sso() argument 194 void __iomem *base = voice->ctrl_base; in sis_update_sso() 196 voice->sso += period; in sis_update_sso() 197 if (voice->sso >= voice->buffer_size) in sis_update_sso() 198 voice->sso -= voice->buffer_size; in sis_update_sso() 201 if (voice->sso < 8) in sis_update_sso() [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/trident/ |
| H A D | trident_main.c | 35 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)); 287 void snd_trident_start_voice(struct snd_trident * trident, unsigned int voice) in snd_trident_start_voice() argument 289 unsigned int mask = 1 << (voice & 0x1f); in snd_trident_start_voice() 290 unsigned int reg = (voice & 0x20) ? T4D_START_B : T4D_START_A; in snd_trident_start_voice() 311 void snd_trident_stop_voice(struct snd_trident * trident, unsigned int voice) in snd_trident_stop_voice() argument 313 unsigned int mask = 1 << (voice & 0x1f); in snd_trident_stop_voice() [all …]
|
| /OK3568_Linux_fs/kernel/sound/drivers/opl3/ |
| H A D | opl3_midi.c | 110 static void debug_alloc(struct snd_opl3 *opl3, char *s, int voice) { in debug_alloc() argument 114 printk(KERN_DEBUG "time %.5i: %s [%.2i]: ", opl3->use_time, s, voice); in debug_alloc() 145 int voice; in opl3_get_voice() member 151 best[i].voice = -1; in opl3_get_voice() 200 bp->voice = i; in opl3_get_voice() 205 if (best[i].voice >= 0) { in opl3_get_voice() 209 best[i].voice); in opl3_get_voice() 211 return best[i].voice; in opl3_get_voice() 281 int voice; in snd_opl3_note_on() local 369 voice = opl3_get_voice(opl3, instr_4op, chan); in snd_opl3_note_on() [all …]
|
| H A D | opl3_synth.c | 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() 400 if (note->voice >= ((opl3->fm_mode == SNDRV_DM_FM_MODE_OPL3) ? in snd_opl3_play_note() 405 if (note->voice < MAX_OPL2_VOICES) { in snd_opl3_play_note() 408 voice_offset = note->voice; in snd_opl3_play_note() 412 voice_offset = note->voice - MAX_OPL2_VOICES; in snd_opl3_play_note() 437 static int snd_opl3_set_voice(struct snd_opl3 * opl3, struct snd_dm_fm_voice * voice) in snd_opl3_set_voice() argument 447 if (voice->op > 1) in snd_opl3_set_voice() [all …]
|
| H A D | opl3_drums.c | 33 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()
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/lpc10/ |
| H A D | voicin.c | 257 real *voice; in voicin_() local 406 voice = (&st->voice[0]); in voicin_() 489 voice[0] = voice[2]; in voicin_() 490 voice[1] = voice[3]; in voicin_() 491 voice[2] = voice[4]; in voicin_() 492 voice[3] = voice[5]; in voicin_() 527 voice[*half + 3] = vdc[snrl * 10 - 1]; in voicin_() 529 voice[*half + 3] += vdc[i__ + snrl * 10 - 11] * value[i__ - 1]; in voicin_() 533 if (voice[*half + 3] > 0.f) { in voicin_() 618 if (voibuf[7] == 0 || voice[2] < -voice[3]) { in voicin_() [all …]
|
| H A D | decode.c | 24 extern int decode_(integer *ipitv, integer *irms, integer *irc, integer *voice, integer *pitch, rea… 112 integer *irc, integer *voice, integer *pitch, real *rms, real *rc, in decode_() argument 281 if (voice) { in decode_() 282 --voice; in decode_() 306 voice[1] = 1; in decode_() 307 voice[2] = 1; in decode_() 309 voice[1] = 0; in decode_() 312 voice[2] = 0; in decode_() 318 if (voice[1] == 1 && voice[2] == 1) { in decode_() 321 if (voice[1] != voice[2]) { in decode_() [all …]
|
| H A D | pitsyn.c | 24 extern int pitsyn_(integer *order, integer *voice, integer *pitch, real *rms, real *rc, integer *lf… 99 /* Subroutine */ int pitsyn_(integer *order, integer *voice, in pitsyn_() argument 173 if (voice) { in pitsyn_() 174 --voice; in pitsyn_() 204 ivoice = voice[2]; in pitsyn_() 238 if (voice[1] == *ivoico && voice[2] == voice[1]) { in pitsyn_() 239 if (voice[2] == 0) { in pitsyn_() 249 ivoice = voice[2]; in pitsyn_() 252 if (*ivoico == voice[1]) { in pitsyn_() 278 if (*ivoico != voice[1]) { in pitsyn_() [all …]
|
| H A D | encode.c | 16 extern int encode_(integer *voice, integer *pitch, real *rms, real *rc, integer *ipitch, integer *i… 83 /* Subroutine */ int encode_(integer *voice, integer *pitch, real *rms, real * in encode_() argument 199 --voice; in encode_() 211 if (voice[1] != 0 && voice[2] != 0) { in encode_() 216 if (voice[1] != voice[2]) { in encode_() 220 *ipitch = (voice[1] << 1) + voice[2]; in encode_()
|
| /OK3568_Linux_fs/kernel/sound/pci/au88x0/ |
| H A D | au88x0_synth.c | 56 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 D | au88x0_wt.h | 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
|
| /OK3568_Linux_fs/kernel/sound/isa/gus/ |
| H A D | gus_reset.c | 39 …_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() 119 …printk(KERN_DEBUG " -%i- smart stop voice - volume = 0x%x\n", voice, snd_gf1_i_read16(gus, SNDRV_G… in snd_gf1_smart_stop_voice() [all …]
|
| H A D | gus_pcm.c | 102 unsigned int voice; in snd_gf1_pcm_trigger_up() local 121 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up() 122 begin = pcmp->memory + voice * (pcmp->dma_size / runtime->channels); in snd_gf1_pcm_trigger_up() 131 pan = runtime->channels == 2 ? (!voice ? 1 : 14) : 8; in snd_gf1_pcm_trigger_up() 132 vol = !voice ? gus->gf1.pcm_volume_level_left : gus->gf1.pcm_volume_level_right; in snd_gf1_pcm_trigger_up() 134 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up() 152 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up() 153 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up() 162 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up() 163 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up() [all …]
|
| H A D | gus_io.c | 433 int voice, ctrl; in snd_gf1_print_voice_registers() local 435 voice = gus->gf1.active_voice; in snd_gf1_print_voice_registers() 436 …printk(KERN_INFO " -%i- GF1 voice ctrl, ramp ctrl = 0x%x, 0x%x\n", voice, ctrl = snd_gf1_i_read8… in snd_gf1_print_voice_registers() 437 printk(KERN_INFO " -%i- GF1 frequency = 0x%x\n", voice, snd_gf1_i_read16(gus, 1)); in snd_gf1_print_voice_registers() 438 …printk(KERN_INFO " -%i- GF1 loop start, end = 0x%x (0x%x), 0x%x (0x%x)\n", voice, snd_gf1_… in snd_gf1_print_voice_registers() 439 …printk(KERN_INFO " -%i- GF1 ramp start, end, rate = 0x%x, 0x%x, 0x%x\n", voice, snd_gf1_i_read8(… in snd_gf1_print_voice_registers() 440 printk(KERN_INFO" -%i- GF1 volume = 0x%x\n", voice, snd_gf1_i_read16(gus, 9)); in snd_gf1_print_voice_registers() 441 …printk(KERN_INFO " -%i- GF1 position = 0x%x (0x%x)\n", voice, snd_gf1_i_read_addr(g… in snd_gf1_print_voice_registers() 444 printk(KERN_INFO " -%i- GFA1 mode = 0x%x\n", voice, mode); in snd_gf1_print_voice_registers() 446 …printk(KERN_INFO " -%i- GFA1 effect address = 0x%x\n", voice, snd_gf1_i_read_addr(gus, 0x1… in snd_gf1_print_voice_registers() [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/ |
| H A D | 0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch | 30 synth_one_block:one voice->| 1| 11.00| 12.36| 58.00| 0.463 34 voice:note --------------->| no profiling available 35 voice:release ------------>| no profiling available 39 nVoices| total(%)|voices(%)| reverb(%)|chorus(%)| voice(%)|estimated maxVoices 53 synth_one_block:one voice->| 1| 11.00| 12.30| 58.00| 0.461 57 voice:note --------------->| no profiling available 58 voice:release ------------>| no profiling available 62 nVoices| total(%)|voices(%)| reverb(%)|chorus(%)| voice(%)|estimated maxVoices 76 synth_one_block:one voice->| 1| 11.00| 12.31| 63.00| 0.462 80 voice:note --------------->| no profiling available [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/emu10k1/ |
| H A D | irq.c | 47 int voice; in snd_emu10k1_interrupt() local 53 for (voice = 0; voice <= voice_max; voice++) { in snd_emu10k1_interrupt() 54 if (voice == 0x20) in snd_emu10k1_interrupt() 59 snd_emu10k1_voice_intr_ack(emu, voice); in snd_emu10k1_interrupt() 61 snd_emu10k1_voice_intr_disable(emu, voice); in snd_emu10k1_interrupt() 68 for (voice = 0; voice <= voice_max; voice++) { in snd_emu10k1_interrupt() 69 if (voice == 0x20) in snd_emu10k1_interrupt() 74 snd_emu10k1_voice_half_loop_intr_ack(emu, voice); in snd_emu10k1_interrupt() 76 snd_emu10k1_voice_half_loop_intr_disable(emu, voice); in snd_emu10k1_interrupt()
|
| H A D | voice.c | 37 struct snd_emu10k1_voice *voice; in voice_alloc() local 57 voice = &emu->voices[(i+k) % NUM_G]; in voice_alloc() 58 if (voice->use) { in voice_alloc() 76 voice = &emu->voices[(first_voice + i) % NUM_G]; in voice_alloc() 81 voice->use = 1; in voice_alloc() 84 voice->pcm = 1; in voice_alloc() 87 voice->synth = 1; in voice_alloc() 90 voice->midi = 1; in voice_alloc() 93 voice->efx = 1; in voice_alloc()
|
| H A D | emupcm.c | 24 struct snd_emu10k1_voice *voice) in snd_emu10k1_pcm_interrupt() argument 28 if ((epcm = voice->epcm) == NULL) in snd_emu10k1_pcm_interrupt() 278 int voice, stereo, w_16; in snd_emu10k1_pcm_init_voice() local 285 voice = evoice->number; in snd_emu10k1_pcm_init_voice() 324 snd_emu10k1_ptr_write(emu, CPF, voice, CPF_STEREO_MASK); in snd_emu10k1_pcm_init_voice() 325 snd_emu10k1_ptr_write(emu, CPF, (voice + 1), CPF_STEREO_MASK); in snd_emu10k1_pcm_init_voice() 327 snd_emu10k1_ptr_write(emu, CPF, voice, 0); in snd_emu10k1_pcm_init_voice() 333 snd_emu10k1_ptr_write(emu, A_FXRT1, voice, in snd_emu10k1_pcm_init_voice() 335 snd_emu10k1_ptr_write(emu, A_FXRT2, voice, in snd_emu10k1_pcm_init_voice() 337 snd_emu10k1_ptr_write(emu, A_SENDAMOUNTS, voice, in snd_emu10k1_pcm_init_voice() [all …]
|
| H A D | emu10k1x.c | 195 struct emu10k1x_voice *voice; member 349 static void snd_emu10k1x_pcm_interrupt(struct emu10k1x *emu, struct emu10k1x_voice *voice) in snd_emu10k1x_pcm_interrupt() argument 353 if ((epcm = voice->epcm) == NULL) in snd_emu10k1x_pcm_interrupt() 408 if (! epcm->voice) { in snd_emu10k1x_pcm_hw_params() 409 epcm->voice = &epcm->emu->voices[substream->pcm->device]; in snd_emu10k1x_pcm_hw_params() 410 epcm->voice->use = 1; in snd_emu10k1x_pcm_hw_params() 411 epcm->voice->epcm = epcm; in snd_emu10k1x_pcm_hw_params() 428 if (epcm->voice) { in snd_emu10k1x_pcm_hw_free() 429 epcm->voice->use = 0; in snd_emu10k1x_pcm_hw_free() 430 epcm->voice->epcm = NULL; in snd_emu10k1x_pcm_hw_free() [all …]
|
| /OK3568_Linux_fs/kernel/include/sound/ |
| H A D | gus.h | 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); 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() 517 extern irqreturn_t snd_gf1_lfo_effect_interrupt(struct snd_gus_card * gus, snd_gf1_voice_t * voice); 521 extern void snd_gf1_lfo_program(struct snd_gus_card * gus, int voice, int lfo_type, struct _SND_IW_… [all …]
|
| /OK3568_Linux_fs/kernel/sound/synth/emux/ |
| H A D | emux_oss.c | 323 int voice; in emuspec_control() local 329 voice = event[3]; in emuspec_control() 330 if (voice < 0 || voice >= port->chset.max_channels) in emuspec_control() 333 chan = &port->chset.channels[voice]; in emuspec_control() 361 fake_event(emu, port, voice, MIDI_CTL_ALL_NOTES_OFF, 0, atomic, hop); in emuspec_control() 364 fake_event(emu, port, voice, MIDI_CTL_ALL_SOUNDS_OFF, 0, atomic, hop); in emuspec_control() 418 int voice; in gusspec_control() local 427 voice = event[3]; in gusspec_control() 428 if (voice < 0 || voice >= port->chset.max_channels) in gusspec_control() 431 chan = &port->chset.channels[voice]; in gusspec_control()
|