Lines Matching refs:best
40 struct best_voice *best, int active_only);
96 struct best_voice best[V_END]; in snd_emu10k1_synth_get_voice() local
101 lookup_voices(emu, hw, best, 1); /* no OFF voices */ in snd_emu10k1_synth_get_voice()
103 if (best[i].voice >= 0) { in snd_emu10k1_synth_get_voice()
105 vp = &emu->voices[best[i].voice]; in snd_emu10k1_synth_get_voice()
222 struct best_voice *best, int active_only) in lookup_voices() argument
229 best[i].time = (unsigned int)-1; /* XXX MAX_?INT really */ in lookup_voices()
230 best[i].voice = -1; in lookup_voices()
246 bp = best + V_FREE; in lookup_voices()
248 bp = best + V_OFF; in lookup_voices()
252 bp = best + V_RELEASED; in lookup_voices()
256 bp = best + V_OFF; in lookup_voices()
262 bp = best + V_PLAYING; in lookup_voices()
267 if (bp != best + V_OFF && bp != best + V_FREE && in lookup_voices()
271 bp = best + V_OFF; in lookup_voices()
291 struct best_voice best[V_END]; in get_voice() local
296 lookup_voices(emu, hw, best, 0); in get_voice()
298 if (best[i].voice >= 0) { in get_voice()
299 vp = &emu->voices[best[i].voice]; in get_voice()