SDL/src
David Gow 3261f7f6ce audio: Support "pulse" as an alias for "pulseaudio"
Originally, SDL 1.2 used "pulse" as the name for its PulseAudio driver.
While it now supports "pulseaudio" as well for compatibility with SDL
2.0 [1], there are still scripts and distro packages which set
SDL_AUDIODRIVER=pulse [2]. While it's possible to remove this in most
circumstances or replace it with "pulseaudio" or a comma-separated list,
this may still conflict if the environment variable is set globally and
old binary builds of SDL 1.2 (e.g. packaged with older games) are being
used.

To fix this on SDL 2.0, add a hardcoded check for "pulse" as an audio
driver name, and replace it with "pulseaudio". This mimics what SDL 1.2
does (but in reverse). Note that setting driver_attempt{,_len} is safe
here as they're reset correctly based on driver_attempt_end on the next
loop.

[1] d951409784
[2] https://bugzilla.opensuse.org/show_bug.cgi?id=1189778
2021-08-25 22:43:32 -10:00
..
atomic spinlock: Favor gcc-style atomics over MSVC interfaces. 2021-07-27 13:45:33 -04:00
audio audio: Support "pulse" as an alias for "pulseaudio" 2021-08-25 22:43:32 -10:00
core dbus: Wrap init in a spinlock. 2021-08-04 13:30:12 -04:00
cpuinfo Fix pointer provenance in SDL_SIMDRealloc 2021-07-29 14:42:15 -07:00
dynapi Fix dynapi prototypes 2021-08-19 00:10:59 +02:00
events Use the new SDL_clamp() macro where sensible 2021-08-14 09:01:14 -07:00
file
filesystem
haptic
hidapi Fixed building on Windows with cmake, ninja, and clang 2021-08-06 12:28:24 -07:00
joystick Don't modify the Nintendo Switch home LED state by default 2021-08-25 14:42:16 -07:00
libm
loadso
locale
main Updated to version 2.0.17 for development 2021-08-10 15:02:36 -07:00
misc unix: OpenURL: Move unsetenv above vfork 2021-08-01 03:58:49 -07:00
power
render Fixed bug #4671 - D3D_QueueGeometry: use "count / 3" (Thanks alittlesail!) 2021-08-20 07:50:30 +02:00
sensor
stdlib Fixed building on Windows with cmake, ninja, and clang 2021-08-06 12:28:24 -07:00
test Added Ctrl-T to toggle topmost mode in test programs 2021-08-13 17:53:39 -07:00
thread configuration updates for dlopen: 2021-08-10 12:07:32 -07:00
timer
video Search for an appropiate plane instead of simply using the first one. 2021-08-25 10:51:26 -10:00
SDL.c
SDL_assert.c
SDL_assert_c.h
SDL_dataqueue.c
SDL_dataqueue.h
SDL_error.c
SDL_error_c.h
SDL_hints.c
SDL_hints_c.h
SDL_internal.h Add SDL_HAVE_RENDER_GEOMETRY to compile or not with RenderGeometry support 2021-08-19 00:10:59 +02:00
SDL_log.c log: Fixed compiler warnings on 64-bit Visual Studio. 2021-08-04 02:34:09 -04:00