Lines Matching refs:nvoices
533 if (hdr.nvoices <= 0 || hdr.nvoices >= 100) { in load_info()
535 hdr.nvoices); in load_info()
539 if (count < (long)sizeof(struct soundfont_voice_info) * hdr.nvoices) { in load_info()
542 count, hdr.nvoices); in load_info()
563 for (i = 0; i < hdr.nvoices; i++) { in load_info()
1226 int nvoices; in snd_soundfont_search_zone() local
1238 nvoices = search_zones(sflist, notep, vel, preset, bank, in snd_soundfont_search_zone()
1240 if (! nvoices) { in snd_soundfont_search_zone()
1242 nvoices = search_zones(sflist, notep, vel, in snd_soundfont_search_zone()
1247 return nvoices; in snd_soundfont_search_zone()
1279 int nvoices; in search_zones() local
1282 nvoices = 0; in search_zones()
1296 nvoices = search_zones(sflist, &key, vel, in search_zones()
1299 if (nvoices > 0) in search_zones()
1303 table[nvoices++] = zp; in search_zones()
1304 if (nvoices >= max_layers) in search_zones()
1309 return nvoices; in search_zones()