diff alsoftrc.sample @ 0:f9476ff7637e

initial forking of open-al to create multiple listeners
author Robert McIntyre <rlm@mit.edu>
date Tue, 25 Oct 2011 13:02:31 -0700
parents
children
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/alsoftrc.sample	Tue Oct 25 13:02:31 2011 -0700
     1.3 @@ -0,0 +1,277 @@
     1.4 +# OpenAL config file. Options that are not under a block or are under the
     1.5 +# [general] block are for general, non-backend-specific options. Blocks may
     1.6 +# appear multiple times, and duplicated options will take the last value
     1.7 +# specified.
     1.8 +# The system-wide settings can be put in /etc/openal/alsoft.conf and user-
     1.9 +# specific override settings in ~/.alsoftrc.
    1.10 +# For Windows, these settings should go into %AppData%\alsoft.ini
    1.11 +# The environment variable ALSOFT_CONF can be used to specify another config
    1.12 +# override
    1.13 +
    1.14 +# Option and block names are case-insenstive. The supplied values are only
    1.15 +# hints and may not be honored (though generally it'll try to get as close as
    1.16 +# possible). Note: options that are left unset may default to app- or system-
    1.17 +# specified values. These are the current available settings:
    1.18 +
    1.19 +## format:
    1.20 +#  Sets the output format. Can be one of:
    1.21 +#  AL_FORMAT_MONO8    (8-bit mono)
    1.22 +#  AL_FORMAT_STEREO8  (8-bit stereo)
    1.23 +#  AL_FORMAT_QUAD8    (8-bit 4-channel)
    1.24 +#  AL_FORMAT_51CHN8   (8-bit 5.1 output)
    1.25 +#  AL_FORMAT_61CHN8   (8-bit 6.1 output)
    1.26 +#  AL_FORMAT_71CHN8   (8-bit 7.1 output)
    1.27 +#  AL_FORMAT_MONO16   (16-bit mono)
    1.28 +#  AL_FORMAT_STEREO16 (16-bit stereo)
    1.29 +#  AL_FORMAT_QUAD16   (16-bit 4-channel)
    1.30 +#  AL_FORMAT_51CHN16  (16-bit 5.1 output)
    1.31 +#  AL_FORMAT_61CHN16  (16-bit 6.1 output)
    1.32 +#  AL_FORMAT_71CHN16  (16-bit 7.1 output)
    1.33 +#  AL_FORMAT_MONO32   (32-bit float mono)
    1.34 +#  AL_FORMAT_STEREO32 (32-bit float stereo)
    1.35 +#  AL_FORMAT_QUAD32   (32-bit float 4-channel)
    1.36 +#  AL_FORMAT_51CHN32  (32-bit float 5.1 output)
    1.37 +#  AL_FORMAT_61CHN32  (32-bit float 6.1 output)
    1.38 +#  AL_FORMAT_71CHN32  (32-bit float 7.1 output)
    1.39 +#format = AL_FORMAT_STEREO16
    1.40 +
    1.41 +## hrtf:
    1.42 +#  Enables HRTF filters. These filters provide for better sound spatialization
    1.43 +#  while using headphones. The filters will only work when output is 44100hz
    1.44 +#  stereo. While HRTF is active, the cf_level option is disabled. Default is
    1.45 +#  disabled since stereo speaker output quality may suffer.
    1.46 +#hrtf = false
    1.47 +
    1.48 +## cf_level:
    1.49 +#  Sets the crossfeed level for stereo output. Valid values are:
    1.50 +#  0 - No crossfeed
    1.51 +#  1 - Low crossfeed
    1.52 +#  2 - Middle crossfeed
    1.53 +#  3 - High crossfeed (virtual speakers are closer to itself)
    1.54 +#  4 - Low easy crossfeed
    1.55 +#  5 - Middle easy crossfeed
    1.56 +#  6 - High easy crossfeed
    1.57 +#  Users of headphones may want to try various settings. Has no effect on non-
    1.58 +#  stereo modes.
    1.59 +#cf_level = 0
    1.60 +
    1.61 +## frequency:
    1.62 +#  Sets the output frequency.
    1.63 +#frequency = 44100
    1.64 +
    1.65 +## resampler:
    1.66 +#  Selects the resampler used when mixing sources. Valid values are:
    1.67 +#  0 - None (nearest sample, no interpolation)
    1.68 +#  1 - Linear (extrapolates samples using a linear slope between samples)
    1.69 +#  2 - Cubic (extrapolates samples using a Catmull-Rom spline)
    1.70 +#  Specifying other values will result in using the default (linear).
    1.71 +#resampler = 1
    1.72 +
    1.73 +## rt-prio:
    1.74 +#  Sets real-time priority for the mixing thread. Not all drivers may use this
    1.75 +#  (eg. PortAudio) as they already control the priority of the mixing thread.
    1.76 +#  0 and negative values will disable it. Note that this may constitute a
    1.77 +#  security risk since a real-time priority thread can indefinitely block
    1.78 +#  normal-priority threads if it fails to wait. As such, the default is
    1.79 +#  disabled.
    1.80 +#rt-prio = 0
    1.81 +
    1.82 +## period_size:
    1.83 +#  Sets the update period size, in frames. This is the number of frames needed
    1.84 +#  for each mixing update.
    1.85 +#period_size = 1024
    1.86 +
    1.87 +## periods:
    1.88 +#  Sets the number of update periods. Higher values create a larger mix ahead,
    1.89 +#  which helps protect against skips when the CPU is under load, but increases
    1.90 +#  the delay between a sound getting mixed and being heard.
    1.91 +#periods = 4
    1.92 +
    1.93 +## sources:
    1.94 +#  Sets the maximum number of allocatable sources. Lower values may help for
    1.95 +#  systems with apps that try to play more sounds than the CPU can handle.
    1.96 +#sources = 256
    1.97 +
    1.98 +## stereodup:
    1.99 +#  Sets whether to duplicate stereo sounds behind the listener for 4+ channel
   1.100 +#  output. This provides a "fuller" playback quality for surround sound output
   1.101 +#  modes, although each individual speaker will have a slight reduction in
   1.102 +#  volume to compensate for the extra output speakers. True, yes, on, and non-0
   1.103 +#  values will duplicate stereo sources. 0 and anything else will cause stereo
   1.104 +#  sounds to only play in front. This only has an effect when a suitable output
   1.105 +#  format is used (ie. those that contain side and/or rear speakers).
   1.106 +#stereodup = true
   1.107 +
   1.108 +## drivers:
   1.109 +#  Sets the backend driver list order, comma-seperated. Unknown backends and
   1.110 +#  duplicated names are ignored. Unlisted backends won't be considered for use
   1.111 +#  unless the list is ended with a comma (eg. 'oss,' will list OSS first
   1.112 +#  followed by all other available backends, while 'oss' will list OSS only).
   1.113 +#  Backends prepended with - won't be available for use (eg. '-oss,' will allow
   1.114 +#  all available backends except OSS). An empty list means the default.
   1.115 +#drivers = pulse,alsa,core,oss,solaris,sndio,mmdevapi,dsound,winmm,port,opensl,null,wave
   1.116 +
   1.117 +## excludefx:
   1.118 +#  Sets which effects to exclude, preventing apps from using them. This can
   1.119 +#  help for apps that try to use effects which are too CPU intensive for the
   1.120 +#  system to handle. Available effects are: eaxreverb,reverb,echo,modulator,
   1.121 +#  dedicated
   1.122 +#excludefx =
   1.123 +
   1.124 +## slots:
   1.125 +#  Sets the maximum number of Auxiliary Effect Slots an app can create. A slot
   1.126 +#  can use a non-negligible amount of CPU time if an effect is set on it even
   1.127 +#  if no sources are feeding it, so this may help when apps use more than the
   1.128 +#  system can handle.
   1.129 +#slots = 4
   1.130 +
   1.131 +## sends:
   1.132 +#  Sets the number of auxiliary sends per source. When not specified (default),
   1.133 +#  it allows the app to request how many it wants. The maximum value currently
   1.134 +#  possible is 4.
   1.135 +#sends =
   1.136 +
   1.137 +## layout:
   1.138 +#  Sets the virtual speaker layout. Values are specified in degrees, where 0 is
   1.139 +#  straight in front, negative goes left, and positive goes right. Unspecified
   1.140 +#  speakers will remain at their default positions (which are dependant on the
   1.141 +#  output format). Available speakers are back-left(bl), side-left(sl), front-
   1.142 +#  left(fl), front-center(fc), front-right(fr), side-right(sr), back-right(br),
   1.143 +#  and back-center(bc).
   1.144 +#layout =
   1.145 +
   1.146 +## layout_*:
   1.147 +#  Channel-specific layouts may be specified to override the layout option. The
   1.148 +#  same speakers as the layout option are available, and the default settings
   1.149 +#  are shown below.
   1.150 +#layout_STEREO = fl=-90, fr=90
   1.151 +#layout_QUAD   = fl=-45, fr=45, bl=-135, br=135
   1.152 +#layout_51CHN  = fl=-30, fr=30, fc=0, bl=-110, br=110
   1.153 +#layout_61CHN  = fl=-30, fr=30, fc=0, sl=-90, sr=90, bc=180
   1.154 +#layout_71CHN  = fl=-30, fr=30, fc=0, sl=-90, sr=90, bl=-150, br=150
   1.155 +
   1.156 +##
   1.157 +## Reverb effect stuff (includes EAX reverb)
   1.158 +##
   1.159 +[reverb]
   1.160 +
   1.161 +## boost:
   1.162 +#  A global amplification for reverb output, expressed in decibels. The value
   1.163 +#  is logarithmic, so +6 will be a scale of (approximately) 2x, +12 will be a
   1.164 +#  scale of 4x, etc. Similarly, -6 will be about half, and -12 about 1/4th. A
   1.165 +#  value of 0 means no change.
   1.166 +#boost = 0
   1.167 +
   1.168 +## emulate-eax:
   1.169 +#  Allows the standard reverb effect to be used in place of EAX reverb. EAX
   1.170 +#  reverb processing is a bit more CPU intensive than standard, so this option
   1.171 +#  allows a simpler effect to be used at the loss of some quality.
   1.172 +#emulate-eax = false
   1.173 +
   1.174 +##
   1.175 +## ALSA backend stuff
   1.176 +##
   1.177 +[alsa]
   1.178 +
   1.179 +## device:
   1.180 +#  Sets the device name for the default playback device.
   1.181 +#device = default
   1.182 +
   1.183 +## device-prefix:
   1.184 +#  Sets the prefix used by the discovered (non-default) playback devices. This
   1.185 +#  will be appended with "CARD=c,DEV=d", where c is the card id and d is the
   1.186 +#  device index for the requested device name.
   1.187 +#device-prefix = plughw:
   1.188 +
   1.189 +## capture:
   1.190 +#  Sets the device name for the default capture device.
   1.191 +#capture = default
   1.192 +
   1.193 +## capture-prefix:
   1.194 +#  Sets the prefix used by the discovered (non-default) capture devices. This
   1.195 +#  will be appended with "CARD=c,DEV=d", where c is the card number and d is
   1.196 +#  the device number for the requested device name.
   1.197 +#capture-prefix = plughw:
   1.198 +
   1.199 +## mmap:
   1.200 +#  Sets whether to try using mmap mode (helps reduce latencies and CPU
   1.201 +#  consumption). If mmap isn't available, it will automatically fall back to
   1.202 +#  non-mmap mode. True, yes, on, and non-0 values will attempt to use mmap. 0
   1.203 +#  and anything else will force mmap off.
   1.204 +#mmap = true
   1.205 +
   1.206 +##
   1.207 +## OSS backend stuff
   1.208 +##
   1.209 +[oss]
   1.210 +
   1.211 +## device:
   1.212 +#  Sets the device name for OSS output.
   1.213 +#device = /dev/dsp
   1.214 +
   1.215 +## capture:
   1.216 +#  Sets the device name for OSS capture.
   1.217 +#capture = /dev/dsp
   1.218 +
   1.219 +##
   1.220 +## Solaris backend stuff
   1.221 +##
   1.222 +[solaris]
   1.223 +
   1.224 +## device:
   1.225 +#  Sets the device name for Solaris output.
   1.226 +#device = /dev/audio
   1.227 +
   1.228 +##
   1.229 +## MMDevApi backend stuff
   1.230 +##
   1.231 +[mmdevapi]
   1.232 +
   1.233 +##
   1.234 +## DirectSound backend stuff
   1.235 +##
   1.236 +[dsound]
   1.237 +
   1.238 +##
   1.239 +## Windows Multimedia backend stuff
   1.240 +##
   1.241 +[winmm]
   1.242 +
   1.243 +##
   1.244 +## PortAudio backend stuff
   1.245 +##
   1.246 +[port]
   1.247 +
   1.248 +## device:
   1.249 +#  Sets the device index for output. Negative values will use the default as
   1.250 +#  given by PortAudio itself.
   1.251 +#device = -1
   1.252 +
   1.253 +## capture:
   1.254 +#  Sets the device index for capture. Negative values will use the default as
   1.255 +#  given by PortAudio itself.
   1.256 +#capture = -1
   1.257 +
   1.258 +##
   1.259 +## PulseAudio backend stuff
   1.260 +##
   1.261 +[pulse]
   1.262 +
   1.263 +## spawn-server:
   1.264 +#  Attempts to spawn a PulseAudio server when requesting to open a PulseAudio
   1.265 +#  device. Note that some apps may open and probe all enumerated devices on
   1.266 +#  startup, causing a server to spawn even if a PulseAudio device is not
   1.267 +#  actually selected. Setting autospawn to false in Pulse's client.conf will
   1.268 +#  still prevent autospawning even if this is set to true.
   1.269 +#spawn-server = false
   1.270 +
   1.271 +##
   1.272 +## Wave File Writer stuff
   1.273 +##
   1.274 +[wave]
   1.275 +
   1.276 +## file:
   1.277 +#  Sets the filename of the wave file to write to. An empty name prevents the
   1.278 +#  backend from opening, even when explicitly requested.
   1.279 +#  THIS WILL OVERWRITE EXISTING FILES WITHOUT QUESTION!
   1.280 +#file =