return { tag = 'listener', summary = 'Get the name of the active spatializer', description = [[ Returns the name of the active spatializer (`simple`, `oculus`, or `phonon`). The `t.audio.spatializer` setting in `lovr.conf` can be used to express a preference for a particular spatializer. If it's `nil`, all spatializers will be tried in the following order: `phonon`, `oculus`, `simple`. ]], arguments = {}, returns = { spatializer = { type = 'string', description = 'The name of the active spatializer.' } }, variants = { { arguments = {}, returns = { 'spatializer' } } }, notes = [[ Using a feature or effect that is not supported by the current spatializer will not error, it just won't do anything.
Feature simple phonon oculus
Effect: Spatialization x x x
Effect: Attenuation x x x
Effect: Absorption x
Effect: Occlusion x
Effect: Transmission x
Effect: Reverb x
lovr.audio.setGeometry x
Source:setDirectivity x x
Source:setRadius x
]], related = { 'lovr.conf' } }