mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 23:11:49 +00:00
add audio.input.get_input_info
This commit is contained in:
parent
58fc5e944d
commit
a4b52b241c
2 changed files with 10 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue