Skip to content

Title screen music doesn't start playing again if you switch sound device #2689

@LeeSpork

Description

@LeeSpork

Version information:

  • Platform: Windows 10
  • Version: 24.10
  • Build/commit: 52acc01

Describe the bug
When you change audio device in the options, the title screen music stops, and doesn't resume until after you either go into a game or restart OpenLoco.

This bug can confuse players into thinking they need to restart the game to fix the game's audio, but evidentially the audio is otherwise still working completely fine.

To Reproduce
Steps to reproduce the behaviour:

  1. Open game to the title screen.
  2. Click "Options" in the top-right, and navigate to the Sound tab.
  3. Ensure that "Play title screen music" is checked and that you can hear the music.
  4. Open the drop down, and make a selection. (This bug happens even if you selecting the same option that was already selected).
  5. Notice that the music has now stopped. Wait for a vehicle to be on screen and listen out for vehicle noises to confirm that the game is still capable of playing audio.

Expected behaviour
The title screen music restarting from the beginning. (Or idealistically, just continue playing from where it was)

Further details

  • After reproducing the bug, notice that if you uncheck "Play title screen music", and then check it again, the music continues to not play.
  • The title screen music comes back if you load into a saved or new game, and then quit to menu to re-open the title screen. This is apparently not the case for the Scenario Editor though.
  • This bug doesn't happen if you always had "Play title screen music" unchecked when you select a sound device (but doing so after the bug has already happened doesn't fix the music).

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    audioMusic or sound related

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions