LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-13-2011, 02:51 PM   #1
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Yet another reason to dislike PulseAudio


From http://www.pulseaudio.org/, where I have marked the annoying portion in bold:
Quote:
PulseAudio is an integral part of all relevant modern Linux distributions and used in various mobile devices by multiple vendors.
(Thread marked as solved, even though I'm still annoyed. :-) )
 
Old 04-13-2011, 02:57 PM   #2
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542

Rep: Reputation: 50
Can someone explain me the differences between ALSA and Pulse Audio?
 
Old 04-13-2011, 03:35 PM   #3
trillobyte
Member
 
Registered: Apr 2007
Location: USA
Distribution: Slackware, FreeBSD, Trisquel
Posts: 105
Blog Entries: 1

Rep: Reputation: 33
Quote:
Originally Posted by mlpa View Post
Can someone explain me the differences between ALSA and Pulse Audio?
From Wikipedia:

One of the goals of PulseAudio is to reroute all sound streams through it, including those from processes that attempt to directly access the hardware (like legacy OSS applications). PulseAudio achieves this by providing adapters to applications using other audio systems, like aRts and ESD.

In a typical installation scenario under Linux, the user configures ALSA to use a virtual device provided by PulseAudio. Thus, applications using ALSA will output sound to PulseAudio, which then uses ALSA itself to access the real sound card. PulseAudio also provides its own native interface to applications that want to support PulseAudio directly, as well as a legacy interface for ESD applications, making it suitable as a drop-in replacement for ESD.

For OSS applications, PulseAudio provides the padsp utility, which replaces device files such as /dev/dsp, tricking the applications into believing that they have exclusive control over the sound card. In reality, their output is rerouted through PulseAudio.

https://secure.wikimedia.org/wikiped...iki/PulseAudio
 
1 members found this post helpful.
Old 04-13-2011, 03:45 PM   #4
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Maybe things are different now...but I really don't like it when my sound server crashes on me (even ignoring the resource-hogging pointlessness of pulse in the first place). I avoid Pulse like the plague.
 
Old 04-14-2011, 10:29 AM   #5
tdos20
Member
 
Registered: Aug 2006
Location: London
Distribution: Slackware
Posts: 132

Rep: Reputation: 39
I think pulse is useful for some people, there are areas where alsa is lacking (eg network streaming) but I think the approach is fundamentally wrong as it's re-inventing the wheel in many ways, there are already good, mature and feature rich alternative such as Jack Audio Connection Kit (JACK) available from slackbuilds which provide a less intrusive and less bloated implementation for many of pulses features. That said, alsa configuration can be complex (anyone want to write a .asoundrc from scratch?) so pulse has it's place for distributions which try to please everyone out of the box no matter the cost...
 
Old 06-19-2011, 09:10 PM   #6
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
I have a receiver that I connect via USB and here are my options with each respective system:
  • alsa: Before I start KDE but after I connect the receiver, rmmod all of the hda modules. If I've forgotten to do that before starting KDE, close X, and do what I just said. (This is just to send any sound to the receiver.)
  • pulse: Connect my receiver whenever I want and configure pulse to send e.g. system sounds, Skype, to hda_intel and send e.g. DVD, FlashPlayer, to the receiver.
Pulse was a little simple to get running on Kubuntu, but it seems to be dependency hell on Slackware, much like GTK+. Of course, there's a reason I'm back to Slackware after a year of Kubuntu, though.
Kevin Barry

Last edited by ta0kira; 06-19-2011 at 09:14 PM.
 
Old 06-19-2011, 11:59 PM   #7
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319
Quote:
Originally Posted by mlpa View Post
Can someone explain me the differences between ALSA and Pulse Audio?
Yes. Pulseaudio adds latency. It causes your sound to LAG.
 
Old 06-20-2011, 04:37 AM   #8
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Quote:
Originally Posted by ta0kira View Post
I have a receiver that I connect via USB and here are my options with each respective system:[LIST][*]alsa: Before I start KDE but after I connect the receiver, rmmod all of the hda modules. If I've forgotten to do that before starting KDE, close X, and do what I just said. (This is just to send any sound to the receiver.)
I'm not sure why you're not just editing an ~/.asoundrc file to direct audio to the new device. Or why you feel the need to completely close X to unload the HDA sound modules.

Quote:
Pulse was a little simple to get running on Kubuntu, but it seems to be dependency hell on Slackware, much like GTK+. Of course, there's a reason I'm back to Slackware after a year of Kubuntu, though.
Kevin Barry
gtk+ 1.2 and gtk+ 2.24 come with Slackware, so I'm not sure how that can be considered dependency hell for end-users. Having installed pulseaudio on Slackware, I also don't remember there being all that many dependencies.
 
Old 06-20-2011, 08:27 AM   #9
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
Quote:
Originally Posted by adamk75 View Post
I'm not sure why you're not just editing an ~/.asoundrc file to direct audio to the new device. Or why you feel the need to completely close X to unload the HDA sound modules.
KDE prevents the modules from being unloaded. Or maybe it's ALSA. Of course, when I asked about the receiver problem, probably in this forum, no one suggested I edit ~/.asoundrc; thanks for the suggestion!
Kevin Barry
 
Old 06-20-2011, 08:54 AM   #10
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
I guess you didn't know that you can just kill the KDE processes that are accessing the /dev/snd/* devices and then unload the modules :-)

Adam
 
Old 06-20-2011, 01:16 PM   #11
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
Quote:
Originally Posted by adamk75 View Post
I guess you didn't know that you can just kill the KDE processes that are accessing the /dev/snd/* devices and then unload the modules :-)

Adam
Guess which system doesn't require you to kill any processes to switch between output devices? Anyway, it hadn't occurred to me to lsof | grep /dev/snd/. For the most part I just program and browse, so I'm pretty lazy about creating graceful solutions to stuff like that.
Kevin Barry
 
Old 06-21-2011, 11:23 AM   #12
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319
I consider the fact that Slackware does not use Pulseaudio to be a massive plus.

I also consider the fact that GSB does not use Pulseadio to be a massive plus.
 
Old 06-21-2011, 08:21 PM   #13
hotchili
Member
 
Registered: Sep 2009
Location: Germany
Distribution: slackware64-current
Posts: 89

Rep: Reputation: 32
I hate it too, but I use it on my Slackware 13.37 lol.
It works much better with my bluetooth headset compared to the alsa bluetooth plugin...

Quote:
Originally Posted by dugan View Post
Yes. Pulseaudio adds latency. It causes your sound to LAG.
It does but the lag is very small, some milliseconds for me.

99% of the time it works fine, but sometimes Amarok doesn't make a sound
and I have to restart it and very very very rare it looks up hogging the cpu -_-
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I really dislike Mac OS X. lupusarcanus General 18 03-28-2011 10:03 AM
[SOLVED] Squeeze + Pulseaudio + Alsa and USB Midi device causes Pulseaudio crash mad4linux Debian 1 01-26-2011 03:57 AM
Winecfg crashes on sound tab with Pulseaudio and no 'sounddrivers' without pulseaudio William (Dthdealer) Linux - Software 5 06-13-2010 07:30 AM
why i dislike GUI's machines Slackware 15 04-13-2008 10:57 PM
Starting to dislike Linux BajaNick General 22 08-18-2003 11:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration