Open Isemenuk27 opened 2 years ago
When trying to get the length from packed mp3 files (inside .vpk archives) an error appears.
print(NewSoundDuration("music/hl2_song14.mp3"))
[gluasnd] addons/gluasnd/lua/autorun/soundduration.lua:128: attempt to index local 'buffer' (a nil value)
print(NewSoundDuration("music/vlvx_song20.mp3")) --HL2EP2 print(NewSoundDuration("music/trombonetauntv2.mp3")) --TF2
Same errors.
as far as i can tell there is no function in glua that grants access to reading the contents of vpks. insane that soundduration still hasnt been fixed.
When trying to get the length from packed mp3 files (inside .vpk archives) an error appears.
[gluasnd] addons/gluasnd/lua/autorun/soundduration.lua:128: attempt to index local 'buffer' (a nil value)
Same errors.