mirror of
https://github.com/nucular/sfxrlua.git
synced 2024-12-24 18:44:20 +00:00
Removed redundant load()
This commit is contained in:
parent
1e9c69e6c7
commit
53ea575ef5
8
sfxr.lua
8
sfxr.lua
@ -912,14 +912,6 @@ function sfxr.Sound:exportWAV(f, freq, bits)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function sfxr.Sound:load(f)
|
|
||||||
local close = false
|
|
||||||
if type(f) == "string" then
|
|
||||||
f = io.open(f, "wb")
|
|
||||||
close = true
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
function sfxr.Sound:save(f, compressed)
|
function sfxr.Sound:save(f, compressed)
|
||||||
local close = false
|
local close = false
|
||||||
if type(f) == "string" then
|
if type(f) == "string" then
|
||||||
|
Loading…
Reference in New Issue
Block a user