HOWTO: PulseAudio Fixes

what the heck

I found this problem by accident when I play some OP:

(totem:24133): GStreamer-CRITICAL **: gst_object_unref: assertion `object != NULL' failed

First I think something about GStreamer but after I dig in launpad it's say that problem is not coming with GStreamer but it's coming from Sound (I believe alsa) so I try what I found in

First install these packages:

$ sudo aptitude install padevchooser libao-pulse libasound2-plugins libsdl1.2debian-pulseaudio

Second add psyke83's Repositories in sources.list file

$ sudo vi /etc/apt/sources.list

# PulseAudio Fixes -
deb hardy main
deb-src hardy main

Third update and safe-upgrade packages (answer yes to install packages that cannot be validated)

sudo aptitude update && sudo aptitude safe-upgrade

Then Set PulseAudio as the default ALSA device and enable the correct driver for libao applications:

$ asoundconf set-pulseaudio
$ echo "default_driver=pulse" >~/.libao

Finally Go to System/Preferences/Sound. Ensure all the "Sound Playback" entries are set to their default setting of "Autodetect", otherwise you may experience difficulties.

After logging out and back in, everything should work correctly! These packages will install PulseAudio complete with tweaks to reduce stuttering/CPU usage, and Flash 10 (release candidate). Finally, Flash & PulseAudio work correctly without crashes!

คำสำคัญ (Tags): #gstreamer#linux#sound#ubuntu#pulseaudio
หมายเลขบันทึก: 219568เขียนเมื่อ 29 ตุลาคม 2008 17:57 น. ()แก้ไขเมื่อ 12 กุมภาพันธ์ 2012 03:03 น. ()สัญญาอนุญาต:

ความเห็น (0)


พบปัญหาการใช้งานกรุณาแจ้ง LINE ID @gotoknow
ขอแนะนำ ClassStart