[gstreamer-bugs] [Bug 576800] New: gstreamer SPC plugin requires non-portable x86 code

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Mar 25 21:03:30 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=576800

  GStreamer | gst-plugins-bad | Ver: git
           Summary: gstreamer SPC plugin requires non-portable x86 code
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: mpyne at purinchu.net
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unversioned Enhancement
   GNOME milestone: Unspecified


gst-spc, the SNES SPC playback plugin uses OpenSPC, which is coded in raw,
nearly unpenetrable x86 assembly, limiting it to x86 and x86_64.

Luckily the emulation state of the art has advanced since then an a suitable
replacement library written in nearly unpenetrable C++ is available (and useful
on even PPC in theory for instance).  This is Shay Smith's snes_spc
(http://slack.net/~ant/libs/audio.html#snes_spc), as used by bsnes and now
zSNES and available under the LGPL.

I've prepared a patch utilizing this library (including it inline, v0.9.0,
instead of making it a dependency, as done with the similar NSF plugin), which
I will attach.  I suppose the naming convention would move spc from /ext to
/gst but I'll let you guys handle your directory layout. ;)

There's probably a porting bug or two (notably, I've not been able to test
seeking with gst-launch and I couldn't get eina to work, and I don't really
feel like waiting for anything larger to compile to test... :-/).  Hopefully
nothing major, if you have any question feel free to drop me a line.  Thanks.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=576800.




More information about the Gstreamer-bugs mailing list