mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
add U16view, I16view, U32view, I32view classes
This commit is contained in:
parent
86a4060a68
commit
aa54e900d9
4 changed files with 69 additions and 9 deletions
|
|
@ -19,10 +19,10 @@ function audio.fetch_input(token, size)
|
|||
size = size or MAX_FETCH
|
||||
if audio_input_tokens_store[token] then
|
||||
if #total_fetch >= size then
|
||||
return total_fetch:sub(1, size)
|
||||
return total_fetch:slice(1, size)
|
||||
end
|
||||
total_fetch:append(_audio_fetch_input(size - #total_fetch))
|
||||
return total_fetch:sub()
|
||||
return total_fetch:slice()
|
||||
end
|
||||
error("access denied")
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue