Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 1.37 KB

Configuration_Audio.md

File metadata and controls

24 lines (20 loc) · 1.37 KB

This section explains how to use settings related to the audio.

Pivot settings

The notion of pivot settings is explained here.

audio-channels = 1
audio-bits-per-sample = 16
audio-sample-rate = 8000
audio-ptime = 20
audio-volume = 1.0f
audio-dim = 2d
audio-max-latency = 200

Configuration 11: Audio settings

  • audio-channels - number of audio channels to use. Supported values are 1 and 2.
  • audio-bits-per-sample - number of bits for each audio sample. Supported values are 8, 16 and 32.
  • audio-sample-rate: - audio sample rate. Almost any value is supported: http://en.wikipedia.org/wiki/Sampling_rate. Unit: Hz.
  • audio-ptime - number of milliseconds for each audio frame. The value should be multiple of 10. Supported values: [1 - 255]
  • audio-volume - attenuation (or gain) to apply to the mixed audio. Supported values: [0.0f - 1.0f].
  • audio-dim - mixer dimensions. The value must be 2d (Linear) or 3d (Spatial). 3d requires building the system with OpenAL Soft.
  • audio-max-latecncy - maximum audio delay (because of clock drift) before resetting the jitter buffer. The value could be any positive value. Unit: milliseconds.