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

No sound when streaming from package #2287

Closed
ericoporto opened this issue Jan 9, 2024 · 2 comments
Closed

No sound when streaming from package #2287

ericoporto opened this issue Jan 9, 2024 · 2 comments

Comments

@ericoporto
Copy link
Member

ericoporto commented Jan 9, 2024

Describe the bug
When building a new game in the AGS Editor from the current RC1 release, sound files (only tested .ogg) that are bigger than the threshold for streaming don't play from the packaged exe. They still play when running from the AGS Editor debugger.

AGS Version
v3.6.1.16
and
v3.6.1.15

Game
v3.6.1.16: TestSoundError.zip
v3.6.1.15: TestSoundError_36015.zip

The version v3.6.1.14 is not affected, check it out
TestSoundError_36014.zip

To Reproduce
Steps to reproduce the behavior:

  1. The attached project was made using the Sierra Template and adding the following Fade In script
function room_AfterFadeIn()
{
  aMusic_menu.Play(eAudioPriorityHigh, eRepeat);
  aWind.Play(eAudioPriorityHigh, eRepeat);
}
  1. If you run it through the editor, you can hear the music and the wind
  2. Now hit f7 and build the exe
  3. Open the compiled folder and run, you can hear only the wind

Expected behavior
Both sounds should play

Desktop:

  • OS: Windows
  • Version: 10

additional context

originally reported by Dave in the forums

Sorry for the double post. I've installed the RC and I've run into a weird issue. When I make an executable of my game and try to run it, the music does not play. But when I run my game in test mode by pressing F5, the music plays normally. Other sounds like sfx play fine.

here: https://www.adventuregamestudio.co.uk/forums/ags-engine-editor-releases/ags-3-6-1-release-candidate-rc-1/msg636660144/#msg636660144

@ericoporto
Copy link
Member Author

In my test, this appears to be fixed by 3d6e90b

@ericoporto
Copy link
Member Author

ericoporto commented Jan 10, 2024

Dave also reported it fixed for him

The fix works! Music now plays properly. Thanks so much

https://www.adventuregamestudio.co.uk/forums/ags-engine-editor-releases/ags-3-6-1-release-candidate-rc-1/msg636660160/#msg636660160

so I am closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant