#324 fixed alarm sounder lag
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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 --
|
||||
|
||||
|
||||
Reference in New Issue
Block a user