[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libspeechd SPDVoice cleanup api
From: |
Jeremy Whiting |
Subject: |
libspeechd SPDVoice cleanup api |
Date: |
Thu, 23 Oct 2014 23:29:28 -0600 |
Hey all,
The current libspeechd has api to get a list of voices for the
synthesizer, but no api to safely clean up the data. The attached
patch adds a new method free_spd_voices to do that. It iterates over
the SPDVoice ** list freeing the strdup'ed strings and the SPDVoice
structures themselves. I tested this with a modified qtspeech to use
this new api and it builds and runs fine here. Let me know if I need
to modify it in any way.
thanks,
Jeremy
P.S. is there some patch review tool available from brailcom or
something I should be using instead?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-free_spd_voices-convenience-method-to-free-SPDVo.patch
Type: text/x-patch
Size: 1508 bytes
Desc: not available
URL:
<http://lists.freebsoft.org/pipermail/speechd/attachments/20141023/32eb65c6/attachment.bin>
- libspeechd SPDVoice cleanup api,
Jeremy Whiting <=
libspeechd SPDVoice cleanup api, Jeremy Whiting, 2014/10/24