alsoftrc.sample 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  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. # Device-specific values may be specified by including the device name in the
  12. # block name, with "general" replaced by the device name. That is, general
  13. # options for the device "Name of Device" would be in the [Name of Device]
  14. # block, while ALSA options would be in the [alsa/Name of Device] block.
  15. # Options marked as "(global)" are not influenced by the device.
  16. #
  17. # The system-wide settings can be put in /etc/openal/alsoft.conf and user-
  18. # specific override settings in $HOME/.alsoftrc.
  19. # For Windows, these settings should go into $AppData\alsoft.ini
  20. #
  21. # Option and block names are case-senstive. The supplied values are only hints
  22. # and may not be honored (though generally it'll try to get as close as
  23. # possible). Note: options that are left unset may default to app- or system-
  24. # specified values. These are the current available settings:
  25. ##
  26. ## General stuff
  27. ##
  28. [general]
  29. ## disable-cpu-exts: (global)
  30. # Disables use of specialized methods that use specific CPU intrinsics.
  31. # Certain methods may utilize CPU extensions for improved performance, and
  32. # this option is useful for preventing some or all of those methods from being
  33. # used. The available extensions are: sse, sse2, sse3, sse4.1, and neon.
  34. # Specifying 'all' disables use of all such specialized methods.
  35. #disable-cpu-exts =
  36. ## drivers: (global)
  37. # Sets the backend driver list order, comma-seperated. Unknown backends and
  38. # duplicated names are ignored. Unlisted backends won't be considered for use
  39. # unless the list is ended with a comma (e.g. 'oss,' will try OSS first before
  40. # other backends, while 'oss' will try OSS only). Backends prepended with -
  41. # won't be considered for use (e.g. '-oss,' will try all available backends
  42. # except OSS). An empty list means to try all backends.
  43. #drivers =
  44. ## channels:
  45. # Sets the output channel configuration. If left unspecified, one will try to
  46. # be detected from the system, and defaulting to stereo. The available values
  47. # are: mono, stereo, quad, surround51, surround51rear, surround61, surround71,
  48. # ambi1, ambi2, ambi3. Note that the ambi* configurations provide ambisonic
  49. # channels of the given order (using ACN ordering and SN3D normalization by
  50. # default), which need to be decoded to play correctly on speakers.
  51. #channels =
  52. ## sample-type:
  53. # Sets the output sample type. Currently, all mixing is done with 32-bit float
  54. # and converted to the output sample type as needed. Available values are:
  55. # int8 - signed 8-bit int
  56. # uint8 - unsigned 8-bit int
  57. # int16 - signed 16-bit int
  58. # uint16 - unsigned 16-bit int
  59. # int32 - signed 32-bit int
  60. # uint32 - unsigned 32-bit int
  61. # float32 - 32-bit float
  62. #sample-type = float32
  63. ## frequency:
  64. # Sets the output frequency. If left unspecified it will try to detect a
  65. # default from the system, otherwise it will default to 44100.
  66. #frequency =
  67. ## period_size:
  68. # Sets the update period size, in frames. This is the number of frames needed
  69. # for each mixing update. Acceptable values range between 64 and 8192.
  70. #period_size = 1024
  71. ## periods:
  72. # Sets the number of update periods. Higher values create a larger mix ahead,
  73. # which helps protect against skips when the CPU is under load, but increases
  74. # the delay between a sound getting mixed and being heard. Acceptable values
  75. # range between 2 and 16.
  76. #periods = 4
  77. ## stereo-mode:
  78. # Specifies if stereo output is treated as being headphones or speakers. With
  79. # headphones, HRTF or crossfeed filters may be used for better audio quality.
  80. # Valid settings are auto, speakers, and headphones.
  81. #stereo-mode = auto
  82. ## stereo-panning:
  83. # Specifies the panning method for non-HRTF stereo output. uhj (default)
  84. # creates stereo-compatible two-channel UHJ output, which encodes some
  85. # surround sound information, while paired uses standard pair-wise panning
  86. # between -30 and +30 degrees. If crossfeed filters are used, uhj panning is
  87. # disabled.
  88. #stereo-panning = uhj
  89. ## ambi-format:
  90. # Specifies the channel order and normalization for the "ambi*" set of channel
  91. # configurations. Valid settings are: fuma, acn+sn3d, acn+n3d
  92. #ambi-format = acn+sn3d
  93. ## hrtf:
  94. # Controls HRTF processing. These filters provide better spatialization of
  95. # sounds while using headphones, but do require a bit more CPU power. The
  96. # default filters will only work with 44100hz or 48000hz stereo output. While
  97. # HRTF is used, the cf_level option is ignored. Setting this to auto (default)
  98. # will allow HRTF to be used when headphones are detected or the app requests
  99. # it, while setting true or false will forcefully enable or disable HRTF
  100. # respectively.
  101. #hrtf = auto
  102. ## default-hrtf:
  103. # Specifies the default HRTF to use. When multiple HRTFs are available, this
  104. # determines the preferred one to use if none are specifically requested. Note
  105. # that this is the enumerated HRTF name, not necessarily the filename.
  106. #default-hrtf =
  107. ## hrtf-paths:
  108. # Specifies a comma-separated list of paths containing HRTF data sets. The
  109. # format of the files are described in docs/hrtf.txt. The files within the
  110. # directories must have the .mhr file extension to be recognized. By default,
  111. # OS-dependent data paths will be used. They will also be used if the list
  112. # ends with a comma. On Windows this is:
  113. # $AppData\openal\hrtf
  114. # And on other systems, it's (in order):
  115. # $XDG_DATA_HOME/openal/hrtf (defaults to $HOME/.local/share/openal/hrtf)
  116. # $XDG_DATA_DIRS/openal/hrtf (defaults to /usr/local/share/openal/hrtf and
  117. # /usr/share/openal/hrtf)
  118. #hrtf-paths =
  119. ## cf_level:
  120. # Sets the crossfeed level for stereo output. Valid values are:
  121. # 0 - No crossfeed
  122. # 1 - Low crossfeed
  123. # 2 - Middle crossfeed
  124. # 3 - High crossfeed (virtual speakers are closer to itself)
  125. # 4 - Low easy crossfeed
  126. # 5 - Middle easy crossfeed
  127. # 6 - High easy crossfeed
  128. # Users of headphones may want to try various settings. Has no effect on non-
  129. # stereo modes.
  130. #cf_level = 0
  131. ## resampler: (global)
  132. # Selects the resampler used when mixing sources. Valid values are:
  133. # point - nearest sample, no interpolation
  134. # linear - extrapolates samples using a linear slope between samples
  135. # sinc4 - extrapolates samples using a 4-point Sinc filter
  136. # sinc8 - extrapolates samples using an 8-point Sinc filter
  137. # bsinc - extrapolates samples using a band-limited Sinc filter (varying
  138. # between 12 and 24 points, with anti-aliasing)
  139. # Specifying other values will result in using the default (linear).
  140. #resampler = linear
  141. ## rt-prio: (global)
  142. # Sets real-time priority for the mixing thread. Not all drivers may use this
  143. # (eg. PortAudio) as they already control the priority of the mixing thread.
  144. # 0 and negative values will disable it. Note that this may constitute a
  145. # security risk since a real-time priority thread can indefinitely block
  146. # normal-priority threads if it fails to wait. As such, the default is
  147. # disabled.
  148. #rt-prio = 0
  149. ## sources:
  150. # Sets the maximum number of allocatable sources. Lower values may help for
  151. # systems with apps that try to play more sounds than the CPU can handle.
  152. #sources = 256
  153. ## slots:
  154. # Sets the maximum number of Auxiliary Effect Slots an app can create. A slot
  155. # can use a non-negligible amount of CPU time if an effect is set on it even
  156. # if no sources are feeding it, so this may help when apps use more than the
  157. # system can handle.
  158. #slots = 4
  159. ## sends:
  160. # Sets the number of auxiliary sends per source. When not specified (default),
  161. # it allows the app to request how many it wants. The maximum value currently
  162. # possible is 4.
  163. #sends =
  164. ## volume-adjust:
  165. # A global volume adjustment for source output, expressed in decibels. The
  166. # value is logarithmic, so +6 will be a scale of (approximately) 2x, +12 will
  167. # be a scale of 4x, etc. Similarly, -6 will be x1/2, and -12 is about x1/4. A
  168. # value of 0 means no change.
  169. #volume-adjust = 0
  170. ## excludefx: (global)
  171. # Sets which effects to exclude, preventing apps from using them. This can
  172. # help for apps that try to use effects which are too CPU intensive for the
  173. # system to handle. Available effects are: eaxreverb,reverb,chorus,compressor,
  174. # distortion,echo,equalizer,flanger,modulator,dedicated
  175. #excludefx =
  176. ## default-reverb: (global)
  177. # A reverb preset that applies by default to all sources on send 0
  178. # (applications that set their own slots on send 0 will override this).
  179. # Available presets are: None, Generic, PaddedCell, Room, Bathroom,
  180. # Livingroom, Stoneroom, Auditorium, ConcertHall, Cave, Arena, Hangar,
  181. # CarpetedHallway, Hallway, StoneCorridor, Alley, Forest, City, Moutains,
  182. # Quarry, Plain, ParkingLot, SewerPipe, Underwater, Drugged, Dizzy, Psychotic.
  183. #default-reverb =
  184. ## trap-alc-error: (global)
  185. # Generates a SIGTRAP signal when an ALC device error is generated, on systems
  186. # that support it. This helps when debugging, while trying to find the cause
  187. # of a device error. On Windows, a breakpoint exception is generated.
  188. #trap-alc-error = false
  189. ## trap-al-error: (global)
  190. # Generates a SIGTRAP signal when an AL context error is generated, on systems
  191. # that support it. This helps when debugging, while trying to find the cause
  192. # of a context error. On Windows, a breakpoint exception is generated.
  193. #trap-al-error = false
  194. ##
  195. ## Ambisonic decoder stuff
  196. ##
  197. [decoder]
  198. ## hq-mode:
  199. # Enables a high-quality ambisonic decoder. This mode is capable of frequency-
  200. # dependent processing, creating a better reproduction of 3D sound rendering
  201. # over surround sound speakers. Enabling this also requires specifying decoder
  202. # configuration files for the appropriate speaker configuration you intend to
  203. # use (see the quad, surround51, etc options below). Currently, up to third-
  204. # order decoding is supported.
  205. hq-mode = false
  206. ## distance-comp:
  207. # Enables compensation for the speakers' relative distances to the listener.
  208. # This applies the necessary delays and attenuation to make the speakers
  209. # behave as though they are all equidistant, which is important for proper
  210. # playback of 3D sound rendering. Requires the high-quality ambisonic decoder,
  211. # as well as the proper distances to be specified in the decoder configuration
  212. # file.
  213. distance-comp = true
  214. ## quad:
  215. # Decoder configuration file for Quadrophonic channel output. See
  216. # docs/ambdec.txt for a description of the file format.
  217. quad =
  218. ## surround51:
  219. # Decoder configuration file for 5.1 Surround (Side) channel output. See
  220. # docs/ambdec.txt for a description of the file format.
  221. surround51 =
  222. ## surround51rear:
  223. # Decoder configuration file for 5.1 Surround (Rear) channel output. See
  224. # docs/ambdec.txt for a description of the file format.
  225. surround51rear =
  226. ## surround61:
  227. # Decoder configuration file for 6.1 Surround channel output. See
  228. # docs/ambdec.txt for a description of the file format.
  229. surround61 =
  230. ## surround71:
  231. # Decoder configuration file for 7.1 Surround channel output. See
  232. # docs/ambdec.txt for a description of the file format. Note: This can be used
  233. # to enable 3D7.1 with the appropriate configuration and speaker placement,
  234. # see docs/3D7.1.txt.
  235. surround71 =
  236. ##
  237. ## Reverb effect stuff (includes EAX reverb)
  238. ##
  239. [reverb]
  240. ## boost: (global)
  241. # A global amplification for reverb output, expressed in decibels. The value
  242. # is logarithmic, so +6 will be a scale of (approximately) 2x, +12 will be a
  243. # scale of 4x, etc. Similarly, -6 will be about half, and -12 about 1/4th. A
  244. # value of 0 means no change.
  245. #boost = 0
  246. ## emulate-eax: (global)
  247. # Allows the standard reverb effect to be used in place of EAX reverb. EAX
  248. # reverb processing is a bit more CPU intensive than standard, so this option
  249. # allows a simpler effect to be used at the loss of some quality.
  250. #emulate-eax = false
  251. ##
  252. ## PulseAudio backend stuff
  253. ##
  254. [pulse]
  255. ## spawn-server: (global)
  256. # Attempts to autospawn a PulseAudio server whenever needed (initializing the
  257. # backend, enumerating devices, etc). Setting autospawn to false in Pulse's
  258. # client.conf will still prevent autospawning even if this is set to true.
  259. #spawn-server = true
  260. ## allow-moves: (global)
  261. # Allows PulseAudio to move active streams to different devices. Note that the
  262. # device specifier (seen by applications) will not be updated when this
  263. # occurs, and neither will the AL device configuration (sample rate, format,
  264. # etc).
  265. #allow-moves = false
  266. ## fix-rate:
  267. # Specifies whether to match the playback stream's sample rate to the device's
  268. # sample rate. Enabling this forces OpenAL Soft to mix sources and effects
  269. # directly to the actual output rate, avoiding a second resample pass by the
  270. # PulseAudio server.
  271. #fix-rate = false
  272. ##
  273. ## ALSA backend stuff
  274. ##
  275. [alsa]
  276. ## device: (global)
  277. # Sets the device name for the default playback device.
  278. #device = default
  279. ## device-prefix: (global)
  280. # Sets the prefix used by the discovered (non-default) playback devices. This
  281. # will be appended with "CARD=c,DEV=d", where c is the card id and d is the
  282. # device index for the requested device name.
  283. #device-prefix = plughw:
  284. ## device-prefix-*: (global)
  285. # Card- and device-specific prefixes may be used to override the device-prefix
  286. # option. The option may specify the card id (eg, device-prefix-NVidia), or
  287. # the card id and device index (eg, device-prefix-NVidia-0). The card id is
  288. # case-sensitive.
  289. #device-prefix- =
  290. ## capture: (global)
  291. # Sets the device name for the default capture device.
  292. #capture = default
  293. ## capture-prefix: (global)
  294. # Sets the prefix used by the discovered (non-default) capture devices. This
  295. # will be appended with "CARD=c,DEV=d", where c is the card id and d is the
  296. # device number for the requested device name.
  297. #capture-prefix = plughw:
  298. ## capture-prefix-*: (global)
  299. # Card- and device-specific prefixes may be used to override the
  300. # capture-prefix option. The option may specify the card id (eg,
  301. # capture-prefix-NVidia), or the card id and device index (eg,
  302. # capture-prefix-NVidia-0). The card id is case-sensitive.
  303. #capture-prefix- =
  304. ## mmap:
  305. # Sets whether to try using mmap mode (helps reduce latencies and CPU
  306. # consumption). If mmap isn't available, it will automatically fall back to
  307. # non-mmap mode. True, yes, on, and non-0 values will attempt to use mmap. 0
  308. # and anything else will force mmap off.
  309. #mmap = true
  310. ## allow-resampler:
  311. # Specifies whether to allow ALSA's built-in resampler. Enabling this will
  312. # allow the playback device to be set to a different sample rate than the
  313. # actual output, causing ALSA to apply its own resampling pass after OpenAL
  314. # Soft resamples and mixes the sources and effects for output.
  315. #allow-resampler = false
  316. ##
  317. ## OSS backend stuff
  318. ##
  319. [oss]
  320. ## device: (global)
  321. # Sets the device name for OSS output.
  322. #device = /dev/dsp
  323. ## capture: (global)
  324. # Sets the device name for OSS capture.
  325. #capture = /dev/dsp
  326. ##
  327. ## Solaris backend stuff
  328. ##
  329. [solaris]
  330. ## device: (global)
  331. # Sets the device name for Solaris output.
  332. #device = /dev/audio
  333. ##
  334. ## QSA backend stuff
  335. ##
  336. [qsa]
  337. ##
  338. ## JACK backend stuff
  339. ##
  340. [jack]
  341. ## spawn-server: (global)
  342. # Attempts to autospawn a JACK server whenever needed (initializing the
  343. # backend, opening devices, etc).
  344. #spawn-server = false
  345. ## buffer-size:
  346. # Sets the update buffer size, in samples, that the backend will keep buffered
  347. # to handle the server's real-time processing requests. This value must be a
  348. # power of 2, or else it will be rounded up to the next power of 2. If it is
  349. # less than JACK's buffer update size, it will be clamped. This option may
  350. # be useful in case the server's update size is too small and doesn't give the
  351. # mixer time to keep enough audio available for the processing requests.
  352. #buffer-size = 0
  353. ##
  354. ## MMDevApi backend stuff
  355. ##
  356. [mmdevapi]
  357. ##
  358. ## DirectSound backend stuff
  359. ##
  360. [dsound]
  361. ##
  362. ## Windows Multimedia backend stuff
  363. ##
  364. [winmm]
  365. ##
  366. ## PortAudio backend stuff
  367. ##
  368. [port]
  369. ## device: (global)
  370. # Sets the device index for output. Negative values will use the default as
  371. # given by PortAudio itself.
  372. #device = -1
  373. ## capture: (global)
  374. # Sets the device index for capture. Negative values will use the default as
  375. # given by PortAudio itself.
  376. #capture = -1
  377. ##
  378. ## Wave File Writer stuff
  379. ##
  380. [wave]
  381. ## file: (global)
  382. # Sets the filename of the wave file to write to. An empty name prevents the
  383. # backend from opening, even when explicitly requested.
  384. # THIS WILL OVERWRITE EXISTING FILES WITHOUT QUESTION!
  385. #file =
  386. ## bformat: (global)
  387. # Creates AMB format files using first-order ambisonics instead of a standard
  388. # single- or multi-channel .wav file.
  389. #bformat = false