I have a G3 iBook 800 MHz Rev. 2.2 with vanilla kernel 2.6.10. The kernel
ALSAdriver as well as OSS emulation are activated, for the kernel config see
below.
alsaplayer -o alsa music.wav
only produces white noise. Could this be a endianness-problem?
I tried also
alsaplayer -o jack music.wav
and everything is ok. (jackd running at 44.1 kHz)
Also, the ALSA output via
aplay music.wav
does not give any problem.
All these obervations are reproducible on my iBook. I tried it with various
wave files of different origin, to make sure that it is not an inconsistency in
the wave file.
relevant part of kernel-config:
#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
#
# Generic devices
#
CONFIG_SND_VIRMIDI=m
#
# ALSA PowerMac devices
#
CONFIG_SND_POWERMAC=m
# emerge info
Portage 2.0.51-r8 (default-ppc-2004.1, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.10 ppc)
=================================================================
System uname: 2.6.10 ppc 750FX
Gentoo Base System version 1.6.8
Python: dev-lang/python-2.2.2,dev-lang/python-2.3.4 [2.3.4 (#1,
Sep 16 2004, 23:11:34)]
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port
3632)[disabled]
dev-lang/python: 2.2.2, 2.3.4
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.8.5-r2, 1.5, 1.9.3, 1.6.3, 1.7.9, 1.4_p6
sys-devel/binutils: 2.15.90.0.3-r4
sys-devel/libtool: 1.5.10-r2
virtual/os-headers: 2.4.18-r2, 2.4.22
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config/usr/lib/X11/xkb /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://gd.tuwien.ac.at/opsys/linux/gentoo/"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm arts audiofile berkdb bitmap-fonts blas bzlib
caps cdparanoia crypt cups dba divx4linux doc dvd encode exif f77 flac
font-server fortran gcj gd gdbm gif gnome-libs gphoto2 gpm gtk gtk2 guile icq
imlib innodb jack jack-tmpfs java jpeg kde ladcca ladspa lcms libcaca libwww
live lzo mad maildir matroska monkey motif mpeg mysql ncurses nls objc
offensive oggvorbis opengloss pam pdflib perl png ppc python qt readline samba
sasl sdl slang sndfile speex spell ssl tcltk tcpd tetex theora tiff truetype
truetype-fonts type1-fonts usb wmf xine xml xml2 xmms xprint xv xvid xvmc zlib
video_cards_radeon"
Actually I posted 3 bug reports about programs that produce white noise on PPC:
1) ALSA output of alsaplayer, this bug.
2) ALSA output of hydrogen, bug 76414.
3) JACK output of xmms-jack, bug 76755.