Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60945 - esound-0.2.35 plays sound at 44.1khz when only 48khz is supported
Summary: esound-0.2.35 plays sound at 44.1khz when only 48khz is supported
Status: RESOLVED DUPLICATE of bug 59779
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Blocks: 59768 64135 66864
  Show dependency tree
Reported: 2004-08-19 14:10 UTC by Calvin Walton
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Calvin Walton 2004-08-19 14:10:28 UTC
I have a rather ppor onboard soundcard that only supports playing sound at 48khz. I'm using the intel8x0 alsa driver from the 2.6.8 kernel, and alsa-lib 1.0.5-r3.

esd 0.2.35, unlike the previous version, plays back 44.1khz sound without resampling it to 48khz. This can seen with the output from, e.g. mpg321:

mpg321 -o esd

w/ esound-0.2.34:
 Playing MPEG stream from Gerry Rafferty - Baker Street.mp3 ...
 MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
 Audio device open for 44.1Khz, stereo, 16bit failed
 Trying 44.1Khz, 8bit stereo.
 Audio device open for 44.1Khz, stereo, 8bit failed
 Trying 48Khz, 16bit stereo.

w/ esound 0.2.35:
 Playing MPEG stream from Gerry Rafferty - Baker Street.mp3 ...
 MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo

Reproducible: Always
Steps to Reproduce:
1. emerge =media-sound/esound-0.2.35 on hardware that only supports 48khz playback
2. attempt to play 44.1khz sound

Actual Results:  
The sound was choppy and distorted from being played back at the wrong sample rate.

Expected Results:  
The sound should be resampled to the correct rate.

Portage 2.0.51_pre20 (default-x86-2004.2, gcc-3.3.4, glibc-,
2.6.8-gentoo i686 AMD Athlon(tm) XP 2400+)
System uname: 2.6.8-gentoo i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.5.3
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-
Headers:  sys-kernel/linux26-headers-2.6.7-r4
Libtools: sys-devel/libtool-1.5.2-r5
CFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer"
FEATURES="autoaddcvs ccache sandbox"
PORTDIR_OVERLAY="/usr/local/overlays/bmg-main /usr/local/portage"
USE="3dnow 3dnowex X aalib acpi alsa apache2 apm audiofile avi berkdb bonobo
bzlib cdparanoia cdr crypt cups curl dba dvd edl encode esd evo exif faad fam
fbcon flac foomaticdb ftp gd gdbm gif gimp gimpprint gnome gnomedb gphoto2 gpm
gstreamer gtk gtk2 gtkhtml guile imlib java javascript joystick jpeg libcaca
libg++ libgda libwww mad mikmod mime mmx mng motif mozcalendar mozdevelop
mozilla mozsvg mozxmlterm mpeg mysql ncurses network nls nntp oggvorbis openal
opengl oss pam pdflib perl png ppds python qt quicktime readline rtc samba
scanner sdl slang sndfile speex spell sse ssl tcltk tcpd theora tiff truetype
usb wmf x86 xine xinerama xml xml2 xpm xprint xsl xv xvid zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-08-29 03:53:09 UTC
gnome herd follows esd
Comment 2 Chris White (RETIRED) gentoo-dev 2004-09-04 21:20:44 UTC
*bump* ?
Comment 3 foser (RETIRED) gentoo-dev 2004-09-05 01:41:09 UTC
bump ? wth man, this is no forum & even if it was...
Comment 4 foser (RETIRED) gentoo-dev 2004-10-09 05:24:59 UTC

*** This bug has been marked as a duplicate of 59779 ***