Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22740 - XMMS/libMikMod/16 Bit sampling produces garbage
Summary: XMMS/libMikMod/16 Bit sampling produces garbage
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Pieter Van den Abeele (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-13 03:52 UTC by Brian Maloney
Modified: 2006-02-04 06:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Maloney 2003-06-13 03:52:15 UTC
Using XMMS's libMikMod plugin, in 16-bit resolution mode, it produces only
garbage noise.  Selecting 8-bit mode fixes it right up.  This leads me to
believe it may be an endian-ness issue.

Reproducible: Always
Steps to Reproduce:
1. Start XMMS
2. In the Preferences dialog, make sure the Resolution for libMikMod is set to
16-bit
3. Open a MOD file and play

Actual Results:  
Got hideous staticy noise out of the speakers.

Expected Results:  
Clear playing of the MOD file.

Portage 2.0.48-r1 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-ben10 ppc
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="mitshm ppc gnome-libs berkdb guile tcpd gtk X gtk2 gnome -alsa -qt -kde
-arts apm bonobo cdr cjk crypt curl dvd encode esd evo fbcon gd gdbm ggi gif gpm
gps gtkhtml imap imlib java jpeg libwww mikmod motif mozilla mpeg ncurses nls
oggvorbis opengl oss pam pcmcia pdflib perl png pnp python quicktime readline
sdl slang spell ssl tcltk tiff truetype trusted usb Xaw3d xinerama xml2 xmms xv
zlib"
COMPILER="gcc3"
CHOST="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec"
CXXFLAGS="-O2 -pipe"
ACCEPT_KEYWORDS="ppc ~ppc"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="ccache"
Comment 1 Lars Weiler (RETIRED) gentoo-dev 2003-06-28 20:04:20 UTC
It _is_ an endianness-bug.  I looked into the mikmod-source but can't find anything how to change it.  Usually mikmod runs on ppc (even on MacOS), but I don't know, if they switched off the usage of 16-bit mods.

I will leave this bug as new.  Hopefully another dev with other skills may look in it ;-)
Comment 2 Pieter Van den Abeele (RETIRED) gentoo-dev 2003-07-15 06:15:00 UTC
looking into this now 
Comment 3 Pieter Van den Abeele (RETIRED) gentoo-dev 2003-07-15 09:13:24 UTC
hm, the code to the mikmod plugin was last changed in '99 - and from looking at it, I see no suspicious code.

could this be a sound driver issue?
Comment 4 SpanKY gentoo-dev 2003-09-12 20:56:11 UTC
could you try xmms-1.2.8-r1 ?
and if it doesnt work post an offending mod file ?
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-15 05:34:44 UTC
Brian, please see spanky's comment.
Comment 6 Brian Maloney 2003-09-15 06:19:43 UTC
Sorry, Gentoo has crashed horribly on my Mac and I haven't been able to get it booting again.  If anyone else can test this, it was EVERY mod file which was causing the problem, so you shouldn't have a problem reproducing it with the older version.
Comment 7 Pieter Van den Abeele (RETIRED) gentoo-dev 2003-12-14 11:35:59 UTC
Going to close this with worksforme