Page 1 of 1
AudioTest
Posted: Sun May 15, 2016 4:00 am
by yamahara
Hello.
It's AudioTest.
Re: AudioTest
Posted: Sun May 15, 2016 6:37 am
by zorg
Hi!
It is a neat program, but there is an issue with it;
I believe that, whenever you start playing a track that you have not played before, it creates a SoundData for it, which means that RAM usage will grow large. I closed it when it approached 1 GB.
If the application only creates those for the FFT, and streams the songs otherwise, then they should be made free when the user starts playing another song. That way, the size in RAM will be kept small.
If the application doesn't stream the songs, then it should do so.
Sorry, but I am unfamiliar with cocos, so i couldn't find the exact cause of this in such a short time!
Re: AudioTest
Posted: Sun May 15, 2016 11:17 pm
by yamahara
Thank you, zorg.
I'll reconsider a source of audio!
Re: AudioTest
Posted: Mon May 16, 2016 5:43 am
by zorg
No problem, i hope i explained it well!
Re: AudioTest
Posted: Tue May 17, 2016 1:08 pm
by Sulunia
Can't add anything else but say it looks awesome.
Only issue was the memory one cited by zorg, but i guess you know that hehe.
Good job!
Re: AudioTest
Posted: Wed May 18, 2016 3:37 am
by yamahara
Thank you, Sulunia.
I use your github library luafft, love this!
Re: AudioTest
Posted: Wed May 18, 2016 3:55 am
by Sulunia
It wasn't exactly a library, it was more of a tutorial of sorts.
But still, glad it helped out! Means it served it's purpose.
Re: AudioTest
Posted: Wed May 18, 2016 11:02 pm
by pgimeno
Lovely player! Good job.
It does not leak memory, it just seems to cache everything. Going back doesn't increase memory usage.