Source:getAirAbsorption
Available since LÖVE 11.2 |
This function is not supported in earlier versions. |
Gets the amount of air absorption applied to the Source.
By default the value is set to 0 which means that air absorption effects are disabled. A value of 1 will apply high frequency attenuation to the Source at a rate of 0.05 dB per meter.
Function
Synopsis
amount = Source:getAirAbsorption( )
Arguments
None.
Returns
number amount
- The amount of air absorption applied to the Source.
Notes
Audio air absorption functionality is not supported on iOS.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info