Lines Matching refs:nvoices
537 if (hdr.nvoices <= 0 || hdr.nvoices >= 100) { in load_info()
539 hdr.nvoices); in load_info()
543 if (count < (long)sizeof(struct soundfont_voice_info) * hdr.nvoices) { in load_info()
546 count, hdr.nvoices); in load_info()
567 for (i = 0; i < hdr.nvoices; i++) { in load_info()
1236 int nvoices; in snd_soundfont_search_zone() local
1248 nvoices = search_zones(sflist, notep, vel, preset, bank, in snd_soundfont_search_zone()
1250 if (! nvoices) { in snd_soundfont_search_zone()
1252 nvoices = search_zones(sflist, notep, vel, in snd_soundfont_search_zone()
1257 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()