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 Ubuntuforums.org

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 - http://ubuntuforums.org/showthread.php?p=5587712
deb http://ppa.launchpad.net/psyke83/ubuntu hardy main
deb-src http://ppa.launchpad.net/psyke83/ubuntu 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
ระบบจัดการการเรียนการสอนผ่านอินเทอร์เน็ต
ทั้งเว็บทั้งแอปใช้งานฟรี