Howdy, It looks like this may have gone into a black hole. :)It would be greatly appreciate if someone could submit the code donated by SHINTA to the repo. The sources are available here:
http://www2u.biglobe.ne.jp/~shinta/test/APEReaderDonate.zip http://www2u.biglobe.ne.jp/~shinta/test/LibMonkeysAudioDonate.zip Patch from SHINTA (to make APE reader faster) is attached. Thanks in advance! Koki -------- Original Message -------- Subject: [haiku-development] Re: Donating codes: APE reader Date: Wed, 04 Jun 2008 21:14:53 +0900 From: SHINTA <shinta.0806@xxxxxxxxx> Reply-To: haiku-development@xxxxxxxxxxxxx To: haiku-development@xxxxxxxxxxxxx Hi,
> Here is a code which is the static version of APE. Thank you. > http://www2u.biglobe.ne.jp/~shinta/test/APEReaderDonate.zip > http://www2u.biglobe.ne.jp/~shinta/test/LibMonkeysAudioDonate.zip This code has two problems. One is taking long time in CAPEHeader::FindDescriptor(). 1 byte x 1 mega times disk access seems to be slow, although this code worked well in ZETA.
I modified the code, and now, APE reader is fast. Please use attached new APEHeader.cpp.
Another is no support for seeking. Seek code doesn't work.
Currently, I have no perspective to improve this. But, APE reader can play APE files anyway. Regards. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SHINTA E-Mail shinta.0806@xxxxxxxxx Web http://www2u.biglobe.ne.jp/~shinta/be/ (Japanese only)