taglinefilesource code
alloc164drivers/sound/dev_table.hint (*alloc_voice) (int dev, int chn, int note, struct voice_alloc_info *alloc);
alloc166drivers/sound/dev_table.hstruct voice_alloc_info alloc;
alloc2604drivers/sound/gus_wave.cguswave_alloc (int dev, int chn, int note, struct voice_alloc_info *alloc)
alloc2608drivers/sound/gus_wave.cp = alloc->ptr;
alloc2613drivers/sound/gus_wave.cfor (i = 0; i < alloc->max_voice; i++)
alloc2615drivers/sound/gus_wave.cif (alloc->map[p] == 0)
alloc2617drivers/sound/gus_wave.calloc->ptr = p;
alloc2620drivers/sound/gus_wave.cp = (p + 1) % alloc->max_voice;
alloc2627drivers/sound/gus_wave.cfor (i = 0; i < alloc->max_voice; i++)
alloc2629drivers/sound/gus_wave.cif (alloc->map[p] == 0xffff)
alloc2631drivers/sound/gus_wave.calloc->ptr = p;
alloc2634drivers/sound/gus_wave.cp = (p + 1) % alloc->max_voice;
alloc2638drivers/sound/gus_wave.calloc->ptr = p;
alloc2964drivers/sound/gus_wave.cvoice_alloc = &guswave_operations.alloc;
alloc1077drivers/sound/opl3.copl3_alloc_voice (int dev, int chn, int note, struct voice_alloc_info *alloc)
alloc1118drivers/sound/opl3.cif (alloc->map[p] == 0)
alloc1170drivers/sound/opl3.cvoice_alloc = &opl3_operations.alloc;
alloc447drivers/sound/sequencer.cfor (i = 0; i < synth_devs[dev]->alloc.max_voice; i++)
alloc448drivers/sound/sequencer.cif (synth_devs[dev]->alloc.map[i] == key)
alloc463drivers/sound/sequencer.c&synth_devs[dev]->alloc);
alloc464drivers/sound/sequencer.csynth_devs[dev]->alloc.map[voice] = key;