Lines Matching refs:best
27 struct best_voice *best, int active_only);
84 struct best_voice best[V_END]; in snd_emu10k1_synth_get_voice() local
89 lookup_voices(emu, hw, best, 1); /* no OFF voices */ in snd_emu10k1_synth_get_voice()
91 if (best[i].voice >= 0) { in snd_emu10k1_synth_get_voice()
93 vp = &emu->voices[best[i].voice]; in snd_emu10k1_synth_get_voice()
211 struct best_voice *best, int active_only) in lookup_voices() argument
218 best[i].time = (unsigned int)-1; /* XXX MAX_?INT really */ in lookup_voices()
219 best[i].voice = -1; in lookup_voices()
235 bp = best + V_FREE; in lookup_voices()
237 bp = best + V_OFF; in lookup_voices()
241 bp = best + V_RELEASED; in lookup_voices()
245 bp = best + V_OFF; in lookup_voices()
251 bp = best + V_PLAYING; in lookup_voices()
256 if (bp != best + V_OFF && bp != best + V_FREE && in lookup_voices()
260 bp = best + V_OFF; in lookup_voices()
280 struct best_voice best[V_END]; in get_voice() local
285 lookup_voices(emu, hw, best, 0); in get_voice()
287 if (best[i].voice >= 0) { in get_voice()
288 vp = &emu->voices[best[i].voice]; in get_voice()