mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 12:50:55 +00:00
* configure: Regenerated * configure.ac: Check for flite library and flite.h header. * Tools/GNUmakefile: Add ${BUILD_SPEECH} to subproject list. * Tools/say/GNUmakefile * Tools/say/say.m: Say utility * Tools/speech/FliteSpeechEngine.m: * Tools/speech/GNUmakefile * Tools/speech/GSSpeechEngine.[hm] * Tools/speech/GSSpeechServer.[hm] * Tools/speech/GSSpeechSynthesizer.[hm]: Speech synthesis engine implementation using flite. * Tools/speech/main.m: main for the server application. Speech code by David Chisnall <theraven@sucs.org> Changes to makefiles and config by Gregory Casamento. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28430 72102866-910b-0410-8b05-ffd578937521
15 lines
544 B
Objective-C
15 lines
544 B
Objective-C
#import "GSSpeechEngine.h"
|
|
|
|
/**
|
|
* Dummy implementation of a speech engine. Doesn't do anything.
|
|
*/
|
|
@implementation GSSpeechEngine
|
|
+ (GSSpeechEngine*)defaultSpeechEngine { return [[self new] autorelease]; }
|
|
- (void)startSpeaking: (NSString*)aString notifyWhenDone: (id)anObject{}
|
|
- (void)stopSpeaking {}
|
|
- (BOOL)isSpeaking { return NO; }
|
|
- (NSArray*)voices { return [NSArray arrayWithObject: @"default"]; }
|
|
- (void)setVoice: (NSString*)aVoice {}
|
|
- (NSString*)voice { return @"default"; }
|
|
- (NSString*)defaultVoice { return @"default"; }
|
|
@end
|