termux / termux/termux-api

tts-speak crashes when interrupted by another sound

Open
#205 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

For example, when I take a screenshot (which plays a screenshot sound effect), it crashes, or when google maps gives directions, it crashes.

The worst part is that I have to restart my android phone to get it to work again. (and the android tts still works fine in other apps, such as osmand, but termux-tts-speak calls don't work).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing termux-tts-speak while a screenshot sound or navigation prompt plays, then inspect the repository's Android TTS and audio-handling entry points. No file, test, Android version, or diagnostic output is identified in the issue; done means interrupted speech no longer leaves subsequent termux-tts-speak calls unusable.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
cli, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.