GNOME Bugzilla – Bug 141189
[PATCH] [SPC] playback
Last modified: 2005-03-26 15:17:52 UTC
Playback of SPC-files as dumped by zsnes (http://www.zsnes.com/, GPL) an snes9x (www.snes9x.com). There are alot of those files available here: http://www.zophar.net/zsnes/spc/ And some players: http://www.zophar.net/utilities/spc.html (som GPL, others not)
Just saw that Michael Payne is working on a plugin for this on www.planetkde.org, so hopefully he is ready to submit it soon.
*** Bug 166746 has been marked as a duplicate of this bug. ***
Chris Lee has a working plugin based on Michael's code. I've played around with it and sent him a patch to fix event handling, I expect to see it in gst-plugins for 0.8.9.
You can download it from http://c133.org/tmp/gst-spc-0.3.tar.gz - untar it in your gst-plugins/ dir, and then add 'spc' to the list of directories in the ext/Makefile.am and you should be good to go. This only works on x86 as the SPC playback code is written in x86 assembler. Anybody who's willing to help out by porting it from x86 ASM to C is welcome to contact me - I'd appreciate it but I don't have the time to do it myself. Also, the code *may* work using yasm on amd64, but I haven't tried that either. YMMV.
I have a mp3 that is detected as SPC by the detection code. I'll attach it later.
if (!(strcmp(string, "SNES-SPC700 Sound File Data") == 0)) { Obviously... :). That is a double (and thus a self-inverting) null check, Chris. Close, but not just yet. ;). Issue solved, I'll integrate it one of the next few days.
Applied, thanks Chris and Michael.