alsoftrc.sample 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. # OpenAL config file. Options that are not under a block or are under the
  2. # [general] block are for general, non-backend-specific options. Blocks may
  3. # appear multiple times, and duplicated options will take the last value
  4. # specified.
  5. # The system-wide settings can be put in /etc/openal/alsoft.conf and user-
  6. # specific override settings in ~/.alsoftrc.
  7. # For Windows, these settings should go into %AppData%\alsoft.ini
  8. # The environment variable ALSOFT_CONF can be used to specify another config
  9. # override
  10. # Option and block names are case-insenstive. The supplied values are only
  11. # hints and may not be honored (though generally it'll try to get as close as
  12. # possible). Note: options that are left unset may default to app- or system-
  13. # specified values. These are the current available settings:
  14. ## format:
  15. # Sets the output format. Can be one of:
  16. # AL_FORMAT_MONO8 (8-bit mono)
  17. # AL_FORMAT_STEREO8 (8-bit stereo)
  18. # AL_FORMAT_QUAD8 (8-bit 4-channel)
  19. # AL_FORMAT_51CHN8 (8-bit 5.1 output)
  20. # AL_FORMAT_61CHN8 (8-bit 6.1 output)
  21. # AL_FORMAT_71CHN8 (8-bit 7.1 output)
  22. # AL_FORMAT_MONO16 (16-bit mono)
  23. # AL_FORMAT_STEREO16 (16-bit stereo)
  24. # AL_FORMAT_QUAD16 (16-bit 4-channel)
  25. # AL_FORMAT_51CHN16 (16-bit 5.1 output)
  26. # AL_FORMAT_61CHN16 (16-bit 6.1 output)
  27. # AL_FORMAT_71CHN16 (16-bit 7.1 output)
  28. # AL_FORMAT_MONO32 (32-bit float mono)
  29. # AL_FORMAT_STEREO32 (32-bit float stereo)
  30. # AL_FORMAT_QUAD32 (32-bit float 4-channel)
  31. # AL_FORMAT_51CHN32 (32-bit float 5.1 output)
  32. # AL_FORMAT_61CHN32 (32-bit float 6.1 output)
  33. # AL_FORMAT_71CHN32 (32-bit float 7.1 output)
  34. #format = AL_FORMAT_STEREO16
  35. ## hrtf:
  36. # Enables HRTF filters. These filters provide for better sound spatialization
  37. # while using headphones. The default filter will only work when output is
  38. # 44100hz stereo. While HRTF is active, the cf_level option is disabled.
  39. # Default is disabled since stereo speaker output quality may suffer.
  40. #hrtf = false
  41. ## cf_level:
  42. # Sets the crossfeed level for stereo output. Valid values are:
  43. # 0 - No crossfeed
  44. # 1 - Low crossfeed
  45. # 2 - Middle crossfeed
  46. # 3 - High crossfeed (virtual speakers are closer to itself)
  47. # 4 - Low easy crossfeed
  48. # 5 - Middle easy crossfeed
  49. # 6 - High easy crossfeed
  50. # Users of headphones may want to try various settings. Has no effect on non-
  51. # stereo modes.
  52. #cf_level = 0
  53. ## frequency:
  54. # Sets the output frequency.
  55. #frequency = 44100
  56. ## resampler:
  57. # Selects the resampler used when mixing sources. Valid values are:
  58. # 0 - None (nearest sample, no interpolation)
  59. # 1 - Linear (extrapolates samples using a linear slope between samples)
  60. # 2 - Cubic (extrapolates samples using a Catmull-Rom spline)
  61. # Specifying other values will result in using the default (linear).
  62. #resampler = 1
  63. ## rt-prio:
  64. # Sets real-time priority for the mixing thread. Not all drivers may use this
  65. # (eg. PortAudio) as they already control the priority of the mixing thread.
  66. # 0 and negative values will disable it. Note that this may constitute a
  67. # security risk since a real-time priority thread can indefinitely block
  68. # normal-priority threads if it fails to wait. As such, the default is
  69. # disabled.
  70. #rt-prio = 0
  71. ## period_size:
  72. # Sets the update period size, in frames. This is the number of frames needed
  73. # for each mixing update.
  74. #period_size = 1024
  75. ## periods:
  76. # Sets the number of update periods. Higher values create a larger mix ahead,
  77. # which helps protect against skips when the CPU is under load, but increases
  78. # the delay between a sound getting mixed and being heard.
  79. #periods = 4
  80. ## sources:
  81. # Sets the maximum number of allocatable sources. Lower values may help for
  82. # systems with apps that try to play more sounds than the CPU can handle.
  83. #sources = 256
  84. ## stereodup:
  85. # Sets whether to duplicate stereo sounds behind the listener for 4+ channel
  86. # output. This provides a "fuller" playback quality for surround sound output
  87. # modes, although each individual speaker will have a slight reduction in
  88. # volume to compensate for the extra output speakers. True, yes, on, and non-0
  89. # values will duplicate stereo sources. 0 and anything else will cause stereo
  90. # sounds to only play in front. This only has an effect when a suitable output
  91. # format is used (ie. those that contain side and/or rear speakers).
  92. #stereodup = true
  93. ## drivers:
  94. # Sets the backend driver list order, comma-seperated. Unknown backends and
  95. # duplicated names are ignored. Unlisted backends won't be considered for use
  96. # unless the list is ended with a comma (eg. 'oss,' will list OSS first
  97. # followed by all other available backends, while 'oss' will list OSS only).
  98. # Backends prepended with - won't be available for use (eg. '-oss,' will allow
  99. # all available backends except OSS). An empty list means the default.
  100. #drivers = pulse,alsa,core,oss,solaris,sndio,mmdevapi,dsound,winmm,port,opensl,null,wave
  101. ## excludefx:
  102. # Sets which effects to exclude, preventing apps from using them. This can
  103. # help for apps that try to use effects which are too CPU intensive for the
  104. # system to handle. Available effects are: eaxreverb,reverb,echo,modulator,
  105. # dedicated
  106. #excludefx =
  107. ## slots:
  108. # Sets the maximum number of Auxiliary Effect Slots an app can create. A slot
  109. # can use a non-negligible amount of CPU time if an effect is set on it even
  110. # if no sources are feeding it, so this may help when apps use more than the
  111. # system can handle.
  112. #slots = 4
  113. ## sends:
  114. # Sets the number of auxiliary sends per source. When not specified (default),
  115. # it allows the app to request how many it wants. The maximum value currently
  116. # possible is 4.
  117. #sends =
  118. ## layout:
  119. # Sets the virtual speaker layout. Values are specified in degrees, where 0 is
  120. # straight in front, negative goes left, and positive goes right. Unspecified
  121. # speakers will remain at their default positions (which are dependant on the
  122. # output format). Available speakers are back-left(bl), side-left(sl), front-
  123. # left(fl), front-center(fc), front-right(fr), side-right(sr), back-right(br),
  124. # and back-center(bc).
  125. #layout =
  126. ## layout_*:
  127. # Channel-specific layouts may be specified to override the layout option. The
  128. # same speakers as the layout option are available, and the default settings
  129. # are shown below.
  130. #layout_STEREO = fl=-90, fr=90
  131. #layout_QUAD = fl=-45, fr=45, bl=-135, br=135
  132. #layout_51CHN = fl=-30, fr=30, fc=0, bl=-110, br=110
  133. #layout_61CHN = fl=-30, fr=30, fc=0, sl=-90, sr=90, bc=180
  134. #layout_71CHN = fl=-30, fr=30, fc=0, sl=-90, sr=90, bl=-150, br=150
  135. ## trap-alc-error:
  136. # Generates a SIGTRAP signal when an ALC device error is generated, on systems
  137. # that support it. This helps when debugging, while trying to find the cause
  138. # of a device error. On Windows, a breakpoint exception is generated.
  139. # Optionally, the __ALSOFT_TRAP_ALC_ERROR env var may be set before running
  140. # the app instead.
  141. #trap-alc-error = false
  142. ## trap-al-error:
  143. # Generates a SIGTRAP signal when an AL context error is generated, on systems
  144. # that support it. This helps when debugging, while trying to find the cause
  145. # of a context error. On Windows, a breakpoint exception is generated.
  146. # Optionally, the __ALSOFT_TRAP_AL_ERROR env var may be set before running the
  147. # app instead.
  148. #trap-al-error = false
  149. ##
  150. ## Reverb effect stuff (includes EAX reverb)
  151. ##
  152. [reverb]
  153. ## boost:
  154. # A global amplification for reverb output, expressed in decibels. The value
  155. # is logarithmic, so +6 will be a scale of (approximately) 2x, +12 will be a
  156. # scale of 4x, etc. Similarly, -6 will be about half, and -12 about 1/4th. A
  157. # value of 0 means no change.
  158. #boost = 0
  159. ## emulate-eax:
  160. # Allows the standard reverb effect to be used in place of EAX reverb. EAX
  161. # reverb processing is a bit more CPU intensive than standard, so this option
  162. # allows a simpler effect to be used at the loss of some quality.
  163. #emulate-eax = false
  164. ##
  165. ## ALSA backend stuff
  166. ##
  167. [alsa]
  168. ## device:
  169. # Sets the device name for the default playback device.
  170. #device = default
  171. ## device-prefix:
  172. # Sets the prefix used by the discovered (non-default) playback devices. This
  173. # will be appended with "CARD=c,DEV=d", where c is the card id and d is the
  174. # device index for the requested device name.
  175. #device-prefix = plughw:
  176. ## capture:
  177. # Sets the device name for the default capture device.
  178. #capture = default
  179. ## capture-prefix:
  180. # Sets the prefix used by the discovered (non-default) capture devices. This
  181. # will be appended with "CARD=c,DEV=d", where c is the card number and d is
  182. # the device number for the requested device name.
  183. #capture-prefix = plughw:
  184. ## mmap:
  185. # Sets whether to try using mmap mode (helps reduce latencies and CPU
  186. # consumption). If mmap isn't available, it will automatically fall back to
  187. # non-mmap mode. True, yes, on, and non-0 values will attempt to use mmap. 0
  188. # and anything else will force mmap off.
  189. #mmap = true
  190. ##
  191. ## OSS backend stuff
  192. ##
  193. [oss]
  194. ## device:
  195. # Sets the device name for OSS output.
  196. #device = /dev/dsp
  197. ## capture:
  198. # Sets the device name for OSS capture.
  199. #capture = /dev/dsp
  200. ##
  201. ## Solaris backend stuff
  202. ##
  203. [solaris]
  204. ## device:
  205. # Sets the device name for Solaris output.
  206. #device = /dev/audio
  207. ##
  208. ## MMDevApi backend stuff
  209. ##
  210. [mmdevapi]
  211. ##
  212. ## DirectSound backend stuff
  213. ##
  214. [dsound]
  215. ##
  216. ## Windows Multimedia backend stuff
  217. ##
  218. [winmm]
  219. ##
  220. ## PortAudio backend stuff
  221. ##
  222. [port]
  223. ## device:
  224. # Sets the device index for output. Negative values will use the default as
  225. # given by PortAudio itself.
  226. #device = -1
  227. ## capture:
  228. # Sets the device index for capture. Negative values will use the default as
  229. # given by PortAudio itself.
  230. #capture = -1
  231. ##
  232. ## PulseAudio backend stuff
  233. ##
  234. [pulse]
  235. ## spawn-server:
  236. # Attempts to spawn a PulseAudio server when requesting to open a PulseAudio
  237. # device. Note that some apps may open and probe all enumerated devices on
  238. # startup, causing a server to spawn even if a PulseAudio device is not
  239. # actually selected. Setting autospawn to false in Pulse's client.conf will
  240. # still prevent autospawning even if this is set to true.
  241. #spawn-server = false
  242. ##
  243. ## Wave File Writer stuff
  244. ##
  245. [wave]
  246. ## file:
  247. # Sets the filename of the wave file to write to. An empty name prevents the
  248. # backend from opening, even when explicitly requested.
  249. # THIS WILL OVERWRITE EXISTING FILES WITHOUT QUESTION!
  250. #file =