Lines Matching defs:best
27 struct best_voice *best, int active_only);
83 struct best_voice best[V_END];
88 lookup_voices(emu, hw, best, 1); /* no OFF voices */
90 if (best[i].voice >= 0) {
92 vp = &emu->voices[best[i].voice];
204 * look up voice table - get the best voice in order of preference
209 struct best_voice *best, int active_only)
216 best[i].time = (unsigned int)-1; /* XXX MAX_?INT really */
217 best[i].voice = -1;
221 * Go through them all and get a best one to use.
233 bp = best + V_FREE;
235 bp = best + V_OFF;
239 bp = best + V_RELEASED;
243 bp = best + V_OFF;
249 bp = best + V_PLAYING;
254 if (bp != best + V_OFF && bp != best + V_FREE &&
258 bp = best + V_OFF;
278 struct best_voice best[V_END];
283 lookup_voices(emu, hw, best, 0);
285 if (best[i].voice >= 0) {
286 vp = &emu->voices[best[i].voice];