View Single Post

   
  #6 (permalink)  
Old 02-21-2008, 12:29 PM
Simen
 
Posts: n/a
Default Re: Alsa sound is choppy after update (x86_64)

On Thu, 25 May 2006 10:25:50 +0000, Herman Timmermans wrote:
>
> Simen,
>
> Thanks. I was just using Totem (didn't test it yet with xmms or
> mplayer, as I still need to emerge those ). It used to work fine until
> last update. For what it is worth :
>
> turion64 herman # uname -a
> Linux turion64 2.6.15-gentoo-r5 #4 PREEMPT Wed May 24 17:07:06 GMT 2006
> x86_64 AMD Turion(tm) 64 Mobile Technology MT-28 GNU/Linux
>
> After my update, the sound was choppy (both audio-cd as with mp3 files).
> But I found a solution ;-) Maybe this works for you as well? I changed
> in the Gnome Desktop -> Preferences -> Multimedia Systems Selector ->
> Audio tab :
> Default Sink - Output : ESD - Enlightenment Sound Deamon in stead off
> ALSA (you can also try Autodetect). This solved for me the chopped
> sound.
>
> Thanks for your feedback,
>
> Herman



I've had a closer look at my system today. You're right about ESD. That
works for me, too.
But I also found a way to use ALSA. Have a look at
"http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix#Amarok.2Bgstreamer .2Balsasink_in_KDE"

Basically my problem was solved by this suggestion: " If the above gives
choppy/cracked sound then try:
$ gst-launch-0.8 filesrc location=/path/to/file.mp3 ! mad ! alsasink
period-size=1024 buffer-size=4096 "

Following the descriptions further up in that page, checking "period-size"
and "buffer-size" in my .asoundrc and setting
Default Sink - Output : Custom, "alsasink device=dmix"
solved the problem for me.

Anyway, unless you are very interested in making everything work, using
ESD is also a perfectly valid solution ;-)

--- Simen ---
Reply With Quote