We have collected the most relevant information on Sdl_Audiodriver Pulseaudio. Open the URLs, which are collected below, and you will find all the info you are interested in.


PulseAudio and SDL1.2 vs. SDL2.0 -> SDL_AUDIODRIVER ...

    https://github.com/ValveSoftware/steam-for-linux/issues/1849
    You might just wanna try to set it (SDL_AUDIODRIVER) to 'pulse', then check which games still have working Audio, and then set it to 'pulseaudio'. If your problem is related to this bug/issue report then some games will have sound and others not, and as soon as you change it to 'pulse' (and restart steam to get the new env-settings) then the former working sound-games …

SDL_envvars - Simple DirectMedia Layer

    https://www.libsdl.org/release/SDL-1.2.15/docs/html/sdlenvvars.html
    SDL_AUDIODRIVER. Selects the audio driver for SDL to use. Possible values, in the order they are tried if this variable is not set: openbsd (OpenBSD) dsp (OSS /dev/dsp: Linux, Solaris, BSD etc) alsa (Linux) pulse (PulseAudio daemon) audio (Unix style /dev/audio: SunOS, Solaris etc) AL (Irix) artsc (ARTS audio daemon) esd (esound audio daemon ...

SDL pulseaudio workaround hack

    https://listman.redhat.com/archives/fedora-devel-list/2007-November/msg02217.html
    * Tue Oct 30 2007 Warren Togami <wtogami redhat com> - 1.2.8-4 - SDL_AUDIODRIVER=esd temporary hack until SDL supports pulseaudio directly avoids applications from locking up. (#358341) At the last minute before F-8's release I added this ugly hack to SDL_mixer to force SDL to use esd for sound instead of the default ALSA.

FS#71794 : [sdl] Cherry-pick comma-separated SDL ...

    https://bugs.archlinux.org/task/71794
    SDL 2.0.16 was recently published with support for PipeWire as an audio driver, as well as support for comma-separated lists in the SDL_AUDIODRIVER environment variable. When a comma-separated list of driver names like "pipewire,pulseaudio,alsa" is given instead of a single driver name, SDL is able to fall back to later ones if earlier ones aren't available.

SDL_CloseAudio takes 2 seconds to return when using …

    https://github.com/libsdl-org/SDL-1.2/issues/673
    Does this still hang for 2 seconds on modern PulseAudio installs? Someone mentioned a newer (now also old) Pulse fixed this. Tried on a newish (now old) Linux setup with pulseaudio-12.2, no delays. My old CentOS-6.10 with pulseaudio-0.9.21 does have the annoying delay and gets fixed by the patch.

FAQUsingSDL - SDL Wiki

    https://wiki.libsdl.org/FAQUsingSDL
    You can disable this behavior by setting the environment variable: SDL_VIDEO_ALLOW_SCREENSAVER=1 This can be set globally for the user or on a per-application basis in code. In SDL 2.0.2 this can also be changed by setting the hint SDL_HINT_VIDEO_ALLOW_SCREENSAVER. Additionally, SDL 2.0 provides the function …

No Sound at all, but works fine for other Steam games ...

    https://github.com/ValveSoftware/portal2/issues/165
    Explicitly declaring PulseAudio. Furthermore, I also followed an older suggestion on the OpenSuse forums and started steam as as follows: SDL_AUDIODRIVER=pulseaudio steam, but I did not notice a change either - still no audio at all in Portal2. Console Output

Crash when game uses XAudio-2.7+ with Proton-5.13+ on ...

    https://github.com/ValveSoftware/steam-runtime/issues/357
    the pressure-vessel messages report a SDL_AUDIODRIVER=alsa override: steam.log.gz; Even though the steam process was launched with SDL_AUDIODRIVER=pulseaudio LC_ALL=C LANG=C PRESSURE_VESSEL_VERBOSE=1 steam &> /tmp/steam.log &, the SDL driver is indeed forced to ALSA via an override that is added while packaging the steam client …

SDL :: View topic - Couldn't open audio device: No ...

    https://forums.libsdl.org/viewtopic.php?t=7609
    If you built your own SDL, you probably didn't have development headers for PulseAudio (or ALSA), so it's trying to use /dev/dsp, which doesn't exist on many modern Linux systems (hence, SDL_Init(SDL_INIT_AUDIO) succeeds, but no devices are found when you try to open one). "apt-get install libasound2-dev libpulse-dev" and rebuild SDL...let the configure script find the new …

SDL_OpenAudioDevice - SDL Wiki

    https://wiki.libsdl.org/SDL_OpenAudioDevice
    desired->silence is the value used to set the buffer to silence, and is calculated by SDL_OpenAudioDevice (). You don't initialize this. desired->callback should be set to a function that will be called when the audio device is ready for more data. It is passed a pointer to the audio buffer, and the length in bytes of the audio buffer.

Now you know Sdl_Audiodriver Pulseaudio

Now that you know Sdl_Audiodriver Pulseaudio, we suggest that you familiarize yourself with information on similar questions.