When i try sfx_startup:play() my application stops & crashes, im using .wav files when trying to play sounds.
Here's an example code:
local audio = require "audio"
local sfx_startup = audio.Sound("assets/sfx/Startup.wav")
local sfx_info = audio.Sound("assets/sfx/Info.wav")
local sfx_error = audio.Sound("assets/sfx/Error.wav")
local sfx_success = audio.Sound("assets/sfx/Success.wav")
local sfx_warn = audio.Sound("assets/sfx/Warn.wav")
sfx_startup:play() -- Crashes here.
Yes, the assets folder is placed in the same place where the lua application script is placed