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

Audio breaks after system resume on Windows #8248

Open
nielsmh opened this issue Jun 29, 2020 · 0 comments
Open

Audio breaks after system resume on Windows #8248

nielsmh opened this issue Jun 29, 2020 · 0 comments
Labels
bug Something isn't working OS: Windows This issue is related to a MS Windows problem

Comments

@nielsmh
Copy link
Contributor

nielsmh commented Jun 29, 2020

Based on this forums thread: https://www.tt-forums.net/viewtopic.php?f=31&t=87257

Version of OpenTTD

Unknown (probably most)
Windows 10

Expected result

Putting the computer to hibernate while the game is running, then resuming the computer, the game continues to be able to play sound.

Actual result

After resuming the computer from hibernation, sound effects are no longer audible until the game is restarted.

Steps to reproduce

  1. Start game
  2. Ensure sound effects are playing
  3. Put the computer into hibernation mode
  4. Resume the computer from hibernation
  5. The game continues working except sound effects are no longer audible

This likely depends on the exact audio device used, and perhaps also which other audio devices are available in the system. The original reporter is playing audio via a display cable, i.e. an external digital device which might have some re-initialisation required after a resume operation.
It's likely that reproducing this issue requires having a similar external audio device, and possibly having no other active/functioning audio devices that the system can fall back on.

This might depend on the sound driver selected in the game. It's possible that only one of the XAudio or Win32 drivers will exhibit this.

@nielsmh nielsmh added bug Something isn't working OS: Windows This issue is related to a MS Windows problem labels Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working OS: Windows This issue is related to a MS Windows problem
Projects
None yet
Development

No branches or pull requests

1 participant