View difference between Paste ID: 7iCJSdB4 and Pbspmxxt
SHOW: | | - or go back to the newest paste.
1-
--------------------------------------
1+
local audioChannel, otherAudioChannel, currentSong, curAudio, prevAudio = 1
2-
MUSIC LIB CLASS (MusicLib.lua)
2+
3-
--------------------------------------
3+
4-
4+
5-
local _M = {}
5+
6-
6+
7-
7+
8-
local audioChannel
8+
9-
local otherAudioChannel
9+
10-
local currentSong
10+
11-
local curAudio
11+
12-
local prevAudio = 1
12+
13-
13+
14
audio.reserveChannels(2)
15
audio.currentBackgroundChannel = 1