Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

只能一条? #2

Open
ail36413 opened this issue Jun 3, 2024 · 2 comments
Open

只能一条? #2

ail36413 opened this issue Jun 3, 2024 · 2 comments

Comments

@ail36413
Copy link

ail36413 commented Jun 3, 2024

    new Handler().postDelayed(new Runnable() {
        @Override
        public void run() {
            Log.e("MainActivity","startTTS 1");
            TTSManager.getInstance().startSpeaking("北京时间十三点五十九分");
        }
    },5000);
    new Handler().postDelayed(new Runnable() {
        @Override
        public void run() {
            Log.e("MainActivity","startTTS 2");
            boolean speaking = TTSManager.getInstance().isSpeaking();
            Log.e("MainActivity","speaking :"+speaking);
            TTSManager.getInstance().stopSpeaking();
            TTSManager.getInstance().startSpeaking("十点零五分");

        }
    },10000);

第二条就不会念

@shenbengit
Copy link
Owner

没遇到这种情况,看看有没有报错日志

@ail36413
Copy link
Author

ail36413 commented Jun 7, 2024

没有报错。并且必现。换了几个设备都是

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants