156 | | Assuming that when 0 A.D. is not running then sound works for other apps, all other sound troubleshooting likely involves troubleshooting OpenAL on your system. This is because 0 A.D. uses the OpenAL sound system for audio output. Check the OpenAL configuration, which on Linux and Mac is stored at /etc/openal/alsoft.conf. If it does not already exist then download [https://raw.githubusercontent.com/kcat/openal-soft/master/alsoftrc.sample alsoftrc.sample], rename it to alsoft.conf and store it there. |
157 | | |
158 | | Ensure that the correct "driver", also known as "audio backend", is being used. There are reports from users where unexpected drivers were used by OpenAL, for example trying to use jack, failing, next using alsa instead of Pulseaudio. The only documentation easily found about the OpenAL configuration is in the comments within alsoftrc.sample. When referencing drivers in the OpenAL configuration, use the name of the audio backend within the quote marks at [https://github.com/kcat/openal-soft/blob/master/alc/alc.cpp#L199 alc.cpp]. Recommended are "pulse" or "alsa" for Linux, "core" for Mac, or "wasapi" for Windows. Note that driver availability depends on your operating system and compile-time choices for your copy of the OpenAL library. |
| 156 | Assuming that sound works for other apps while 0 A.D. is not running then troubleshooting the sound output of 0 A.D. likely involves troubleshooting OpenAL on your system. This is because 0 A.D. uses the OpenAL sound system for audio output. Check the OpenAL configuration, which on Linux and Mac is stored at /etc/openal/alsoft.conf. If it does not already exist then download [https://raw.githubusercontent.com/kcat/openal-soft/master/alsoftrc.sample alsoftrc.sample], rename it to alsoft.conf and store it there. |
| 157 | |
| 158 | Ensure that the correct "driver", also known as "audio backend", is being used. There are reports from users where unexpected drivers were used by OpenAL, for example trying to use jack, failing, next using alsa instead of Pulseaudio. The only documentation easily found about the OpenAL configuration is in the comments within alsoft.conf. When referencing drivers in the OpenAL configuration, use the name of the audio backend within the quote marks at [https://github.com/kcat/openal-soft/blob/master/alc/alc.cpp#L199 alc.cpp]. |
| 159 | |
| 160 | Recommended OpenAL drivers: |
| 161 | * Linux: pulse, alsa |
| 162 | * Mac: core |
| 163 | * Windows: wasapi |
| 164 | |
| 165 | Note that driver availability depends on your operating system and compile-time choices for your copy of the OpenAL library. |