Fix #112: Speech rate not matching what's set in the Speech prefpane.
The fix is to create the speech synthesizer object using nil as the voice name, rather than asking for the default voice name. According to the NSSpeechSynthesizer documentation, the synthesizer object's initial rate is the rate set in Speech when the voice name is nil, whereas it's a blanket default when the voice name is the name of a specific voice.
1.1 --- a/Plugins/Displays/Speech/GrowlSpeechDisplay.m Fri Feb 19 02:29:18 2010 -0800
1.2 +++ b/Plugins/Displays/Speech/GrowlSpeechDisplay.m Thu Mar 11 17:17:04 2010 -0800
1.3 @@ -34,7 +34,7 @@
1.4 CFMakeCollectable(voice);
1.5 [voice autorelease];
1.6 } else {
1.7 - voice = [NSSpeechSynthesizer defaultVoice];
1.8 + //Leaving the voice set to nil means we get the default voice the speech rate selected in the Speech preferences pane.
1.9 }
1.10 NSString *title = [notification title];
1.11 NSString *desc = [notification notificationDescription];