return table details in docs
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Zsolt Tasnadi
2026-02-26 11:25:20 +01:00
parent 8f34cbf875
commit 226d75d905
19 changed files with 379 additions and 233 deletions

View File

@@ -9,9 +9,11 @@ AudioTestWindow = {
--- Generates menu items for audio test.
--- @within AudioTestWindow
-- @param list_func table List of audio functions.
-- @param index_func number Current index of selected function.
-- @return table Generated menu items.
--- @param list_func table List of audio functions.
--- @param index_func number Current index of selected function.
--- @return result table Generated menu items, an array of menu item tables.
--- @return result.label string Display text for the menu item.
--- @return result.decision function Called when the menu item is selected.
function AudioTestWindow.generate_menuitems(list_func, index_func)
return {
{
@@ -42,7 +44,7 @@ end
--- Generates list of audio functions.
--- @within AudioTestWindow
-- @return table A sorted list of audio function names.
--- @return table A sorted list of audio function names.
function AudioTestWindow.generate_listfunc()
local result = {}