add 'record-audio' permission

This commit is contained in:
MihailRis 2026-01-05 16:40:00 +03:00
parent 97d2623a06
commit b3ae6eb59a
6 changed files with 25 additions and 6 deletions

View file

@ -67,5 +67,8 @@ function on_open()
table.insert(devices, {value=name, text=name})
end
selectbox.options = devices
selectbox.value = audio.__get_input_info().device_specifier
local info = audio.__get_input_info()
if info then
selectbox.value = info.device_specifier
end
end