You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. al_isSoundFilename('lol.png')
Loading 'lol.png' isn't a problem because loadAssets checks al_isImgFilename
first then if false checks al_isSoundFilename however if you tried to load
'lol.bmp' (for whatever reason) it would try to decode it as audio data.
I'm sure the fix is to just change
function al_isSoundFilename(fname)
{
return fname.indexOf('.ogg') != -1 ||
fname.indexOf('.ogg') != -1 ||
fname.indexOf('.ogg') != -1 != -1;
};
to
function al_isSoundFilename(fname)
{
return fname.indexOf('.ogg') != -1;
};
Original issue reported on code.google.com by [email protected] on 19 Jul 2013 at 4:04
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 19 Jul 2013 at 4:04The text was updated successfully, but these errors were encountered: