This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11978 - New Atari SC68/SNDH codec based on the SC68 library by Benjamin Gerard
Attached to Project:
Rockbox
Opened by Mauricio Garrido (gama) - Tuesday, 01 March 2011, 23:48 GMT+2
Opened by Mauricio Garrido (gama) - Tuesday, 01 March 2011, 23:48 GMT+2
|
DetailsHi, this is a new codec based on the SC68 library
by Benjamin Gerard (sc68.atari.org). Revision: 29484 Tested on: Sansa Fuze v2 Features: - 44 Khz Stereo sound. - Supports sc68 and sndh files. - Support for multi track and single track files. - Metadata parsing. - Fade out support. ** This codec needs the sc68 Replay folder to work, just put it in the root of your player. you can find one here: http://aminet.net/package.php?package=mus/play/sc68.lha Notes: 1. This is a beta codec, some (big) songs may cause rockbox to crash. 2. When compiling the sc68 library i had a lot of dependencies errors with missing includes. It is compiling fine now on the vmware image, but not in cygwin. I still have to find the problem with that. 3. Some songs doesn't work, specially some big sndh files. I'm still working on it. 4. Seek support is broken, i'm working on it. Please feel free to make any comment or suggestion. |
This task depends upon
ps: codecs.h/c still need to be modified for compiling in non-recording targets
Gamma, please note that sc68 is multiformat not only for atari st(e) but for amiga too
attached edited codecs.h\c which works with r29533
I'm a little counfused, what do you mean by multiformat?
And yeah this codec also needs Joshua's patch to compile in all targets,
(the same changes you posted), i just don't have the time to update it right now.
Attached tune made for amiga.
error: make: *** No rule to make target `/home/tails_/rockbox_clean/sdlbuild/emu68/type68.h', needed by `/home/tails_/rockbox_clean/sdlbuild/apps/codecs/libsc68/emu68/emu68.o'. Stop.
Is that only my problem? :S
I pointed that out in note2, it seems it is related to the use of subfolders in libsc68, and some files include
headers from other folders,
I don't want to put all files in the one folder but if there is no other option i guess that would be an ugly way to fix it,
and we would still have to change many include directives manually.
the VGM format from game_music_emu, please let me know if there are any other problems with it.
Tip: If you change max amount of memory avaible for codecs big sndh files plays fine
That said, we've never committed GPLv3 code before, and it would be nice to retain GPLv2 compatibility. IMO if this is going to be committed I think it should be entirely enclosed inside #ifdef GPLV3 blocks, so that if someone needs GPLv2 binaries, they can easily disable the v3 bits.
Changelog:
- Remove all metadata handling from the codec.
- Removed unnecesary files from patch
- Fixed some track length issue.
- Fixed some strncpy bug