Open hollunder opened 8 years ago
I managed to work around. Knowing that this works might lead you closer to a solution. newSource does not work, neither for 'static' nor 'stream'. Instead of:
LOADER.newSource(SOUNDS, 'zap', 'snd/zap.wav', 'static')
I can load audio using newSoundData:
LOADER.newSoundData(SOUNDS, 'zap', 'snd/zap.wav', 'static')
And then using this cludge I can play back the same sound simultaneously:
love.audio.newSource(SOUNDS.zap):play()
So the problem is likely somehow related to newSource.
Hi, I have marked this project as deprecated and will close all open issues. Thanks for taking the time to report this.
It seems unlikely that I will fix this as SLAM's invasive overwriting of the Love's own APIs aren't a case that I feel like we should cover.
But I'll leave this open if only as a documentation that it exists.
To be honest, I don't know whether to request it here or there (https://github.com/vrld/slam). I tried to simply require slam in love-loader.lua but then it fails to load any audio.
I tried to debug this but don't know how to get details since the error seems to happen within the thread.