Menu

#120 new option for configure.ac

v1.6.0
closed
5
2021-03-06
2017-11-13
kov_serg
No

ALSA sound has problems on some sound cards. This couse high cpu speed aboud 2000%. Could you add option into configure.ac to use SDL sound with GTK-UI. SDL sound works with out any issue.

  --with-sdl_sound
  --without-sdl_ui

Discussion

  • Alberto Garcia

    Alberto Garcia - 2019-01-05

    So at the moment it's indeed impossible to select the SDL audio driver unless you also use the SDL UI, and it's also impossible to use the SDL UI but have a different audio driver.

    But it's not just that, we have 4 different audio drivers for Linux (alsa, sdl, oss, libao) and perhaps we might have more in the future (pulseaudio?). So instead of adding options to enable/disable each one of them I thought it would be much better to have a single generic option to select which one to enable. If the option is not used a default driver would be chosen, the same as before.

    I split the work in three patches for clarity:

    1) Remove duplicate AM_PATH_SDL in configure.ac
    2) Add new --with-audio-driver option
    3) Fix detection of Solaris and HP/UX audio drivers

    The patches were created with git-format-patch so you can apply them with "git am <patch-file>" and keep the commit messages.</patch-file>

     
  • Sergio Baldoví

    Sergio Baldoví - 2019-01-06
    • assigned_to: Sergio Baldoví
    • Group: future --> NextRelease
     
  • Sergio Baldoví

    Sergio Baldoví - 2019-01-13
    • labels: SDL-Sound, configure --> SDL-Sound, configure, autoconf
    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.