alsoftrc.sample 11 KB

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