forked from len0rd/rockbox
Add support for OS X' Speech Synthesis Manager TTS system.
This adds basic support for using the OS X' TTS system. The current implementation does only support selecting the voice itself, no further settings (like speed pitch / speed) adjustments are implemented. As OS X' TTS system wants the strings to get spoken in 8 bit encoding problems with locale combinations are possible. For this better error handling in the rbutil TTS is needed. The voice test button in the configuration dialog reacts pretty slow due to the way its speaking is done. This can get changed but also requires adjustments in the rbutil TTS system. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24979 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c1689ca80d
commit
495edfb7b9
4 changed files with 494 additions and 1 deletions
|
|
@ -272,11 +272,13 @@ unix:static {
|
|||
}
|
||||
|
||||
macx {
|
||||
SOURCES += base/ttscarbon.cpp
|
||||
HEADERS += base/ttscarbon.h
|
||||
QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
|
||||
QMAKE_LFLAGS_PPC=-mmacosx-version-min=10.4 -arch ppc
|
||||
QMAKE_LFLAGS_X86=-mmacosx-version-min=10.4 -arch i386
|
||||
CONFIG+=x86 ppc
|
||||
LIBS += -L/usr/local/lib -framework IOKit -framework CoreFoundation -lz
|
||||
LIBS += -L/usr/local/lib -framework IOKit -framework CoreFoundation -framework Carbon -lz
|
||||
INCLUDEPATH += /usr/local/include
|
||||
QMAKE_INFO_PLIST = Info.plist
|
||||
RC_FILE = icons/rbutilqt.icns
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue