Skip to content

Commit

Permalink
Change loading method to support Global audio sources
Browse files Browse the repository at this point in the history
  • Loading branch information
upgradeQ committed Mar 27, 2021
1 parent 0fd7203 commit 1b11ae6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions filter_hotkeys_audio.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ info.create = function(settings,source)
local filter = {}
filter.context = source
filter.created_hotkeys = false
filter.loaded_settings = settings
filter.hk = {}
filter.hotkeys = {}
return filter
Expand Down Expand Up @@ -99,11 +100,7 @@ info.reg_htk = function(filter,settings) -- registered in video_tick
end

info.video_tick = function(filter,seconds)
info.reg_htk(filter,nil)
end

info.load = function(filter,settings)
info.reg_htk(filter,settings)
info.reg_htk(filter,filter.loaded_settings)
end

info.save = function(filter,settings)
Expand Down

0 comments on commit 1b11ae6

Please sign in to comment.