Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SDL2_API: broken audio and no input
#1
I recently tried compiling pcsx2 with sdl2(-hg, 2.0.2).

SDL Audio makes a loud buzzing noise.

One pad doesn't accept any input.

Is SDL2_API known to work with any particular version of SDL2?

Here's my configuration:
Code:
cmake .. -DCMAKE_INSTALL_PREFIX='/usr' -DCMAKE_LIBRARY_PATH='/usr/lib32' \
             -DPLUGIN_DIR='/usr/lib32/pcsx2' -DGAMEINDEX_DIR='/usr/share/pcsx2'\
             -DCMAKE_BUILD_TYPE='Release' \
             -D{EXTRA_PLUGINS,PACKAGE_MODE,REBUILD_SHADER,XDG_STD}='TRUE' \
             -DWX28_API='FALSE' -DGLSL_API='TRUE' \
             -DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config-32' \
             -DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc-32' \
             -DSDL2_API='ON' -DSDL_INCLUDE_DIR='/usr/include/SDL2/' -DSDL_LIBRARY='/usr/lib32/libSDL2.so'

Note: Yes, I am building 32bit on 64; Yes, I have all of the required lib32 dependencies installed; Yes, they are installed correctly; Yes, I have tested other configurations to isolate this one as a problem, etc etc.
Reply

Sponsored links

#2
It used to work on debian version. But I didn't test is since a long time.

Hum which distribution (fedora)? Maybe wx is linked to SDL1 so you can't use SDL2.
Reply
#3
(08-28-2014, 08:01 PM)gregory Wrote: It used to work on debian version. But I didn't test is since a long time.

Hum which distribution (fedora)? Maybe wx is linked to SDL1 so you can't use SDL2.
Archlinux

I'll check wx; I'm using a custom build with lib32-wxgtk3-no-stl-gtk2.

By the way, I should make a thread for this here I suppose.

I have a little pet project related to PCSX2: mmug-qq

The purpose is to compile pcsx2 with a few dependency updates, with the end goal of porting to gtk3 (all that's left to do really).

I did manage to compile lib32-wxgtk3-no-stl-gtk3, but pcsx2's ui still needs to be (partially?) re-written.
Reply
#4
First, let's finish the port of PCSX2 to wx3. Then we could deals with gtk3.
Reply




Users browsing this thread: 1 Guest(s)