After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 311583 - Skips when playing CD
Skips when playing CD
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other All
: High critical
: 0.8.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 311683 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-07-26 11:59 UTC by Michael Monreal
Modified: 2005-07-27 14:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Michael Monreal 2005-07-26 11:59:09 UTC
Please describe the problem:
When I start sound-juicer and click a track, it begins to play just fine, but if
that track finishes (or I click another track), no audio is played, although
play mode is active and the position slider moves (about twice the normal speed,
though). First thought was that it rips the following tacks, but it doesn't.

Steps to reproduce:



Actual results:


Expected results:


Does this happen every time?
Yes, every time. closing SJ and restarting lets me play another track, but same
problem after that.

Other information:
Using SJ 2.11.90
Comment 1 Madhan Raj M 2005-07-26 12:30:37 UTC
What version of gstreamer plugins are you using.
Comment 2 Ross Burton 2005-07-26 12:37:43 UTC
CC'ing Ronald.
Comment 3 Ronald Bultje 2005-07-26 12:46:34 UTC
update to gst-plugins 0.8.10, as Madhan would've said if you would've answered
the question. :).
Comment 4 Michael Monreal 2005-07-26 12:51:54 UTC
I was already using gstreamer & gst-plugins version 0.8.10... This is a very
up-to-date installation I did this morning
Comment 5 Ross Burton 2005-07-26 13:00:54 UTC
Re-opening then.
Comment 6 Ronald Bultje 2005-07-26 13:13:40 UTC
Any messages on the commandline?
Comment 7 Michael Monreal 2005-07-26 14:21:27 UTC
No, nothing on the command line... but I just realized that my original report
is in-accurat:
Tracks following the first one DO start to play, but only after the time that
previous tracks have played, e.g. I play 10 seconds of track A, then click track
B. The play slider will move at about 2-3x speed to 10 seconds into the track
and then it plays normally. I can now let it play until 30 seconds and click
track C afterwards, audio will stop and the slider will move fast to around 30
seconds and then it will play...
Comment 8 Teppo Turtiainen 2005-07-26 15:00:31 UTC
Happens to me too on Ubuntu Breezy with sound-juicer 2.11.4 and gst-plugins 0.8.10.
Comment 9 Ronald Bultje 2005-07-26 15:06:29 UTC
Any chance some garnome user can confirm this, or someone else running
gst-plugins CVS? I haven't noticed this, and I quite definitely have tested
previous/next functionality (not at home, so can't tell for sure). Ross, do you
see this?
Comment 10 Michael Monreal 2005-07-26 15:10:38 UTC
My install was garnome "based", I didn't alter anything that has to do with
gstreamer, only updated to the latest desktop packages.

I can install gstreamer cvs later today if needed, no problem.
Comment 11 Ross Burton 2005-07-26 15:23:04 UTC
Currently listening to track three of an album with sound juicer.

Sound Juicer version 2.11.90
gstreamer0.8-cdparanoia version 0.8.10-0unofficialubuntu2
Comment 12 Ronald Bultje 2005-07-26 15:29:10 UTC
*Blub*

Ok, will try tonight...
Comment 13 Ross Burton 2005-07-26 15:42:31 UTC
(Ronald, my comment was meant to imply that its working for me)
Comment 14 Teppo Turtiainen 2005-07-26 16:04:17 UTC
When I run sound-juicer with --gst-debug-level=3 I get this when the it starts
racing:

INFO  (0x83a73c0 - 311776:01:19.928280000)            alsa(17831)
gstalsasink.c(515):gst_alsa_sink_loop:<alsasink0> Skipping 588 samples to resync
(complete buffer): sample 7557824 expected, but got 4233600
INFO  (0x83a73c0 - 311776:01:19.928391000)            alsa(17831)
gstalsasink.c(515):gst_alsa_sink_loop:<alsasink0> Skipping 588 samples to resync
(complete buffer): sample 7557824 expected, but got 4234188
INFO  (0x83a73c0 - 311776:01:19.928478000)            alsa(17831)
gstalsasink.c(515):gst_alsa_sink_loop:<alsasink0> Skipping 588 samples to resync
(complete buffer): sample 7557824 expected, but got 4234775
INFO  (0x83a73c0 - 311776:01:19.928563000)            alsa(17831)
gstalsasink.c(515):gst_alsa_sink_loop:<alsasink0> Skipping 588 samples to resync
(complete buffer): sample 7557824 expected, but got 4235364
INFO  (0x83a73c0 - 311776:01:19.928645000)            alsa(17831)
gstalsasink.c(515):gst_alsa_sink_loop:<alsasink0> Skipping 588 samples to resync
(complete buffer): sample 7557824 expected, but got 4235952
INFO  (0x83a73c0 - 311776:01:19.928727000)            alsa(17831)
gstalsasink.c(515):gst_alsa_sink_loop:<alsasink0> Skipping 588 samples to resync
(complete buffer): sample 7557824 expected, but got 4236539
INFO  (0x83a73c0 - 311776:01:19.928812000)            alsa(17831)
gstalsasink.c(515):gst_alsa_sink_loop:<alsasink0> Skipping 588 samples to resync
(complete buffer): sample 7557824 expected, but got 4237128
INFO  (0x83a73c0 - 311776:01:19.928896000)            alsa(17831)
gstalsasink.c(515):gst_alsa_sink_loop:<alsasink0> Skipping 588 samples to resync
(complete buffer): sample 7557824 expected, but got 4237716
INFO  (0x83a73c0 - 311776:01:19.928991000)            alsa(17831)
gstalsasink.c(515):gst_alsa_sink_loop:<alsasink0> Skipping 588 samples to resync
(complete buffer): sample 7557824 expected, but got 4238303
INFO  (0x83a73c0 - 311776:01:19.929075000)            alsa(17831)
gstalsasink.c(515):gst_alsa_sink_loop:<alsasink0> Skipping 588 samples to resync
(complete buffer): sample 7557824 expected, but got 4238892
INFO  (0x83a73c0 - 311776:01:19.929158000)            alsa(17831)
gstalsasink.c(515):gst_alsa_sink_loop:<alsasink0> Skipping 588 samples to resync
(complete buffer): sample 7557824 expected, but got 4239480
INFO  (0x83a73c0 - 311776:01:19.929241000)            alsa(17831)
gstalsasink.c(515):gst_alsa_sink_loop:<alsasink0> Skipping 588 samples to resync
(complete buffer): sample 7557824 expected, but got 4240067
Comment 15 Michael Monreal 2005-07-27 00:32:41 UTC
Just wanted to let you know that updating to the latest CVS
(BRANCH-GSTREAMER-0_8) of gstreamer and gst-plugins didn't fix the problem
Comment 16 Ross Burton 2005-07-27 08:06:20 UTC
*** Bug 311683 has been marked as a duplicate of this bug. ***
Comment 17 Ronald Bultje 2005-07-27 08:47:26 UTC
I cannot reproduce this. What is your audiosink set to (gstreamer-properties)
exactly? You use CVS of gstreamer, gstreamer-plugins and sound-juicer? Is it
possible that you have some old version of gst-plugins lying around that may be
used instead? Can you attach a debug log (export GST_DEBUG=*:5; sound-juicer &>
/tmp/log) for me, and explain me where GStreamer and sound-juicer are installed?

Sorry for all the questions, but as long as I cannot reproduce, all I can do is
guess.
Comment 18 Lionel Dricot 2005-07-27 09:11:42 UTC
I have the same bug here with "Queen - Greatest Hits I" CD. Once one song is
fully listenned, you cannot listen anything else normally until you restart SJ

I use all legacy stuff from Ubuntu Breezy. 
Comment 19 Ronald Bultje 2005-07-27 10:19:35 UTC
Me toos don't help; please answer my questions in #17 so I can debug this, thanks.
Comment 20 Michael Monreal 2005-07-27 10:58:04 UTC
Ok... the audiosink was set to autodetect, which means ALSA, I suppose? Anyway,
setting the sink to OSS fixes the problem, forcing ALSA and it skips again...

Ronald, are you using ALSA with DMIX? As far as I know, Breezy is shipping a
DMIX-enabled setup now (and I'm using Breezy, too)... Don't know if DMIX can
cause a problem like this, but perhaps worth checking anyway.

About the debug log: is this still needed? I did one, playing about 30 seconds
and the log was about 150mb, what exactly do you need logged?

 
Comment 21 Michael Monreal 2005-07-27 11:01:41 UTC
Btw, fast way to enable dmix is putting something like the following in
$HOME/.asoundrc

---
pcm.cmpci {
   type hw
   card 0
}

ctl.cmpci {
   type hw
   card 0
}

pcm.!default {
        type plug
        slave.pcm "dmix"
}
---

...supposing your're using the cmpci ALSA driver
Comment 22 Ronald Bultje 2005-07-27 11:19:46 UTC
Ah, I can indeed reproduce it by setting weird values as device. Dmix works fine
for me, btw (always turned on). Let's see what causes this...
Comment 23 Ronald Bultje 2005-07-27 11:56:17 UTC
(ten headaches and an overdose of aspirins later); fixed in CVS of gst-plugins.
I don't think this has been in a release yet, so we're not totally screwed...

2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>

        * ext/cdparanoia/gstcdparanoia.c: (cdparanoia_get):
          More debug.
        * gst/audioscale/gstaudioscale.c: (gst_audioscale_chain):
          Process events in passthrough mode, also (fixes #311583).
Comment 24 Michael Monreal 2005-07-27 13:24:39 UTC
Ok, just checked out CVS, works nice now =)
But, I was using the 0.8.10 release when I reported this bug, so the bug has
been in a release for a few weeks now... Anyway, thanks for the fast fix!
Comment 25 Ronald Bultje 2005-07-27 14:01:32 UTC
*cries* damn. Humiliating.