@@ -1,7 +1,7 @@
return {
summary = 'Get the falloff parameters for the Source.',
description = [[
- Returns parameters that control how the volume of the Source falls of with distance.
+ Returns parameters that control how the volume of the Source falls off with distance.
]],
arguments = {},
returns = {
summary = 'Set the falloff parameters for the Source.',
- Sets parameters that control how the volume of the Source falls of with distance.
+ Sets parameters that control how the volume of the Source falls off with distance.
Only mono sources support positional falloff. Using this function on a stereo Source will cause
an error.
@@ -4,13 +4,13 @@ return {
Sets the master volume. The volume of all Sources will be multiplied by this factor.
- arguments = {},
- returns = {
+ arguments = {
{
name = 'volume',
type = 'number',
description = 'The master volume.'
}
},
+ returns = {},
notes = 'The default is 1.0.'