FS#65282 - [steam] alsa_sdl_audiodriver.patch is inconvinient for sandboxes because how it tests for pulseaudio
Attached to Project:
Community Packages
Opened by igo95862 (igo95862) - Monday, 27 January 2020, 06:13 GMT
Last edited by Levente Polyak (anthraxx) - Tuesday, 12 May 2020, 22:28 GMT
Opened by igo95862 (igo95862) - Monday, 27 January 2020, 06:13 GMT
Last edited by Levente Polyak (anthraxx) - Tuesday, 12 May 2020, 22:28 GMT
|
Details
Description:
Right now what it does is run: if ! pulseaudio --check &>/dev/null; then export SDL_AUDIODRIVER=alsa fi "pulseaudio --check" is not going to work if you are passing pulseaudio in to sandbox. This is because it needs to read stuff from /proc/{pulse_server_pid}/ Obviously if you are running sandbox you don't want to pass global /proc/ filesystem. Instead of using "pulseaudio --check" I suggest something like "test -e $XDG_RUNTIME_DIR/pulse/native" Additional info: * package version: 1.0.0.61-3 |
This task depends upon
Closed by Levente Polyak (anthraxx)
Tuesday, 12 May 2020, 22:28 GMT
Reason for closing: Deferred
Additional comments about closing: fixed in 1.0.0.62-1 as we have dropped the alsa patch, it shouldn't be required with up to date SDL
Tuesday, 12 May 2020, 22:28 GMT
Reason for closing: Deferred
Additional comments about closing: fixed in 1.0.0.62-1 as we have dropped the alsa patch, it shouldn't be required with up to date SDL