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

WAV music issues. #14153

Closed
GraionDilach opened this issue Oct 8, 2017 · 11 comments
Closed

WAV music issues. #14153

GraionDilach opened this issue Oct 8, 2017 · 11 comments

Comments

@GraionDilach
Copy link
Contributor

Carried over from #13763.

On bleed, music ends up silent, but still playing and the next track will return to be played at the volume it supposed to.

@RoosterDragon with your current music branch, I'm getting a crash-during-loading with OpenAL Error 40963.

@RoosterDragon
Copy link
Member

I removed the strict error checks since they might not work on top of bleed anyway. It just has the logging now - give it another go.

@GraionDilach
Copy link
Contributor Author

Hypnotic died in this run but I can't see anything out in the ordinary.

music.log

@RoosterDragon
Copy link
Member

Looks like more logging is the first order of business then. I'll have to think about what to add.

@GraionDilach GraionDilach changed the title Bleed music issues with WAV. WAV music issues. Dec 16, 2017
@RoosterDragon
Copy link
Member

@GraionDilach: Are you still able to reproduce this on current bleed?

@GraionDilach
Copy link
Contributor Author

Dropped the ball on AS for some months now, but I'll do some tests ASAP.

@GraionDilach
Copy link
Contributor Author

GraionDilach commented Apr 25, 2018

@RoosterDragon This bug is still happening but it's really hard to trigger these days, not as usual as it was when the ticket opened.

@RoosterDragon
Copy link
Member

From the logs:

2017-10-14T09:06:31.9623006Z Starting music track Hypnotic
2017-10-14T09:06:31.9628054Z Streaming task is about to load audio.
2017-10-14T09:06:32.0108349Z Reclaiming source for a completed OpenAlAsyncLoadSound

I wonder if as Hypnotic started, some race condition allowed the audio source for it to be reclaimed, hence the lack of audio?

I have added the source IDs into the logging, so we can see if that is the case (it could be a different ID is getting reclaimed, which is normal).

I can't repro this on my system, so you'll need to try the updated logging. Sorry I can't offer any better suggestions.

(Rebased the logging onto master, https://github.com/RoosterDragon/OpenRA/tree/sound-logging)

@GraionDilach
Copy link
Contributor Author

At this point I am really considering of creating some sort of a public and more straightforward testing environment because it didn't caught anything out of the ordinary either while the song was cut in the middle.

The sole thing I noticed out of interest was that when the game cuts the song itself during menu->game transition, the buffer is only reclaimed after the song would have ended on it's own anyway.

@GraionDilach
Copy link
Contributor Author

Note that considering I have seen this bug at one point during the RV streams, I think this happens when too many audio played at the same time and the game drops the music instead of a particular sound.

@Mailaender Mailaender added the Bug label Jan 13, 2020
@dnqbob
Copy link
Contributor

dnqbob commented Jan 18, 2020

Note that considering I have seen this bug at one point during the RV streams, I think this happens when too many audio played at the same time and the game drops the music instead of a particular sound.

I also think so.

@Smittytron
Copy link
Member

Closing per: #19660 (review)

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

No branches or pull requests

5 participants