Install pulse audio on fedora to enable recording and listening sounds

open a terminal and run the following command

Code:
su -c 'gedit /etc/pulse/default.pa'

and replace the line:

Quote:
load-module module-hal-detect

with:

Quote:
load-module module-hal-detect tsched=0

(of course save your changes and then move on to the next step)

Next run the following command:

Code:
su -c 'yum install pavucontrol pavumeter paman padevchooser paprefs alsa-plugins-pulseaudio gstreamer-plugins-pulse pulseaudio pulseaudio-core-libs pulseaudio-esound-compat pulseaudio-libs pulseaudio-libs-glib2 pulseaudio-libs-zeroconf pulseaudio-module-gconf pulseaudio-module-x11 pulseaudio-module-zeroconf pulseaudio-utils xine-lib-pulseaudio xmms-pulse'

DO NOT RUN THE FOLLOWING COMMAND AS ROOT
next, Run this command

Code:
pulseaudio -k

and you’re done… test out the audio and see how it works.

edit:
Also forgot to mention, be sure to have your audio settings under System > Preferences > Hardware > Sound
for “Sound Playback” (not sound capture) set to PulseAudio Sound Server.

Side Note:
If you’re experiencing random lock ups and you’re not doing anything sound related.. multiple things can cause your desktop to freeze up.. such as stressing your network or having your firewall configured improperly, so it may not be pulseaudio at all.
edit 2:
Important Update:
Some users have been complaining about a glitch in the software that dumps a message into their log files and causes random lock-ups.
If you experience random lock-ups or a message being dumped into certain log files, remove the tsched=0 term to enable timer-based scheduling, which makes the audio less CPU intensive;
the line should look like this afterwards:

Quote:
load-module module-hal-detect

However you may experience pop and stuttering audio glitches if you remove it. If in some rare case you do, put it back.
In other words, it’s safe to remove tsched=0; everything else in the tutorial stays.
run the command

Code:
$ pulseaudio -k

after you get done editing the file (/etc/pulse/default.pa) then test the audio. (to edit just run the first command of the tutorial)

ఈ ప్రకటనల గురించి
వ్యాఖ్యలు
  1. 2010 in review « Gpvprasad's Blog అంటున్నారు:

    [...] Install pulse audio on fedora to enable recording and listening sounds September 2009 [...]

స్పందించండి

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / మార్చు )

Twitter picture

You are commenting using your Twitter account. Log Out / మార్చు )

Facebook photo

You are commenting using your Facebook account. Log Out / మార్చు )

Google+ photo

You are commenting using your Google+ account. Log Out / మార్చు )

Connecting to %s