aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorred-001 <red-001@outlook.ie>2017-04-06 07:14:31 +0100
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-04-06 08:14:31 +0200
commit4ee6be856d435dff010244c910d5dafe2bfbeb1e (patch)
tree43557d528d75584851e199342827c320a57bee46 /doc
parent6da828c471768f2a9efadce7dd51c6cdc5cde6cc (diff)
downloadminetest-4ee6be856d435dff010244c910d5dafe2bfbeb1e.tar.gz
minetest-4ee6be856d435dff010244c910d5dafe2bfbeb1e.tar.bz2
minetest-4ee6be856d435dff010244c910d5dafe2bfbeb1e.zip
[CSM] Add support for positional audio. (#5516)
Fixes parts of #5389.
Diffstat (limited to 'doc')
-rw-r--r--doc/client_lua_api.md15
1 files changed, 4 insertions, 11 deletions
diff --git a/doc/client_lua_api.md b/doc/client_lua_api.md
index 68156efd3..25055c98a 100644
--- a/doc/client_lua_api.md
+++ b/doc/client_lua_api.md
@@ -131,7 +131,7 @@ The `:` prefix can also be used for maintaining backwards compatibility.
Sounds
------
-**NOTE: Not fully implemented yet.**
+**NOTE: max_hear_distance and connecting to objects is not implemented.**
Only Ogg Vorbis files are supported.
@@ -158,18 +158,12 @@ from the available ones of the following files:
Examples of sound parameter tables:
- -- Play locationless on all clients
+ -- Play locationless
{
gain = 1.0, -- default
}
- -- Play locationless to one player
+ -- Play locationless, looped
{
- to_player = name,
- gain = 1.0, -- default
- }
- -- Play locationless to one player, looped
- {
- to_player = name,
gain = 1.0, -- default
loop = true,
}
@@ -187,8 +181,7 @@ Examples of sound parameter tables:
loop = true,
}
-Looped sounds must either be connected to an object or played locationless to
-one player using `to_player = name,`
+Looped sounds must either be connected to an object or played locationless.
### SimpleSoundSpec
* e.g. `""`