Difference between revisions of "love.audio.isEffectsSupported"
m (Move "Notes" to h2 instead of h3) |
m |
||
Line 1: | Line 1: | ||
{{newin|[[11.0]]|110|type=function}} | {{newin|[[11.0]]|110|type=function}} | ||
− | Gets whether | + | Gets whether audio effects are supported in the system. |
== Function == | == Function == | ||
Line 10: | Line 10: | ||
None | None | ||
=== Returns === | === Returns === | ||
− | {{param|boolean|supported|True if | + | {{param|boolean|supported|True if effects are supported, false otherwise.}} |
== Notes == | == Notes == | ||
Line 18: | Line 18: | ||
== See Also == | == See Also == | ||
* [[parent::love.audio]] | * [[parent::love.audio]] | ||
+ | * [[love.audio.setEffect]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Gets whether Effects are supported in the system.}} | {{#set:Description=Gets whether Effects are supported in the system.}} |
Revision as of 12:03, 28 November 2018
Available since LÖVE 11.0 |
This function is not supported in earlier versions. |
Gets whether audio effects are supported in the system.
Function
Synopsis
supported = love.audio.isEffectsSupported( )
Arguments
None
Returns
boolean supported
- True if effects are supported, false otherwise.
Notes
Older Linux distributions that ship with older OpenAL library may not support audio effects. Furthermore, iOS doesn't support audio effects at all.