Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gstreamer+ALSA+Rhythmbox=sound stops (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
MaxDamage
l33t
l33t


Joined: 03 Jan 2004
Posts: 650
Location: Oviedo, Spain

PostPosted: Wed Apr 06, 2005 10:46 am    Post subject: Gstreamer+ALSA+Rhythmbox=sound stops (solved) Reply with quote

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
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Wed Apr 06, 2005 10:56 am    Post subject: Reply with quote

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
View user's profile Send private message
MaxDamage
l33t
l33t


Joined: 03 Jan 2004
Posts: 650
Location: Oviedo, Spain

PostPosted: Wed Apr 06, 2005 11:43 am    Post subject: Reply with quote

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
View user's profile Send private message
MaxDamage
l33t
l33t


Joined: 03 Jan 2004
Posts: 650
Location: Oviedo, Spain

PostPosted: Sun Apr 24, 2005 10:13 am    Post subject: Reply with quote

Seems more people are having problems with gstreamer alsa plugin:
https://forums.gentoo.org/viewtopic-t-325273-highlight-gstreamer+alsa+rhythmbox.html

Any idea?
_________________
La PDA de tungsteno
Back to top
View user's profile Send private message
MaxDamage
l33t
l33t


Joined: 03 Jan 2004
Posts: 650
Location: Oviedo, Spain

PostPosted: Tue Apr 26, 2005 10:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum