Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262935 - media-sound/mpd-0.14.2: very quietly plays mp3, flac as well.
Summary: media-sound/mpd-0.14.2: very quietly plays mp3, flac as well.
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-18 16:43 UTC by Alexsandr Pavlov
Modified: 2009-06-02 08:18 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 Alexsandr Pavlov 2009-03-18 16:43:39 UTC
When playing mp3 files sound very quiet. With such flac audio to normal.
Tried mpd-0.13.2. mp3 plays fine.
media-sound/mpd-0.13.2  USE="aac alsa flac iconv ipv6 mikmod mp3 ogg unicode vorbis -ao -audiofile -avahi -icecast -jack -libsamplerate -musepack -oss -pulseaudio"
 media-sound/mpd-0.14.2 USE="aac alsa ffmpeg flac ipv6 lame mad mikmod ogg unicode vorbis wavpack -ao -audiofile  -icecast -jack -libsamplerate -musepack -oss -pulseaudio"
Sound card driver:
media-sound/xfi-drivers-1.00

Reproducible: Always
Comment 1 Alexsandr Pavlov 2009-03-18 16:44:15 UTC
emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7200_@_2.53GHz-with-glibc2.2.5
Timestamp of tree: Tue, 17 Mar 2009 16:25:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt dbus dirac dri dvd dvdr dvdread eds emboss encode esd evo fam firefox flac fortran gdbm gif gpm gtk hal iconv ipv6 isdnlog jpeg lame ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb vorbis wavpack x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Alexsandr Pavlov 2009-03-22 18:48:22 UTC
emerge with USE = "-mad", mp3 sound began to play normally.
media-sound/mpd-0.14.2  USE="aac alsa ffmpeg flac ipv6 lame mikmod ogg unicode vorbis wavpack -ao -audiofile -curl -debug -doc -icecast -id3 -jack -libsamplerate -mad -musepack -oss -pulseaudio -zeroconf"
Comment 3 Christoph Mende (RETIRED) gentoo-dev 2009-03-22 21:25:17 UTC
that probably means you're using ffmpeg now, so this might be a problem with your libmad
Comment 4 Alexsandr Pavlov 2009-03-22 21:51:46 UTC
Tried USE="-ffmpeg", USE="-lame", the same thing. Helps only USE="-mad".
Comment 5 Alexsandr Pavlov 2009-03-22 21:56:42 UTC
I have libmad:
media-libs/libmad-0.15.1b-r2  USE="-debug"
Tried libmad:
media-libs/libmad-0.15.1b-r5  USE="-debug"
The result are the same.
Comment 6 Christoph Mende (RETIRED) gentoo-dev 2009-03-22 22:00:36 UTC
(In reply to comment #4)
> Tried USE="-ffmpeg", USE="-lame", the same thing. Helps only USE="-mad".
> 

lame has nothing to do with mp3 playback, just -ffmpeg and still +mad won't make a difference, -ffmpeg -mad should prevent mp3 playback completely
Comment 7 Alexsandr Pavlov 2009-03-22 22:09:56 UTC
libmad also uses mplayer, it will play mp3 with normal volume.
kidoz # equery d libmad
[ Searching for packages depending on libmad... ]
media-sound/mpd-0.14.2 (mad? media-libs/libmad)
media-video/mplayer-1.0_rc2_p28450 (mad? media-libs/libmad)
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2009-05-20 16:25:35 UTC
Try mpd-0.15_beta2.
Comment 9 Kyle Liddell 2009-06-02 08:18:17 UTC
(In reply to comment #8)
> Try mpd-0.15_beta2.
> 

I think I might be having a related problem.
With "mad" in useflags for mpd-0.14.2, mp3s play correctly.  However, with mad set for mpd-0.15_beta2, I'm unable to play them.  I'm using the digital output from my sound card, and my receiver shows that the link goes down.  mpd.log doesn't show any errors, and mpd shows that the file is playing, and lasts for the correct time for the file.  If I switch to an ogg or flac file, it works fine.  Doing USE="-mad" (with ffmpeg already set) makes mp3s work in mpd-0.14 and 15.

Let me know if you need emerge --info, or the mpd logs, etc.