/* Remove all samples The soundcard should be silet before calling this function.  */
int snd_soundfont_remove_samples(struct snd_sf_list *sflist)
/* Remove all samples The soundcard should be silet before calling this function.  */
int snd_soundfont_remove_samples(struct snd_sf_list *sflist)
{
	lock_preset(sflist);
	if (sflist->callback.sample_reset)
		sflist->callback.sample_reset(sflist->callback.private_data);
	snd_sf_clear(sflist);
	unlock_preset(sflist);
	return 0;
}