alsoftrc.sample 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  1. # OpenAL config file.
  2. #
  3. # Option blocks may appear multiple times, and duplicated options will take the
  4. # last value specified. Environment variables may be specified within option
  5. # values, and are automatically substituted when the config file is loaded.
  6. # Environment variable names may only contain alpha-numeric characters (a-z,
  7. # A-Z, 0-9) and underscores (_), and are prefixed with $. For example,
  8. # specifying "$HOME/file.ext" would typically result in something like
  9. # "/home/user/file.ext". To specify an actual "$" character, use "$$".
  10. #
  11. # The system-wide settings can be put in /etc/openal/alsoft.conf and user-
  12. # specific override settings in $HOME/.alsoftrc.
  13. # For Windows, these settings should go into $AppData\alsoft.ini
  14. #
  15. # Option and block names are case-insenstive. The supplied values are only
  16. # hints and may not be honored (though generally it'll try to get as close as
  17. # possible). Note: options that are left unset may default to app- or system-
  18. # specified values. These are the current available settings:
  19. ##
  20. ## General stuff
  21. ##
  22. [general]
  23. ## disable-cpu-exts:
  24. # Disables use of specialized methods that use specific CPU intrinsics.
  25. # Certain methods may utilize CPU extensions for improved performance, and
  26. # this option is useful for preventing some or all of those methods from being
  27. # used. The available extensions are: sse, sse2, sse4.1, and neon. Specifying
  28. # 'all' disables use of all such specialized methods.
  29. #disable-cpu-exts =
  30. ## channels:
  31. # Sets the output channel configuration. If left unspecified, one will try to
  32. # be detected from the system, and defaulting to stereo. The available values
  33. # are: mono, stereo, quad, surround51, surround61, surround71
  34. #channels =
  35. ## sample-type:
  36. # Sets the output sample type. Currently, all mixing is done with 32-bit float
  37. # and converted to the output sample type as needed. Available values are:
  38. # int8 - signed 8-bit int
  39. # uint8 - unsigned 8-bit int
  40. # int16 - signed 16-bit int
  41. # uint16 - unsigned 16-bit int
  42. # int32 - signed 32-bit int
  43. # uint32 - unsigned 32-bit int
  44. # float32 - 32-bit float
  45. #sample-type = float32
  46. ## hrtf:
  47. # Enables HRTF filters. These filters provide for better sound spatialization
  48. # while using headphones. The default filter will only work when output is
  49. # 44100hz stereo. While HRTF is active, the cf_level option is disabled.
  50. # Default is disabled since stereo speaker output quality may suffer.
  51. #hrtf = false
  52. ## hrtf_tables
  53. # Specifies a comma-separated list of files containing HRTF data sets. The
  54. # format of the files are described in hrtf.txt. The filenames may contain
  55. # these markers, which will be replaced as needed:
  56. # %r - Device sampling rate
  57. # %% - Percent sign (%)
  58. # The listed files are relative to system-dependant data directories. On
  59. # Windows this is:
  60. # $AppData\openal\hrtf
  61. # And on other systems, it's (in order):
  62. # $XDG_DATA_HOME/openal/hrtf (defaults to $HOME/.local/share/openal/hrtf)
  63. # $XDG_DATA_DIRS/openal/hrtf (defaults to /usr/local/share/openal/hrtf and
  64. # /usr/share/openal/hrtf)
  65. # An absolute path may also be specified, if the given file is elsewhere.
  66. #hrtf_tables = default-%r.mhr
  67. ## cf_level:
  68. # Sets the crossfeed level for stereo output. Valid values are:
  69. # 0 - No crossfeed
  70. # 1 - Low crossfeed
  71. # 2 - Middle crossfeed
  72. # 3 - High crossfeed (virtual speakers are closer to itself)
  73. # 4 - Low easy crossfeed
  74. # 5 - Middle easy crossfeed
  75. # 6 - High easy crossfeed
  76. # Users of headphones may want to try various settings. Has no effect on non-
  77. # stereo modes.
  78. #cf_level = 0
  79. ## wide-stereo:
  80. # Specifies that stereo sources are given a width of about 120 degrees on each
  81. # channel, centering on -90 (left) and +90 (right), as opposed to being points
  82. # placed at -30 (left) and +30 (right). This can be useful for surround-sound
  83. # to give stereo sources a more encompassing sound. Note that the sound's
  84. # overall volume will be slightly reduced to account for the extra output.
  85. #wide-stereo = false
  86. ## frequency:
  87. # Sets the output frequency. If left unspecified it will try to detect a
  88. # default from the system, otherwise it will default to 44100.
  89. #frequency =
  90. ## resampler:
  91. # Selects the resampler used when mixing sources. Valid values are:
  92. # point - nearest sample, no interpolation
  93. # linear - extrapolates samples using a linear slope between samples
  94. # cubic - extrapolates samples using a Catmull-Rom spline
  95. # Specifying other values will result in using the default (linear).
  96. #resampler = linear
  97. ## rt-prio:
  98. # Sets real-time priority for the mixing thread. Not all drivers may use this
  99. # (eg. PortAudio) as they already control the priority of the mixing thread.
  100. # 0 and negative values will disable it. Note that this may constitute a
  101. # security risk since a real-time priority thread can indefinitely block
  102. # normal-priority threads if it fails to wait. As such, the default is
  103. # disabled.
  104. #rt-prio = 0
  105. ## period_size:
  106. # Sets the update period size, in frames. This is the number of frames needed
  107. # for each mixing update. Acceptable values range between 64 and 8192.
  108. #period_size = 1024
  109. ## periods:
  110. # Sets the number of update periods. Higher values create a larger mix ahead,
  111. # which helps protect against skips when the CPU is under load, but increases
  112. # the delay between a sound getting mixed and being heard. Acceptable values
  113. # range between 2 and 16.
  114. #periods = 4
  115. ## sources:
  116. # Sets the maximum number of allocatable sources. Lower values may help for
  117. # systems with apps that try to play more sounds than the CPU can handle.
  118. #sources = 256
  119. ## drivers:
  120. # Sets the backend driver list order, comma-seperated. Unknown backends and
  121. # duplicated names are ignored. Unlisted backends won't be considered for use
  122. # unless the list is ended with a comma (e.g. 'oss,' will try OSS first before
  123. # other backends, while 'oss' will try OSS only). Backends prepended with -
  124. # won't be considered for use (e.g. '-oss,' will try all available backends
  125. # except OSS). An empty list means to try all backends.
  126. #drivers =
  127. ## excludefx:
  128. # Sets which effects to exclude, preventing apps from using them. This can
  129. # help for apps that try to use effects which are too CPU intensive for the
  130. # system to handle. Available effects are: eaxreverb,reverb,autowah,chorus,
  131. # compressor,distortion,echo,equalizer,flanger,modulator,dedicated
  132. #excludefx =
  133. ## slots:
  134. # Sets the maximum number of Auxiliary Effect Slots an app can create. A slot
  135. # can use a non-negligible amount of CPU time if an effect is set on it even
  136. # if no sources are feeding it, so this may help when apps use more than the
  137. # system can handle.
  138. #slots = 4
  139. ## sends:
  140. # Sets the number of auxiliary sends per source. When not specified (default),
  141. # it allows the app to request how many it wants. The maximum value currently
  142. # possible is 4.
  143. #sends =
  144. ## layout:
  145. # Sets the virtual speaker layout. Values are specified in degrees, where 0 is
  146. # straight in front, negative goes left, and positive goes right. Unspecified
  147. # speakers will remain at their default positions (which are dependant on the
  148. # output format). Available speakers are back-left(bl), side-left(sl), front-
  149. # left(fl), front-center(fc), front-right(fr), side-right(sr), back-right(br),
  150. # and back-center(bc).
  151. #layout =
  152. ## layout_*:
  153. # Channel-specific layouts may be specified to override the layout option. The
  154. # same speakers as the layout option are available, and the default settings
  155. # are shown below.
  156. #layout_stereo = fl=-90, fr=90
  157. #layout_quad = fl=-45, fr=45, bl=-135, br=135
  158. #layout_surround51 = fl=-30, fr=30, fc=0, bl=-110, br=110
  159. #layout_surround61 = fl=-30, fr=30, fc=0, sl=-90, sr=90, bc=180
  160. #layout_surround71 = fl=-30, fr=30, fc=0, sl=-90, sr=90, bl=-150, br=150
  161. ## default-reverb:
  162. # A reverb preset that applies by default to all sources on send 0
  163. # (applications that set their own slots on send 0 will override this).
  164. # Available presets are: None, Generic, PaddedCell, Room, Bathroom,
  165. # Livingroom, Stoneroom, Auditorium, ConcertHall, Cave, Arena, Hangar,
  166. # CarpetedHallway, Hallway, StoneCorridor, Alley, Forest, City, Moutains,
  167. # Quarry, Plain, ParkingLot, SewerPipe, Underwater, Drugged, Dizzy, Psychotic.
  168. #default-reverb =
  169. ## trap-alc-error:
  170. # Generates a SIGTRAP signal when an ALC device error is generated, on systems
  171. # that support it. This helps when debugging, while trying to find the cause
  172. # of a device error. On Windows, a breakpoint exception is generated.
  173. #trap-alc-error = false
  174. ## trap-al-error:
  175. # Generates a SIGTRAP signal when an AL context error is generated, on systems
  176. # that support it. This helps when debugging, while trying to find the cause
  177. # of a context error. On Windows, a breakpoint exception is generated.
  178. #trap-al-error = false
  179. ##
  180. ## MIDI stuff (EXPERIMENTAL)
  181. ##
  182. [midi]
  183. ## soundfont:
  184. # A default soundfont (sf2 format). Used when an app requests the system
  185. # default. The listed file is relative to system-dependant data directories.
  186. # On Windows this is:
  187. # $AppData\openal\soundfonts
  188. # And on other systems, it's (in order):
  189. # $XDG_DATA_HOME/openal/soundfonts
  190. # $XDG_DATA_DIRS/openal/soundfonts
  191. # An absolute path may also be specified, if the given file is elsewhere.
  192. #soundfont =
  193. ## volume:
  194. # Additional attenuation applied to MIDI output, expressed in decibels. This
  195. # is used to help keep the mix from clipping, and so must be 0 or less. The
  196. # value is logarithmic, so -6 will be about half amplitude, and -12 about
  197. # 1/4th. The default is roughly -13.9794 (0.2, or 1/5th).
  198. #volume =
  199. ##
  200. ## Reverb effect stuff (includes EAX reverb)
  201. ##
  202. [reverb]
  203. ## boost:
  204. # A global amplification for reverb output, expressed in decibels. The value
  205. # is logarithmic, so +6 will be a scale of (approximately) 2x, +12 will be a
  206. # scale of 4x, etc. Similarly, -6 will be about half, and -12 about 1/4th. A
  207. # value of 0 means no change.
  208. #boost = 0
  209. ## emulate-eax:
  210. # Allows the standard reverb effect to be used in place of EAX reverb. EAX
  211. # reverb processing is a bit more CPU intensive than standard, so this option
  212. # allows a simpler effect to be used at the loss of some quality.
  213. #emulate-eax = false
  214. ##
  215. ## PulseAudio backend stuff
  216. ##
  217. [pulse]
  218. ## spawn-server:
  219. # Attempts to autospawn a PulseAudio server whenever needed (initializing the
  220. # backend, enumerating devices, etc). Setting autospawn to false in Pulse's
  221. # client.conf will still prevent autospawning even if this is set to true.
  222. #spawn-server = true
  223. ## allow-moves:
  224. # Allows PulseAudio to move active streams to different devices. Note that the
  225. # device specifier (seen by applications) will not be updated when this
  226. # occurs, and neither will the AL device configuration (sample rate, format,
  227. # etc).
  228. #allow-moves = false
  229. ##
  230. ## ALSA backend stuff
  231. ##
  232. [alsa]
  233. ## device:
  234. # Sets the device name for the default playback device.
  235. #device = default
  236. ## device-prefix:
  237. # Sets the prefix used by the discovered (non-default) playback devices. This
  238. # will be appended with "CARD=c,DEV=d", where c is the card id and d is the
  239. # device index for the requested device name.
  240. #device-prefix = plughw:
  241. ## device-prefix-*:
  242. # Card- and device-specific prefixes may be used to override the device-prefix
  243. # option. The option may specify the card id (eg, device-prefix-NVidia), or
  244. # the card id and device index (eg, device-prefix-NVidia-0). The card id is
  245. # case-sensitive.
  246. #device-prefix- =
  247. ## capture:
  248. # Sets the device name for the default capture device.
  249. #capture = default
  250. ## capture-prefix:
  251. # Sets the prefix used by the discovered (non-default) capture devices. This
  252. # will be appended with "CARD=c,DEV=d", where c is the card id and d is the
  253. # device number for the requested device name.
  254. #capture-prefix = plughw:
  255. ## capture-prefix-*:
  256. # Card- and device-specific prefixes may be used to override the
  257. # capture-prefix option. The option may specify the card id (eg,
  258. # capture-prefix-NVidia), or the card id and device index (eg,
  259. # capture-prefix-NVidia-0). The card id is case-sensitive.
  260. #capture-prefix- =
  261. ## mmap:
  262. # Sets whether to try using mmap mode (helps reduce latencies and CPU
  263. # consumption). If mmap isn't available, it will automatically fall back to
  264. # non-mmap mode. True, yes, on, and non-0 values will attempt to use mmap. 0
  265. # and anything else will force mmap off.
  266. #mmap = true
  267. ##
  268. ## OSS backend stuff
  269. ##
  270. [oss]
  271. ## device:
  272. # Sets the device name for OSS output.
  273. #device = /dev/dsp
  274. ## capture:
  275. # Sets the device name for OSS capture.
  276. #capture = /dev/dsp
  277. ##
  278. ## Solaris backend stuff
  279. ##
  280. [solaris]
  281. ## device:
  282. # Sets the device name for Solaris output.
  283. #device = /dev/audio
  284. ##
  285. ## QSA backend stuff
  286. ##
  287. [qsa]
  288. ## device:
  289. # Sets the device name for the default playback device.
  290. #device = default
  291. ## capture:
  292. # Sets the device name for the default capture device.
  293. #capture = default
  294. ##
  295. ## MMDevApi backend stuff
  296. ##
  297. [mmdevapi]
  298. ##
  299. ## DirectSound backend stuff
  300. ##
  301. [dsound]
  302. ##
  303. ## Windows Multimedia backend stuff
  304. ##
  305. [winmm]
  306. ##
  307. ## PortAudio backend stuff
  308. ##
  309. [port]
  310. ## device:
  311. # Sets the device index for output. Negative values will use the default as
  312. # given by PortAudio itself.
  313. #device = -1
  314. ## capture:
  315. # Sets the device index for capture. Negative values will use the default as
  316. # given by PortAudio itself.
  317. #capture = -1
  318. ##
  319. ## Wave File Writer stuff
  320. ##
  321. [wave]
  322. ## file:
  323. # Sets the filename of the wave file to write to. An empty name prevents the
  324. # backend from opening, even when explicitly requested.
  325. # THIS WILL OVERWRITE EXISTING FILES WITHOUT QUESTION!
  326. #file =