Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323707 - media-sound/aqualung - Audio "Jogs" on Resume from Pause
Summary: media-sound/aqualung - Audio "Jogs" on Resume from Pause
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-12 19:04 UTC by Brad Beglin
Modified: 2010-06-29 19:05 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 Brad Beglin 2010-06-12 19:04:11 UTC
When playing back music, if I pause the playback and then resume playback, Aqualung does not start the playback at the same spot. Instead it "jogs" forward in the current song, sometimes jogging forward by more than a minute and even skipping to the next song, until it finally starts to play music correctly. While Aqualung is "jogging," the player emits a choppy sound, as if you were turning a jog wheel on a stereo. Aqualung does not always exhibit this behavior the first time you pause and resume playback of a song, but it seemly always does the second or third time you pause and then restart playback. If you continue to pause and restart playback, Aqualung will almost always continue to "jog" forward in the file before restarting playback, only occasionally pausing and resuming playback correctly. Also, pressing the stop button and then selecting play often exhibits the same behavior, where Aqualung will "jog" forward some length into the song before beginning to play correctly.

Reproducible: Sometimes

Steps to Reproduce:
1. Pause playback
2. Restart playback by either pressing the "pause" button or the "play" button.
3. Repeat above two steps if needed.

Actual Results:  
Aqualung begins to play, but instead of playing music it plays a "choppy" sound, as it if is skipping or jogging through the song, until it finally starts playing back normally.

Expected Results:  
Aqualung should resume song playback without the chopping at the previous location.

I am experiencing the bug in both Aqualung-0.9_beta11 and in the latest SVN build from Aqualung's website. I have reproduced the bug with all the different audio track formats I have tried, MP3, Ogg, Wav, and Flac. However, I was unable to reproduce the bug using a current build of Ubuntu within a virtual machine.

emerge --info:
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.10.1-r1, 2.6.33-tuxonice-r2 i686)
=================================================================
System uname: Linux-2.6.33-tuxonice-r2-i686-AMD_Athlon-tm-_MP_2800+-with-gentoo-1.12.13
Timestamp of tree: Sat, 12 Jun 2010 16:30:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1, 3.1.2-r3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-mp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-mp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi aim alsa bash-completion berkdb branding bzip2 cairo cdda cddb cdparanoia cdr cli cracklib crypt css cups curl cxx dbus djvu dts dv dvd dvdr encode exif faac faad ffmpeg firefox flac fontconfig foomaticdb ftp gcj gdbm gif gimp gmp gnutls gstreamer gtk hal hddtemp iconv ieee1394 imagemagick imap imlib java jbig jpeg jpeg2k ladspa lame lcms ldap lm_sensors lzo mad matroska mikmod mmap mmx mng modules mp3 mp4 mpeg musepack musicbrainz ncurses nls nntp nptl nptlonly offensive ogg openexr opengl openmp pango pcntl pcre pdf perl png ppds pppd python qt3support qt4 quicktime raw readline rss samba scanner sdl session smp sndfile speex spell sqlite sse ssl startup-notification svg svga symlink sysfs syslog taglib tcpd theora threads thunar tiff tk truetype unicode usb vcd vorbis wavpack win32codecs x264 x86 xcb xine xinerama xml xmlrpc xorg xosd xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="cs46xx" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" NETBEANS_MODULES="apisupport cnd dlight java ide harness nb mobility profiler websvccommon enterprise" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

aqualung --version:
Aqualung -- Music player for GNU/Linux
Build version: R-1114
(C) 2004-2010 Tom Szilagyi <tszilagyi@users.sourceforge.net>
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details.

This Aqualung binary is compiled with:

  Optional features:
    [+] LADSPA plugin support
    [+] CDDA (Audio CD) support
    [+] CDDB support
    [+] Sample Rate Converter support
    [ ] iRiver iFP driver support
    [+] Loop playback support
    [+] Systray support
    [+] Podcast support
    [ ] Lua (programmable title formatting) support

  Decoding support:
    [+] sndfile (WAV, AIFF, etc.)
    [+] Free Lossless Audio Codec (FLAC)
    [+] Ogg Vorbis
    [+] Ogg Speex
    [+] MPEG Audio (MPEG 1-2.5 Layer I-III)
    [+] MOD Audio (MOD, S3M, XM, IT, etc.)
    [+] Musepack
    [+] Monkey's Audio Codec
    [+] WavPack
    [+] LAVC (AC3, AAC, WavPack, WMA, etc.)

  Encoding support:
    [+] sndfile (WAV)
    [+] Free Lossless Audio Codec (FLAC)
    [+] Ogg Vorbis
    [+] LAME (MP3)

  Output driver support:
    [ ] sndio Audio
    [ ] OSS Audio
    [+] ALSA Audio
    [ ] JACK Audio Server
    [ ] PulseAudio
    [ ] Win32 Sound API

Current Version of Installed Aqualung Dependences:
dev-util/pkgconfig-0.23 
media-sound/wavpack-4.50.1-r1  
media-libs/libvorbis-1.2.3  
media-libs/libcddb-1.3.2 
media-libs/flac-1.2.1-r3  
media-libs/speex-1.2_rc1  
sys-kernel/tuxonice-sources-2.6.33-r2 
media-sound/mac-3.99.4.5.6 
media-libs/libmodplug-0.8.7  
media-libs/libmad-0.15.1b-r2  
media-sound/musepack-tools-444-r1  
media-libs/liboggz-1.1.0 
x11-libs/gtk+-2.18.9 
media-libs/liblrdf-0.4.0 
dev-libs/libxml2-2.7.7 
dev-lang/lua-5.1.4-r4 
media-libs/libsndfile-1.0.21 
dev-libs/libcdio-0.80  
media-sound/lame-3.98.2-r1  
media-libs/libsamplerate-0.1.7  
media-video/ffmpeg-0.5_p22846
Comment 1 Brad Beglin 2010-06-12 19:10:21 UTC
I have filed a bugreport upstream with the Aqualung project at http://aqualung.factorial.hu/mantis/bug_view_page.php?bug_id=0000167.  There you can also find an strace log of Aqualung running while I was replicating the bug.
Comment 2 Daniel Pielmeier gentoo-dev 2010-06-12 19:42:36 UTC
I am also not able to reproduce this on my system, whether with beta11 nor the live version. Really hard to tell what might cause this.
Comment 3 Brad Beglin 2010-06-29 19:05:46 UTC
After upgrading to the 2.6.34 kernel, this bug has disappeared.  As far as I know, my kernel and sound configurations are the same and I have not upgraded any other packages that would have affected this bug.

I have filed a update to my bug report upstream with Aqualung.