Example #1
0
int roadmap_sound_play_list (const RoadMapSoundList list) {

	int i;
	char announce[2000];

	announce[0] = '\0';
	for (i = 0; i < list->count; i++) {
		strcat (announce, list->list[i]);
		strcat (announce, " ");
	}
	if (*announce) roadmap_log (ROADMAP_DEBUG, "Voice announce: %s\n", announce);

   if (!(list->flags & SOUND_LIST_NO_FREE)) {
      roadmap_sound_list_free  (list);
   }
   return 0;
}
Example #2
0
void tts_playlist_free( TtsPlayList list )
{
   roadmap_sound_list_free( list->sound_list );
   free( list );
}