add audio.input.get_input_info

This commit is contained in:
MihailRis 2026-03-21 23:05:33 +03:00
parent 58fc5e944d
commit a4b52b241c
2 changed files with 10 additions and 1 deletions

View file

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