After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 141189 - [PATCH] [SPC] playback
[PATCH] [SPC] playback
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other All
: Normal enhancement
: 0.8.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 166746 (view as bug list)
Depends on:
Blocks: 138435
 
 
Reported: 2004-04-27 13:46 UTC by Tor-björn Claesson
Modified: 2005-03-26 15:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tor-björn Claesson 2004-04-27 13:46:01 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)
Comment 1 Christian Fredrik Kalager Schaller 2004-12-04 18:16:26 UTC
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.
Comment 2 Richard Hoelscher 2005-02-09 05:38:38 UTC
*** Bug 166746 has been marked as a duplicate of this bug. ***
Comment 3 Ronald Bultje 2005-03-06 12:33:15 UTC
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.
Comment 4 Chris Lee 2005-03-24 23:21:31 UTC
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.
Comment 5 Ronald Bultje 2005-03-25 07:57:52 UTC
I have a mp3 that is detected as SPC by the detection code. I'll attach it later.
Comment 6 Ronald Bultje 2005-03-26 10:53:00 UTC
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.
Comment 7 Ronald Bultje 2005-03-26 15:17:52 UTC
Applied, thanks Chris and Michael.