#324 fixed alarm sounder lag

This commit is contained in:
Mikayla Fischler
2023-08-26 19:01:22 -04:00
parent 17698b7fb4
commit 2ed28cf74d
6 changed files with 8 additions and 5 deletions

View File

@@ -296,6 +296,9 @@ function audio.new_stream()
end
end
-- check if any alarms are active
function public.any_active() return self.any_active end
-- check if the next audio block has data
function public.has_next_block() return #self.quad_buffer[self.next_block] > 0 end

View File

@@ -8,7 +8,7 @@ local cc_strings = require("cc.strings")
local util = {}
-- scada-common version
util.version = "1.0.1"
util.version = "1.0.2"
-- ENVIRONMENT CONSTANTS --