mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-24 10:31:13 +00:00
<cite> [19:32] <@anthm> the tts stuff uses bytes not samples [19:32] <@anthm> so when you pass datalen to file_read [19:32] <@anthm> you need to cut it in half [19:33] <@anthm> size_t my_datalen = *datalen / 2; [19:33] <sathieu> I'm testing [19:33] <@anthm> switch_core_file_read(&info->fh, data, datalen) [19:33] <@anthm> change datalen to &my_datalen [19:33] <@anthm> then after *datalen = my_datalen * 2; </cite> git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14886 d0543943-73ff-0310-b7d9-9358b9ac24b2