Previously the code for selecting voice based on its name (but not id!)
assumed a certain format of voice identifier, and constructed this
identifier based on the name.
However, new voices available in OS X Lion (including Siri's Samantha
voice) use slightly different formats, and hence selecting them in
preferences did not work.
The code is now somewhat future proof by searching all the identifiers, and
comparing names for these identifiers with the name selected in
preferences.
Previously the code for selecting voice based on its name (but not id!) assumed a certain format of voice identifier, and constructed this identifier based on the name.
However, new voices available in OS X Lion (including Siri's Samantha voice) use slightly different formats, and hence selecting them in preferences did not work.
The code is now somewhat future proof by searching all the identifiers, and comparing names for these identifiers with the name selected in preferences.
Fixes #224