Open theroflol opened 11 months ago
Thanks for the info on the registry keys. I see the same issue. As for audio, Wine does the mixing and gives it to Boxedwine as a stereo stream. Boxedwine is far from perfect for audio. I mainly struggle around delay since Boxedwine/SDL introduces another buffer. As for this particular issue, I'm not sure what could be the issue. If you are running the 64-bit Windows version of Boxedwine, performance shouldn't be an issue. For most other platforms that Boxedwine supports, slow performance can affect audio.
For anyone interested, here is the code for the Boxedwine/Wine interface. It basically just supplies the necessary interfaces and forwards commands to Boxedwine which gives it to SDL.
// inside emulation code / interface with Wine https://github.com/danoon2/Boxedwine/blob/master/tools/wineboxedaudio.drv/mmdevdrv.c
// native code / receives commands/msgs from mmdevdrv.c https://github.com/danoon2/Boxedwine/blob/master/platform/sdl/knativeaudio.cpp
I am using version 20.1.2 of Boxedwine. When playing 3D Pinball: Space cadet on Boxedwine, the audio seems to be off and the controls menu does not display correctly.
The controls menu looks like this:
This is not usable, but I did work around it by configuring an installation outside of Boxedwine then copying the necessary registry keys.
The audio also seems off. My best guess is it is queuing sound effects and playing them in order rather than allowing them to play simultaneously. In any case, it is most pronounced when hitting the flippers rapidly and when spinning the white flags.
I can provide video footage of both issues if need be.