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 goes away and never comes back when changing DOS videomode frequently #38

Open
vanfanel opened this issue Jan 7, 2022 · 2 comments

Comments

@vanfanel
Copy link
Contributor

vanfanel commented Jan 7, 2022

Sorry for opening so many issues, @realnc , I promise this one will be the last for now.

You can easily see the problem in Jazz Jackrabbit, which changes emulated DOS videomode frequently: go from main menu (tittle screen) to game, and back to main menu, back to game... You will see audio breaks and doesn't come back anymore.

I am using 1000 cycles here, but I have seen the same effect with other numbers of dosbox cycles. According to TOP, CPU usage is ~25%.

Sound dropouts are expected when changing the DOS videomode, but sound not coming back seems like an specific dosbox-core bug (I could be wrong of course).

Using EXTERNAL framerate timing.

@vanfanel vanfanel changed the title Audio goes away and never comes back when changing DOS videomode Audio goes away and never comes back when changing DOS videomode frequently Jan 7, 2022
@realnc
Copy link
Owner

realnc commented Jan 7, 2022

Works fine here. Have you configured the game's audio driver correctly? For Jazz Jackrabbit, you need to run SETUP and configure the driver there to match your core settings. For this game, the best configuration is to disable Sound Blaster support in the core options and enable Gravis Ultrasound support. Then run SETUP.EXE and choose "Gravis Ultrasound" there.

@vanfanel
Copy link
Contributor Author

vanfanel commented Jan 8, 2022

@realnc Yes, yes, of course I have run setup.exe and configured the game audio.
The problem happens both with SoundBlaster and GUS.

GUS is not that optimal with this game, BTW: it offers superior audio quality but scroll has hiccups with it. But that's NOT a dosbox-core problem, that's how the game works.

Now, the vanishing audio is a real dosbox-core bug. You have to try several times.

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

2 participants