-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
Confidential Mission - Missing sounds #472
Comments
Some reload sounds are missing at some times. However it seems to be intermittent. Same behavior in dreamcast and Naomi versions. |
Should be fixed in the latest dev build. |
Tested with the latest dev build and it works like a charm! Thanks |
CA was reset to 0 for non-looping sound when ending, but not for looping ones when they reach full attenuation. This confuses some games. Disable the channel when it reaches full attenuation and reset CA to 0. Revert a7702c6 Issue #1602 Better fix for Issues #472, #483, #1180, #1249, #1030 (partial)
I might have a clue as to why disabling the channel causes problems: after AegStep() is called and disables the channel because max attenuation is reached, StreamStep() is still called and will decode one or more samples and increase CA. StepAEG(this);
- StepFEG(this);
- StepStream(this);
- lfo.Step(this);
+ if (enabled)
+ {
+ StepFEG(this);
+ StepStream(this);
+ lfo.Step(this);
+ } Can you test this change? (I'm having a hard time reproducing this issue consistently) |
Fixed on master |
Some sounds, especially the reload one, are skipped/not played on Naomi and Dreamcast.
It starts at the beginning of the game, just after the first corner.
Configuration : Windows 10, flycast standalone (latest nightly)
The text was updated successfully, but these errors were encountered: