More compile fixes.

This commit is contained in:
Relintai 2024-09-07 13:23:24 +02:00
parent 6a948f7240
commit 673414d913

View File

@ -188,7 +188,7 @@ public class PandemoniumTTS extends UtteranceProgressListener {
* Initialize synth and query.
*/
public void init() {
synth = new TextToSpeech(p_activity, null);
synth = new TextToSpeech(activity, null);
queue = new LinkedList<PandemoniumUtterance>();
synth.setOnUtteranceProgressListener(this);