Lines Matching refs:best
27 struct best_voice *best, int active_only);
84 struct best_voice best[V_END];
89 lookup_voices(emu, hw, best, 1); /* no OFF voices */
91 if (best[i].voice >= 0) {
93 vp = &emu->voices[best[i].voice];
206 * look up voice table - get the best voice in order of preference
211 struct best_voice *best, int active_only)
218 best[i].time = (unsigned int)-1; /* XXX MAX_?INT really */
219 best[i].voice = -1;
223 * Go through them all and get a best one to use.
235 bp = best + V_FREE;
237 bp = best + V_OFF;
241 bp = best + V_RELEASED;
245 bp = best + V_OFF;
251 bp = best + V_PLAYING;
256 if (bp != best + V_OFF && bp != best + V_FREE &&
260 bp = best + V_OFF;
280 struct best_voice best[V_END];
285 lookup_voices(emu, hw, best, 0);
287 if (best[i].voice >= 0) {
288 vp = &emu->voices[best[i].voice];