Reputation: 12579
I am trying to play audio as i used to do but it seems not working now. These are the codes I tried:
local birdSound = audio.loadSound("bird.mp3")
audio.play(birdSound)
It gives an error like that:
WARNING: Failed to create audio sound
Can you help me out? Thanks.
Upvotes: 0
Views: 1775
Reputation: 12579
Changing the bit rate(increasing) of my files helped me to solve the problem. Thanks to SatheeshJM!
Upvotes: 0
Reputation: 127
Upvotes: 1