Lines Matching refs:best
27 struct best_voice *best, int active_only);
83 struct best_voice best[V_END]; in snd_emu10k1_synth_get_voice() local
88 lookup_voices(emu, hw, best, 1); /* no OFF voices */ in snd_emu10k1_synth_get_voice()
90 if (best[i].voice >= 0) { in snd_emu10k1_synth_get_voice()
92 vp = &emu->voices[best[i].voice]; in snd_emu10k1_synth_get_voice()
210 struct best_voice *best, int active_only) in lookup_voices() argument
217 best[i].time = (unsigned int)-1; /* XXX MAX_?INT really */ in lookup_voices()
218 best[i].voice = -1; in lookup_voices()
234 bp = best + V_FREE; in lookup_voices()
236 bp = best + V_OFF; in lookup_voices()
240 bp = best + V_RELEASED; in lookup_voices()
244 bp = best + V_OFF; in lookup_voices()
250 bp = best + V_PLAYING; in lookup_voices()
255 if (bp != best + V_OFF && bp != best + V_FREE && in lookup_voices()
259 bp = best + V_OFF; in lookup_voices()
279 struct best_voice best[V_END]; in get_voice() local
284 lookup_voices(emu, hw, best, 0); in get_voice()
286 if (best[i].voice >= 0) { in get_voice()
287 vp = &emu->voices[best[i].voice]; in get_voice()