Fix SAPI default speed being way too fast.
commit0967743f95be3b24562a2e9c5c41a9d53e421ad0
authorbluebrother <bluebrother@a1c6a512-1295-4272-9138-f99709370657>
Fri, 22 Apr 2011 18:58:01 +0000 (22 18:58 +0000)
committerbluebrother <bluebrother@a1c6a512-1295-4272-9138-f99709370657>
Fri, 22 Apr 2011 18:58:01 +0000 (22 18:58 +0000)
treef56b731cee90268e311bf03fca95012b94a8dd87
parent3ee74df3b71570e0b83ffb978f49562cda3c4638
Fix SAPI default speed being way too fast.

The settings currently can't differentiate between default values for different
subitems (i.e. different TTS systems). As a result the default value returned
for SAPI speed was way out of bounds, leading to the upper limit getting used.
Work around this limitation by checking the value for bounds and use a sensible
value in that case.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29763 a1c6a512-1295-4272-9138-f99709370657
rbutil/rbutilqt/base/ttssapi.cpp