Hello Jonathan, I attempt to translate a long text string to speech into a mp3 file. I have written a java code to implementation JSAPI and tried to use a variety of vocal to get mp3 files. That have no problem to use some vocal to get mp3 files. But I use ITRITTS to translate text to speech into a mp3 file.
I receive the following in the command window:
****Buffer not big enough**** need=262560 have=100000
****Buffer not big enough**** need=262560 have=100000
****Buffer not big enough**** need=262560 have=100000
****Buffer not big enough**** need=262560 have=100000
****Buffer not big enough**** need=156000 have=100000
****Buffer not big enough**** need=203840 have=100000
****Buffer not big enough**** need=251680 have=100000
I tried to modify my code and use setBufferSize() in CGAudioManager And setKeepOpen(true) in CGPullBufferDataSource. The problem was still exists.
Could you help me? Thanks