{{newin|[[11.0]]|110|type=function}}
Gets the [[Source:setFilter|filter]] settings currently applied to the Source.

== Function ==
=== Synopsis ===
<source lang="lua">
settings = Source:getFilter( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|table|settings (nil)|The filter settings to use for this Source, or nil if the Source has no active filter. The table has the following fields:}}
{{subparam|FilterType|type|The type of filter to use.}}
{{subparam|number|volume|The overall volume of the audio.}}
{{subparam|number|highgain|Volume of high-frequency audio. Only applies to low-pass and band-pass filters.}}
{{subparam|number|lowgain|Volume of low-frequency audio. Only applies to high-pass and band-pass filters.}}

== See Also ==
* [[parent::Source]]
* [[Source:setFilter]]
* [[Source:setEffect]]
[[Category:Functions]]
{{#set:Description=Gets the [[Source:setFilter|filter]] settings currently applied to the Source.}}
== Other Languages ==
{{i18n|Source:getFilter}}