alsoftrc.sample 12 KB

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