Avoid void-pointer arithmetic
[openal-soft.git] / openalrc.sample
blob74bcba22de6985f340e09971ee1e05f246dcc73a
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. The system-wide settings can be put in /etc/openal/config and
5 # user-specific override settings in ~/.openalrc
7 # Option and block names are case-insenstive. The supplied values are only
8 # hints and may not be honored (though generally it'll try to get as close as
9 # possible). These are the current available settings:
11 format = AL_FORMAT_STEREO16  # Sets the output format. Can be one of:
12                              # AL_FORMAT_MONO8    (8-bit mono)
13                              # AL_FORMAT_STEREO8  (8-bit stereo)
14                              # AL_FORMAT_QUAD8    (8-bit 4-channel)
15                              # AL_FORMAT_MONO16   (16-bit mono)
16                              # AL_FORMAT_STEREO16 (16-bit stereo)
17                              # AL_FORMAT_QUAD16   (16-bit 4-channel)
18                              # Default is AL_FORMAT_STEREO16
20 frequency = 44100  # Sets the output frequency. Default is 44100
22 refresh = 0  # Sets the number of frames-per-update. Default is calculated as
23              # 8192*frequency/22050. Note that the actual granularity may or
24              # may not be less than this.
26 # TODO: Implement this option
27 drivers =  # Sets the backend driver list order, comma-seperated. Unknown
28            # backends and duplicated names are ignored, and unlisted backends
29            # won't be considered for use. An empty list means the default.
30            # Default is:
31            # alsa,oss,dsound,winmm
33 [alsa]  # ALSA backend stuff
34 device = default  # Sets the device name for the default playback device.
35                   # Default is default
37 periods = 4  # Sets the number of update buffers. Default is 4
39 capture = default  # Sets the device name for the default capture device.
40                    # Default is default
42 [oss]  # OSS backend stuff
43 device = /dev/dsp  # Sets the device name for OSS output. Default is /dev/dsp
45 periods = 4  # Sets the number of update buffers. Default is 4
47 [dsound]  # DirectSound backend stuff
48           # Nothing yet...
50 [winmm]  # Windows Multimedia backend stuff
51          # Nothing yet...