Change LUA to Lua

This commit is contained in:
TestingPlant
2022-06-28 05:42:09 +00:00
committed by TestingPlant
parent ba30a4fcec
commit 254c3284e3

View File

@@ -1,10 +1,10 @@
.. _config_lua: .. _config_lua:
LUA Configuration Files Lua Configuration Files
======================= =======================
LUA configuration files are similar to the main configuration file, but they Lua configuration files are similar to the main configuration file, but they
leverage the LUA language to enable advanced configuration of module arguments leverage the Lua language to enable advanced configuration of module arguments
and allow split-file configuration. and allow split-file configuration.
There is only one global section that WirePlumber reads from these files: the There is only one global section that WirePlumber reads from these files: the
@@ -29,7 +29,7 @@ information about the loaded component::
Valid component types include: Valid component types include:
* ``module``: A WirePlumber shared object module. * ``module``: A WirePlumber shared object module.
* ``script/lua``: A WirePlumber LUA script. * ``script/lua``: A WirePlumber Lua script.
* ``pw_module``: A PipeWire shared object module (loaded on WirePlumber, * ``pw_module``: A PipeWire shared object module (loaded on WirePlumber,
not on the PipeWire daemon). not on the PipeWire daemon).
@@ -45,15 +45,15 @@ information about the loaded component::
Split-File Configuration Split-File Configuration
------------------------ ------------------------
When a LUA configuration file is loaded, the engine also looks for additional When a Lua configuration file is loaded, the engine also looks for additional
files in a directory that has the same name as the configuration file and a files in a directory that has the same name as the configuration file and a
``.d`` suffix. ``.d`` suffix.
A LUA directory can contain a list of LUA configuration files. Those files are A Lua directory can contain a list of Lua configuration files. Those files are
loaded alphabetically by filename so that user can control the order in which loaded alphabetically by filename so that user can control the order in which
LUA configuration files are executed. Lua configuration files are executed.
LUA files in the directory are always loaded *after* the configuration file Lua files in the directory are always loaded *after* the configuration file
that is out of the directory. However, it is perfectly valid to not have any that is out of the directory. However, it is perfectly valid to not have any
configuration file out of the directory. configuration file out of the directory.