154 | | There are some settings in the game related to volume levels. From the main menu, click Settings, Options, Sound. |
155 | | |
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. |
| 154 | There are some settings in the game related to volume levels. From the main menu, click Settings, Options, Sound. |
| 155 | |
| 156 | If you connect a sound device after you start 0 A.D. then it is necessary to configure it to the default sound device in your operating system, then restart 0 A.D. in order for it to be detected. |
| 157 | |
| 158 | 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**, and on Windows is stored in %AppData%\alsoft**.ini**. If it does not already exist then download [https://raw.githubusercontent.com/kcat/openal-soft/master/alsoftrc.sample alsoftrc.sample], rename it to the appropriate name for your OS and store it in the correct location, listed earlier. |
| 159 | |
| 160 | Ensure that the correct "driver", also known as "audio backend", is being used by OpenAL. 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]. |
| 161 | |
| 162 | Recommended OpenAL drivers configuration statement: |
| 163 | * Linux: {{{drivers = pulse,alsa,}}} |
| 164 | * Mac: {{{drivers = core,}}} |
| 165 | * Windows: {{{drivers = wasapi,}}} |
| 166 | |
| 167 | Note that OpenAL driver availability depends on your operating system and compile-time choices for your copy of the OpenAL library. The [https://github.com/kcat/openal-soft#utilities openal-info] utility lists detected devices. If you are using Linux then openal-info may be available for your distribution in a package called, for example, openal-info. |