几个音频模块和skin模块load附加必须先init的条件

This commit is contained in:
MrZ626
2021-07-18 23:33:45 +08:00
parent 06d34d8c55
commit 498a0ef7e8
6 changed files with 10 additions and 1 deletions

View File

@@ -1,6 +1,8 @@
local VOC={
getCount=function()return 0 end,
getQueueCount=function()return 0 end,
loadOne=function()error("Cannot load before init!")end,
loadAll=function()error("Cannot load before init!")end,
getFreeChannel=NULL,
play=NULL,
update=NULL,