Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error #3

Open
jwardlaw520 opened this issue Jul 13, 2020 · 1 comment
Open

error #3

jwardlaw520 opened this issue Jul 13, 2020 · 1 comment

Comments

@jwardlaw520
Copy link

Error

src/Dependencies.lua:68: bad argument #2 to 'newSource' (string expected, got no value

@Anav-117
Copy link

you have to add the parameter for the type of audio you need, i.e, static or stream. simply add another parameter in the newSource function for all imported audio files.
['music'] = love.audio.newSource('sounds/music.mp3', 'static')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants