This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9210 - ASAP plugin
Attached to Project:
Rockbox
Opened by Dominik Wenger (Domonoky) - Wednesday, 23 July 2008, 21:07 GMT+2
Last edited by Dominik Wenger (Domonoky) - Saturday, 26 July 2008, 17:43 GMT+2
Opened by Dominik Wenger (Domonoky) - Wednesday, 23 July 2008, 21:07 GMT+2
Last edited by Dominik Wenger (Domonoky) - Saturday, 26 July 2008, 17:43 GMT+2
|
DetailsHi,
i made a first attempt for a ASAP (http://asap.sourceforge.net/) port to Rockbox. This is a very crude port of the asap2wav program to a rockbox plugin. It works as a Viewer and converts a .sap file to "test.wav" in the root folder. (test.wav has to exist before). On Simulator it works nicly, but not on Target. It tested it on a m:robe100 and it runs without error, but does not produce correct sound. I only get loud cracking and such in the wav file. I suspect this is because of some endianess problems. (our targets are big-endian, where pc is little-endian). EDIT: m:robe100 is LE, so it cant be endian problems. At the moment i dont know where and how to attack this problem, as the asap code seems to have nearly no way to tell if something is gone wrong. (and its full of a MACRO hell ) so if others want to join the fun, jump in :-) |
This task depends upon
Closed by Dominik Wenger (Domonoky)
Saturday, 26 July 2008, 17:43 GMT+2
Reason for closing: Accepted
Saturday, 26 July 2008, 17:43 GMT+2
Reason for closing: Accepted
Its still very early, no metadata parser is in place, so songlengh others are fake.
But it plays sound without problems. I tested on sim and on m:robe100.
On m:robe100 i got ~850% realtime. so no performance problems :-)
edit:
forgot to remove the memset.
delete line 118 in apps/codecs/asap.c
new try:
I get ~160.19% realtime, according to test_codec.
Decode time - 16.23s
File duration - 26.00s
now with metadata parser.
elapsed_time and sub_songs, seeking handling still missing.
Only thing missing is SubSong handling. At the moment it always plays the default song.
Edit:
small fix, so it correctly works on big-endian targets.