Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59122 - White noise and fast playback with alsa
Summary: White noise and fast playback with alsa
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High minor (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-02 00:47 UTC by Nicolai Langfeldt
Modified: 2004-08-29 03:20 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 Nicolai Langfeldt 2004-08-02 00:47:12 UTC
I just upgraded from 2.4 to 2.6.7 and built with alsa drivers.  After re-emerging xmms I configured it to play with the alsa playback driver only to find that playback is _fast_.  The tempo of my tunes is obviously higher - with no change in pitch.  Playback through the oss playback driver rendered the tunes at normal speed.

Trying to isolate what caused the problem I rebuilt mpg123, but it appears to only do output through oss.  I also built alsaplayer (0.99.76 ebiuild) but it rendered only white noise.  Some searching in gentoo bugzilla showed that that sometimes is caused by gcc so I changed my gcc flags to "-O3 -pipe -mcpu=750" and reemerged alsa-lib and alsaplayer.  Same white noise.

I'm not quite sure what else to do to see where this problem originates.  For all I know it could be both xmms and alsa.  Any suggestions?

Meanwhile I've removed the alsa USE flag an I shall be relying on the oss emulation layer.

Reproducible: Always
Steps to Reproduce:
1. emerge xmms with alsa USE flag
2. change xmms output driver to alsa
3. listen to fast music

Actual Results:  
Music too fast, but with unchanged pitch (voices did not go squeaky)

Expected Results:  
Music at regular speed.

Please note:
- I removed the "alsa" USE flag before getting this output.
- My normal CFLAGS is "-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec" and the
whole system is built with this.

Portage 2.0.50-r9 (default-ppc-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7++)
=================================================================
System uname: 2.6.7++ ppc 7455, altivec supported
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -mcpu=750"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/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/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -pipe -mcpu=750"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache cvs"
GENTOO_MIRRORS="ftp://ibiblio.org/pub/Linux/distributions/gentoo/
http://trumpetti.atm.tut.fi/gentoo/ http://mirror.gentoo.no/
http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo
http://mirror.pudas.net/gentoo"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirror.gentoo.no/gentoo-portage"
USE="X Xaw3d acl alsa apm berkdb cdr crypt cups dvd emacs encode ethereal fbcon
foomaticdb gdbm gif gnome gnome-libs gpm gtk gtk2 guile imap imlib jpeg kde
libwww maildir mcal mitshm motif mozilla mpeg nls oggvorbis opengl oss pam perl
png ppc python qt readline scanner sdl slang snmp spell ssl tcltk tcpd tetex
tiff truetype trusted usb video_cards_radeon xft xmms xv zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-08-02 12:39:41 UTC
Sis you use OSS or alsa drivers with 2.4?  Can you try emerging alsa-driver-1.0.5?  Try 'play' provided by sox when you 'emerge sox' with USE=alsa.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-08-02 12:40:15 UTC
Also, try 'aplay' provided by alsa-utils.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-08-29 03:20:35 UTC
no response from submitter.