Skip to content

ActGlobals.oFormActMain.TTS does not reset audio volume #60

@xpdota

Description

@xpdota
  1. Open ACT, navigate to sound settings, set Wav Vol to 20% and TTS Vol to 100%
  2. Call ActGlobals.oFormActMain.TTS("something"), observe it is at full volume
  3. Call ActGlobals.oFormActMain.PlaySound("some_file.wav"), observe it has the correct reduced volume
  4. Call the TTS method again - now, it still has the reduced volume from WAV (and the windows volume mixer still shows the reduced volume)

This also happens if you call ActGlobals.oFormActMain.PlaySoundMethod(file, volume), and the issue persists until you either go into volume mixer and reset the level manually, or you call PlaySoundMethod with a new volume level.

Reading through PlaySound, the if statement involving "sapi.wav" makes it seem like this should work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    limitationMay be impossible to fix due to design limitations

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions