开发者

Added AudioFileClose to prevent running out of file handles

开发者 https://www.devze.com 2023-01-11 07:46 出处:网络
I encountered 开发者_如何转开发a problem using Finch - I was opening and releasing again alot of sound files and a particular point in the project sounds would stop loading - the error code form ALOpe

I encountered 开发者_如何转开发a problem using Finch - I was opening and releasing again alot of sound files and a particular point in the project sounds would stop loading - the error code form ALOpenFileFromURL... was 43 - File not found ... my solution in the end was to make sure that files were closed by adding AudioFileClose (and keeping a record of the fileId) to the dealloc in Sound.m... my solution is probably not graceful and maybe naive but seems to work for now - so i thought i would post in case it helps anybody else

thanks, Ross


That was a bug, nice catch! Thanks for reporting, it’s fixed in the current version. Next time you can report the bug directly to the bug tracker, it will be noticed sooner.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号