| 114 | } |
| 115 | |
| 116 | result Speech::setText(const char *aText) |
| 117 | { |
| 118 | if (aText == NULL) |
| 119 | return INVALID_PARAMETER; |
| 120 | |
| 121 | stop(); |
| 122 | mElement.clear(); |
| 123 | darray phone; |
| 124 | xlate_string(aText, &phone); |
| 125 | mFrames = klatt::phone_to_elm(phone.getData(), phone.getSize(), &mElement); |
| 126 | return 0; |
| 127 | } |
| 128 | |
| 129 | Speech::Speech() |
| 130 | { |
nothing calls this directly
no test coverage detected