Lines Matching refs:nvoices
546 if (hdr.nvoices <= 0 || hdr.nvoices >= 100) { in load_info()
548 hdr.nvoices); in load_info()
552 if (count < (long)sizeof(struct soundfont_voice_info) * hdr.nvoices) { in load_info()
555 count, hdr.nvoices); in load_info()
576 for (i = 0; i < hdr.nvoices; i++) { in load_info()
1237 int nvoices; in snd_soundfont_search_zone() local
1249 nvoices = search_zones(sflist, notep, vel, preset, bank, in snd_soundfont_search_zone()
1251 if (! nvoices) { in snd_soundfont_search_zone()
1253 nvoices = search_zones(sflist, notep, vel, in snd_soundfont_search_zone()
1258 return nvoices; in snd_soundfont_search_zone()
1290 int nvoices; in search_zones() local
1293 nvoices = 0; in search_zones()
1307 nvoices = search_zones(sflist, &key, vel, in search_zones()
1310 if (nvoices > 0) in search_zones()
1314 table[nvoices++] = zp; in search_zones()
1315 if (nvoices >= max_layers) in search_zones()
1320 return nvoices; in search_zones()