Fix wavtrim on voicefile creation.
commit9db5c124af8eb7b950b64f0942262f549e661d4a
authorDominik Riebeling <Dominik.Riebeling@gmail.com>
Sun, 15 Jan 2012 11:24:54 +0000 (15 12:24 +0100)
committerDominik Riebeling <Dominik.Riebeling@gmail.com>
Sun, 15 Jan 2012 11:30:03 +0000 (15 12:30 +0100)
treeb0be84b5839594d1d4e9ca20b29e1e99a2793c9b
parent7f26a10d31911c3468312563cd2667a96278944b
Fix wavtrim on voicefile creation.

Pass the threshold value for wavtrim to the TalkGenerator object instead of
using the default value. Makes wavtrim to be actually used.

Furthermore, check the result of the wavtrim call and respect its return value.
rbutil/rbutilqt/base/talkgenerator.cpp
rbutil/rbutilqt/base/voicefile.cpp