[mythtv-users] PPC and MythMusic FIX (at least for mp3s)
Kevin Kuphal
kuphal at dls.net
Fri Jan 13 14:08:08 UTC 2006
Ryan Oltman wrote:
> My first contribution back to the opensource community (after using Linux for
> the last 11 years its about damn time).
>
> Okay after being bugged by mythmusic on not working on a ppc I decided to sit
> down and figure this thing out. Especially since there appears to be 2 other
> people in the world that would love to have a mac-mini frontend to mythtv
> using linux.
>
> If you don't know the mac mini works fine with mplayer and the 1.2GHz is close
> to playing 1920x1080 xvid files without too many frame drops, but it would
> produce noise under mythmusic.
>
> The problem is that libmad returns little endian audio and the powerpc is a
> big endian machine. Simply compile minimad.c that comes with libmad on a ppc
> machine and see that it doesn't work. You get noise.
>
> I'm using 0.18.1 from gentoo on the mac mini. The mythmusic plugin code I
> used for my fixes came from:
> http://cvs.mythtv.org/trac/
> I used the release-0-18-fixes to compile only mythmusic.
>
> I know vorbis file have the same problem, but I don't use them (I did test
> one), so I figure there is a similar fix that can be done in that file.
>
> The fix:
>
You should submit this patch to http://cvs.mythtv.org/trac. It would be
most likely to be evaluated if you could regenerate it against SVN.
Also, a unified diff (diff -u or svn diff) is needed.
Thanks,
Kevin
More information about the mythtv-users
mailing list