void unregister_cmu_us_kal16(cst_voice *v) { if (v != cmu_us_kal_diphone) return; delete_voice(v); cmu_us_kal_diphone = NULL; }
void unregister_cmu_us_rms(cst_voice *vox) { if (vox != cmu_us_rms_cg) return; delete_voice(vox); cmu_us_rms_cg = NULL; }
void unregister___VOICENAME__(cst_voice *vox) { if (vox != __VOICENAME___clunits) return; delete_voice(vox); __VOICENAME___clunits = NULL; }
void unregister___VOICENAME__(cst_voice *vox) { if (vox != __VOICENAME___diphone) return; delete_voice(vox); __VOICENAME___diphone = NULL; }
void unregister_cmu_time_awb(cst_voice *vox) { if (vox != cmu_time_awb_ldom) return; delete_voice(vox); cmu_time_awb_ldom = NULL; }
void unregister_vid_gb_ap(cst_voice *vox) { if (vox != vid_gb_ap_cg) return; delete_voice(vox); vid_gb_ap_cg = NULL; }
void at_exit() { Pa_Terminate(); int i; if (si.w != NULL) { for (i = 0; i < si.channel_count; ++i) delete_wave(si.w[i]); free(si.w); si.w = NULL; } if (voice) { delete_voice(voice); voice = NULL; } if (sock >= 0) close(sock); }
void cst_cg_unload_voice(cst_voice *vox,cst_val *voice_list) { delete_voice(vox); }