Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#3506 - Pause/resume problem in XMMS with alsa output

Attached to Project: Arch Linux
Opened by Michał Dubiel (Majkijin) - Saturday, 19 November 2005, 13:55 GMT
Last edited by arjan timmerman (blaasvis) - Sunday, 20 November 2005, 02:20 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To dorphell (dorphell)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

With alsa output selected when I pause actualy played song it paused, but if I press play button xmms don't resume playing. When I press play button once more again xmms starts playing the song from the beggining. This problem was solved on http://bugs.xmms.org/long_list.cgi?buglist=1611. There is this patch:

--- xmms/Output/alsa/audio.c.~1.28.~ 2004-01-27 23:02:12.000000000 +0100
+++ xmms/Output/alsa/audio.c 2004-03-04 01:51:16.000000000 +0100
@@ -189,8 +189,14 @@

if (alsa_can_pause)
snd_pcm_pause(alsa_pcm, p);
- else if (p)
- snd_pcm_drop(alsa_pcm);
+ else
+ {
+ if (p)
+ snd_pcm_drop(alsa_pcm);
+ else
+ snd_pcm_prepare(alsa_pcm);
+ force_start = FALSE;
+ }

if (!p)
paused = FALSE;

I used it and it works. I suggest to add it in xmms PKGBUILD.
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 25 February 2006, 14:24 GMT
Reason for closing:  Fixed
Comment by Michał Dubiel (Majkijin) - Saturday, 19 November 2005, 14:00 GMT
You must use a patch from http://bugs.xmms.org/attachment.cgi?id=209&action=view because all white signs in patch I had placed was deleted.
Comment by Johannes Jordan (FoPref) - Tuesday, 07 February 2006, 20:06 GMT
I also have this problem on several systems. I would really appreciate the inclusion of this patch! :-)

Loading...