View previous topic :: View next topic |
Author |
Message |
MaxDamage l33t
Joined: 03 Jan 2004 Posts: 650 Location: Oviedo, Spain
|
Posted: Wed Apr 06, 2005 10:46 am Post subject: Gstreamer+ALSA+Rhythmbox=sound stops (solved) |
|
|
When I select alsa as default sink in gstreamer properties, then Rhythmbox plays the song for half a second and hangs. If I select OSS, it works without problems.
I remember having this issue long ago, but now is here again.
I've reinstalled Gentoo a few days ago. Also tried using Rhythmbox from a new user with ~/ empty. I've downgraded to 1.0.7 on alsa-lib, alsa-headers and alsa-tools as is suggested in another thread. I don't know what more to try. I'm using builtin alsa modules on latest gentoo-sources x86.
Is somebody else having these problems? Rhythmbox played fine with alsa a week or so ago. Thanx in advance. _________________ La PDA de tungsteno
Last edited by MaxDamage on Tue Apr 26, 2005 10:41 pm; edited 1 time in total |
|
Back to top |
|
|
ikaro Advocate
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Wed Apr 06, 2005 10:56 am Post subject: |
|
|
hola,
does the same thing happen with for example, xmms or mpd or another player ?
Try to narrow down the problem.
Try another player, if the same thing happens, ( assuming you are using stable sources ) try another kernel, Vanilla.
Ive had wierd issues with the Gentoo sources, which seem to vanish right after I use other kernels.
Try it out and let us know how it goes. _________________ linux: #232767 |
|
Back to top |
|
|
MaxDamage l33t
Joined: 03 Jan 2004 Posts: 650 Location: Oviedo, Spain
|
Posted: Wed Apr 06, 2005 11:43 am Post subject: |
|
|
No, all the other media players use ALSA without problems. Both XMMS and Beep Media Player work perfectly when using the ALSA output plugin. The aplay command also works. Thanx for the advice.
This is a specific gstreamer problem. When I have time I'll downgrade gstreamer and try. I'd like to know which version of gstreamer and gst-plugins-alsa are people using if Rythmbox work well for them. _________________ La PDA de tungsteno |
|
Back to top |
|
|
MaxDamage l33t
Joined: 03 Jan 2004 Posts: 650 Location: Oviedo, Spain
|
|
Back to top |
|
|
MaxDamage l33t
Joined: 03 Jan 2004 Posts: 650 Location: Oviedo, Spain
|
Posted: Tue Apr 26, 2005 10:39 pm Post subject: |
|
|
Problem solved!
I have this .asoundrc file:
Code: | pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
buffer_time 0
period_size 8192
buffer_size 32768
rate 48000
}
bindings {
0 0
1 1
}
}
pcm.dsp0 {
type plug
slave.pcm "dmixer"
}
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.default {
type plug
slave.pcm "dmixer"
}
ctl.mixer0 {
type hw
card 0
}
|
And it needs
Code: | alsasink device=dmix |
as audio sink in gstreamer-properties. Now Rhythmbox plays again.
I'll recheck my .asoundrc file to make "default" the device gstreamer should use... _________________ La PDA de tungsteno |
|
Back to top |
|
|
|