Bug#695069: cmus: remaining time is wrong when using ALSA PulseAudio sink

Dominik George nik at naturalnet.de
Mon Dec 3 22:07:45 UTC 2012


Package: cmus
Version: 2.5.0-1, 2.4.3-2
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The remaining time of each and every track in my library is off by 24
seconds when using the ALSA output module.

Relevant parts of ~/.cmus/autosave:

set dsp.alsa.device=default
set dsp.ao.buffer_size=16384
set dsp.ao.driver=
set dsp.ao.wav_counter=1
set dsp.ao.wav_dir=/home/nik
set mixer.alsa.channel=PCM
set mixer.alsa.device=default
set mixer.pulse.restore_volume=1
set output_plugin=alsa

I use the PulseAudio sink for ALSA and guess this is related.

The funny thing is that cmus starts counting down at $length - 24
seconds, then when reaching 0:00 (which is 24 seconds before the real
end of the track) the status ba skips to the next tack and then stats
the countdown at $length. eal playback of that tack then begins 24
seconds late, setting the ocunter 24 seconds off once again ... So the
complete status display is 24 seconds off compared to real audio.

- -- System Information:
Debian Release: wheezy/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.6-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh

Versions of packages cmus depends on:
ii  libao4          1.1.0-2
ii  libasound2      1.0.25-4
ii  libc6           2.13-37
ii  libcddb2        1.3.2-3
ii  libcdio-cdda1   0.83-4
ii  libcdio13       0.83-4
ii  libfaad2        2.7-8
ii  libflac8        1.2.1-6
ii  libmad0         0.15.1b-7
ii  libmodplug1     1:0.8.8.4-3
ii  libmpcdec6      2:0.1~r459-4
ii  libncursesw5    5.9-10
ii  libogg0         1.3.0-4
ii  libtinfo5       5.9-10
ii  libvorbis0a     1.3.2-1.3
ii  libvorbisfile3  1.3.2-1.3
ii  libwavpack1     4.60.1-3

Versions of packages cmus recommends:
ii  cmus-plugin-ffmpeg  2.4.3-2
ii  libpulse0           2.0-6

cmus suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQFOBAEBAgA4BQJQvSKpMRpodHRwczovL3d3dy5kb21pbmlrLWdlb3JnZS5kZS9n
cGctcG9saWN5LnR4dC5hc2MACgkQWfyOHW8qgAGJwAf+N9l62FZ9w9KgI2sVtSLY
bkORwY25TtDyBCoAry5tz+9hR/V1tx+xU2oIWZIaBfPmh3fONun6ugQAhLSf/s+d
A8ClM7FWJgO2UsQ0g0ZTOiezFawtjhhWU9oeKzAhxpPbhH64k/YA3v1qVn94WNWm
ykJwe67YmPFS+bKkz6vXmIHJ1erAiBldmfp1yQ3xy5gpqy3FzReYTvM025SzrgwW
Qh+/ot/waps7VpLRil+RmkP53jzkCZMIqtr3dMD6OwKB/A5GLILXj3ckWe/8EA89
oRapmkx2F4FD+AKECAIqqJmTsaXSEfAd37lLO5tSO+zcSgdn6bHq6y3cjZs84ZLa
HA==
=czwY
-----END PGP SIGNATURE-----



More information about the pkg-multimedia-maintainers mailing list