Giter VIP home page Giter VIP logo

Comments (4)

rderooy avatar rderooy commented on September 26, 2024 1

DOSBox-X is using your existing SDL2. But it would appear that this SDL2 build was compiled without sound support, which would explain why only dummy works.

from dosbox-x.

maron2000 avatar maron2000 commented on September 26, 2024 1

Built the latest code on ArchLinux and pulseaudio is working fine, with and without setting SDL_AUDIODRIVER.
I used build-sdl2 script.

% src/dosbox-x                                                   (git)-[master]
LOG: Early LOG Init complete
LOG: DOSBox-X's working directory: /home/maron/dosbox-x-1
LOG: Logging init: beginning logging proper. This is the end of the early init logging
LOG: Logging: No logfile was given. All further logging will be discarded.
LOG: DOSBox-X version 2023.10.06 Commit 59744fe (Linux SDL2 64-bit)
LOG: SDL: version 2.30.0, Video x11, Audio pulseaudio

from dosbox-x.

goph-R avatar goph-R commented on September 26, 2024

Ok, whenever I will have time, I would compile SDL2 myself and check the result. I will document the results here. Thanks for the answers!

from dosbox-x.

goph-R avatar goph-R commented on September 26, 2024

I gave a try with build-debug (with the included SDL source) and it works:

gopher@titan:~/Projects/dosbox-x$
sudo apt install mesa-common-dev libglfw3-dev libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev
./build-debug
cd src
./dosbox-x

Maybe some of the packages not needed, and maybe I missing some that I installed earlier.

For having MIDI installed a soundfont:

sudo apt install fluid-soundfont-gm

Then I configured it:
dosbox-x-fluidsynth-midi

The path for the soundfont on Debian 12 in default is /usr/share/sounds/sf3/default-GM.sf3

I had a crackling sound whenever a digital sound was played, for fixing it I set the CPU cycles to 486 100Mhz + fix 60 fps, and now everything works perfectly.

from dosbox-x.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.