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

ACT TTS ignores windows volume settings #39

Closed
xpdota opened this issue Dec 12, 2021 · 3 comments
Closed

ACT TTS ignores windows volume settings #39

xpdota opened this issue Dec 12, 2021 · 3 comments
Labels
limitation May be impossible to fix due to design limitations wontfix This will not be worked on

Comments

@xpdota
Copy link

xpdota commented Dec 12, 2021

  1. Install OverlayPlugin or anything else that would utilize ACT's builtin TTS.
  2. Mute ACT's volume in the windows volume mixer.
  3. Trigger a TTS.

Expected: You hear nothing
Actual: You hear TTS, even though the volume is muted and the bar is grayed out:
image

In addition, when merely altering the volume rather than muting, a TTS causes the volume to pop back up to its previous setting.

@EQAditu
Copy link
Owner

EQAditu commented Dec 12, 2021

This is an artifact of the Windows Media Player API. It changes the host application's volume to the volume it is instructed to play a sound at. This cannot be fixed inside of ACT. You either need to use the volume sliders inside of ACT, or use a sound engine other than WMP API. (or see if Microsoft wants to fix it)

@EQAditu EQAditu added wontfix This will not be worked on limitation May be impossible to fix due to design limitations labels Dec 12, 2021
@xpdota
Copy link
Author

xpdota commented Dec 23, 2021

Looks like this is fixed with the new SAPI setting, thanks!

@xpdota xpdota closed this as completed Dec 23, 2021
@EQAditu
Copy link
Owner

EQAditu commented Dec 23, 2021

Just be aware that playing sound files outside of OverlayPlugin's CEF process will still have this behavior. The only workaround is to use a different sound engine like Windows API or XAudio2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
limitation May be impossible to fix due to design limitations wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants