Commit d093252
committed
Add ALSA null device configuration to prevent audio crash
Create ~/.config/alsa/asoundrc with a null PCM device. This allows
OpenAL/ALSA to initialize without crashing even when there's no real
audio hardware in CI.
Previous attempts:
- snd_disable config: ignored by Spring
- --nosound flag: doesn't exist
- SDL_AUDIODRIVER=dummy: didn't prevent ALSA init
This should finally work!1 parent 5b5b7cc commit d093252
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
69 | 83 | | |
70 | 84 | | |
71 | 85 | | |
| |||
0 commit comments