alsoftrc.sample 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  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. ## cf_level:
  36. # Sets the crossfeed level for stereo output. Valid values are:
  37. # 0 - No crossfeed
  38. # 1 - Low crossfeed
  39. # 2 - Middle crossfeed
  40. # 3 - High crossfeed (virtual speakers are closer to itself)
  41. # 4 - Low easy crossfeed
  42. # 5 - Middle easy crossfeed
  43. # 6 - High easy crossfeed
  44. # Users of headphones may want to try various settings. Has no effect on non-
  45. # stereo modes.
  46. #cf_level = 0
  47. ## head_dampen:
  48. # Sets the amount of dampening on sounds emanating from behind the listener.
  49. # This is used to simulate the natural occlusion of the head, which is
  50. # typically missing with mono and stereo output, and as such, only works on
  51. # mono and stereo output modes. Valid values range from 0 to 1 (inclusive),
  52. # and higher values provide a stronger effect.
  53. #head_dampen = 0.25
  54. ## frequency:
  55. # Sets the output frequency.
  56. #frequency = 44100
  57. ## resampler:
  58. # Selects the resampler used when mixing sources. Valid values are:
  59. # 0 - None (nearest sample, no interpolation)
  60. # 1 - Linear (extrapolates samples using a linear slope between samples)
  61. # 2 - Cubic (extrapolates samples using a Catmull-Rom spline)
  62. # Specifying other values will result in using the default (linear).
  63. #resampler = 1
  64. ## rt-prio:
  65. # Sets real-time priority for the mixing thread. Not all drivers may use this
  66. # (eg. PortAudio) as they already control the priority of the mixing thread.
  67. # 0 and negative values will disable it. Note that this may constitute a
  68. # security risk since a real-time priority thread can indefinitely block
  69. # normal-priority threads if it fails to wait. As such, the default is
  70. # disabled.
  71. #rt-prio = 0
  72. ## period_size:
  73. # Sets the update period size, in frames. This is the number of frames needed
  74. # for each mixing update.
  75. #period_size = 1024
  76. ## periods:
  77. # Sets the number of update periods. Higher values create a larger mix ahead,
  78. # which helps protect against skips when the CPU is under load, but increases
  79. # the delay between a sound getting mixed and being heard.
  80. #periods = 4
  81. ## sources:
  82. # Sets the maximum number of allocatable sources. Lower values may help for
  83. # systems with apps that try to play more sounds than the CPU can handle.
  84. #sources = 256
  85. ## stereodup:
  86. # Sets whether to duplicate stereo sounds on the rear and side speakers for 4+
  87. # channel output. This provides a "fuller" playback quality for 4+ channel
  88. # output modes, although each individual speaker will have a slight reduction
  89. # in volume to compensate for the extra output speakers. True, yes, on, and
  90. # non-0 values will duplicate stereo sources. 0 and anything else will cause
  91. # stereo sounds to only play out the front speakers. This only has an effect
  92. # when a suitable output format is used (ie. those that contain side and/or
  93. # rear speakers).
  94. #stereodup = true
  95. ## scalemix:
  96. # Sets whether to scale the remixed output. When the final mix is written to
  97. # the device, the multi-channel data is remixed so pure-virtual channels (eg.
  98. # front-center on stereo output) are remixed and added to available channels
  99. # (eg. front-left and front-right). Scaling helps ensure that no single source
  100. # will put out more than 100% on a given physical channel. This can cause a
  101. # noticeable reduction in overall volume, however, so it is off by default.
  102. #scalemix = false
  103. ## drivers:
  104. # Sets the backend driver list order, comma-seperated. Unknown backends and
  105. # duplicated names are ignored. Unlisted backends won't be considered for use
  106. # unless the list is ended with a comma (eg. 'oss,' will list OSS first
  107. # followed by all other available backends, while 'oss' will list OSS only).
  108. # Backends prepended with - won't be available for use (eg. '-oss,' will allow
  109. # all available backends except OSS). An empty list means the default.
  110. #drivers = pulse,alsa,oss,solaris,dsound,winmm,port,null,wave
  111. ## excludefx:
  112. # Sets which effects to exclude, preventing apps from using them. This can
  113. # help for apps that try to use effects which are too CPU intensive for the
  114. # system to handle. Available effects are: eaxreverb,reverb,echo,modulator
  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_51CHN = fl=-30, fr=30, fc=0, bl=-110, br=110
  142. #layout_61CHN = fl=-30, fr=30, fc=0, sl=-90, sr=90, bc=180
  143. #layout_71CHN = fl=-30, fr=30, fc=0, sl=-90, sr=90, bl=-150, br=150
  144. ##
  145. ## ALSA backend stuff
  146. ##
  147. [alsa]
  148. ## device:
  149. # Sets the device name for the default playback device.
  150. #device = default
  151. ## capture:
  152. # Sets the device name for the default capture device.
  153. #capture = default
  154. ## mmap:
  155. # Sets whether to try using mmap mode (helps reduce latencies and CPU
  156. # consumption). If mmap isn't available, it will automatically fall back to
  157. # non-mmap mode. True, yes, on, and non-0 values will attempt to use mmap. 0
  158. # and anything else will force mmap off.
  159. #mmap = true
  160. ##
  161. ## OSS backend stuff
  162. ##
  163. [oss]
  164. ## device:
  165. # Sets the device name for OSS output.
  166. #device = /dev/dsp
  167. ## capture:
  168. # Sets the device name for OSS capture.
  169. #capture = /dev/dsp
  170. ##
  171. ## Solaris backend stuff
  172. ##
  173. [solaris]
  174. ## device:
  175. # Sets the device name for Solaris output.
  176. #device = /dev/audio
  177. ##
  178. ## DirectSound backend stuff
  179. ##
  180. [dsound]
  181. ##
  182. ## Windows Multimedia backend stuff
  183. ##
  184. [winmm]
  185. ##
  186. ## PortAudio backend stuff
  187. ##
  188. [port]
  189. ## device:
  190. # Sets the device index for output. Negative values will use the default as
  191. # given by PortAudio itself.
  192. #device = -1
  193. ## capture:
  194. # Sets the device index for capture. Negative values will use the default as
  195. # given by PortAudio itself.
  196. #capture = -1
  197. ##
  198. ## PulseAudio backend stuff
  199. ##
  200. [pulse]
  201. ## spawn-server:
  202. # Attempts to spawn a PulseAudio server when requesting to open a PulseAudio
  203. # device. Note that some apps may open and probe all enumerated devices on
  204. # startup, causing a server to spawn even if a PulseAudio device is not
  205. # actually selected. Setting autospawn to false in Pulse's client.conf will
  206. # still prevent autospawning even if this is set to true.
  207. #spawn-server = false
  208. ##
  209. ## Wave File Writer stuff
  210. ##
  211. [wave]
  212. ## file:
  213. # Sets the filename of the wave file to write to. An empty name prevents the
  214. # backend from opening, even when explicitly requested.
  215. # THIS WILL OVERWRITE EXISTING FILES WITHOUT QUESTION!
  216. #file =