Fedora Linux Support Community & Resources Center
  #1  
Old 7th February 2012, 07:32 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,067
linuxfirefox
ALSA vs. pulseaudio

Heyas

The last step of having a minimal to multimediable gui is here... The audio.
If i just watch on dependcies alsa* surley wins, with 23 packages

Now having a look to pulseaudio*...
The screen scrolls out of sight, and listing things like gdm.. gnome-*, and i go like WTF?
A total of 56 packages.. more than the double.

Anyone an idea why there are so many 'weird' (imho at least) dependencies?
I mean, for what reason does an audio application need a GDM for example??

At first this post should have been a question which one's to prefer, however, i decided to use alsa for the scripts, as i want to keep the minimal approach, which pulseaudio does not support for certain

Cheerio
sea
__________________
Notebook: Samsung NC210/NC110 CPU: Intel 2*1600 Mhz RAM: 1024 MB DDR2 OS: Fedora 19 DE: Awesome
Laptop: Toshiba Satellite L670 CPU: Intel(r) 2*1872 Mhz RAM: 3072 MB DDR3 OS: Fedora 17 DE: Awesome
Fedora Manual (RTFM) | The Linux Documentation Project | Script-Tools

Last edited by sea; 7th February 2012 at 11:26 PM.
Reply With Quote
  #2  
Old 7th February 2012, 08:00 PM
Dan Online
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,842
linuxfirefox
Re: ALSA vs. pulseaudio

I'm probably not the best guy to ask for my opinions of PulseAudio. <....>

Suffice it to say that for a minimal install ... I'd lose it like a bad girlfriend. <....>
Reply With Quote
  #3  
Old 7th February 2012, 08:01 PM
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,548
linuxfirefox
Re: ALSA vs. pulseaudio

It's not an either/or decision. Your multimedia stack includes ats, jack, alsa and pulse.
If you want to throw away functionality - go ahead and strip off pulse.
May as well strip out tcpip and send raw packets too.

Luv ya sea - but I'm really fed up with the pulse-hate.

Obviously all the pulse config tools use gtk - so it's needed. Sorry but the alsa-mixer terminal approach is pretty lame way to adjust volume.

** PS - you are reading that backward - gdm is dependent on pulseaudio-gdm-hooks, not the other way around.
So you need all 385 bytes of pulseaudio-gdm-hooks to use gdm.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe

Last edited by stevea; 7th February 2012 at 08:18 PM.
Reply With Quote
  #4  
Old 7th February 2012, 08:22 PM
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,268
linuxfirefox
Re: ALSA vs. pulseaudio

I always used oss in my minimal installs, mainly to get the ossxmix controls:
http://www.opensound.com/oss.html
Reply With Quote
  #5  
Old 7th February 2012, 08:48 PM
Adunaic Offline
Registered User
 
Join Date: Mar 2009
Location: Lancaster, UK
Posts: 907
linuxfirefox
Re: ALSA vs. pulseaudio

Quote:
Originally Posted by sea View Post
Heyas

The last step of having a minimal to multimediable gui is here... The audio.
If i just watch on dependcies alsa* surley wins, with 23 packages

Now having a look to pulseaudio*...
The screen scrolls out of sight, and listing things like gdm.. gnome-*, and i go like WTF?
A total of 56 packages.. more than the double.

Anyone an idea why there are so many 'weird' (imho at least) dependencies?
I mean, for WHAT reason does an audio application need a GDM for example??

At first this post should have been a question which one's to prefer, however, i decided to use alsa for the scripts, as i want to keep the minimal approach, which pulseaudio does not support for certain

Cheerio
sea
I think you need to take a closer look, do you really need pulseaudio* ? There are a few things in there that look uneccessary.

I (currently) have a standard livecd install and yum list pulseaudio* gives:

Code:
Loaded
Installed
pulseaudio.i686
pulseaudio-gdm-hooks.i686
pulseaudio-libs.i686
pulseaudio-libs-glib2.i686
pulseaudio-module-bluetooth.i686
pulseaudio-module-gconf.i686
pulseaudio-module-x11.i686
pulseaudio-utils.i686
Available
pulseaudio-equalizer.noarch
pulseaudio-esound-compat.i686
pulseaudio-libs-devel.i686
pulseaudio-libs-zeroconf.i686
pulseaudio-module-jack.i686
pulseaudio-module-lirc.i686
pulseaudio-module-zeroconf.i686
Looks like you will not need all of them. GDM is only needed by pulseaudio-gdm-hooks.i686, which in turn is needed by GDM.
Reply With Quote
  #6  
Old 7th February 2012, 09:00 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,067
linuxfirefox
Re: ALSA vs. pulseaudio

Quote:
Originally Posted by stevea View Post
...
If you want to throw away functionality - go ahead and strip off pulse....
** PS - you are reading that backward - gdm is dependent on pulseaudio-gdm-hooks, not the other way around.
So you need all 385 bytes of pulseaudio-gdm-hooks to use gdm.
I dont want to cut off usability, but packages that are not really required.
So, thank you very much, you had lead me to this idea:
m=module ; for e in e l $m-g $m-x $m-z u; do str="$str pulseaudio-$e*" ; done ; yum install $str
Looks much better

Well going to install cinnamon in a later process, which brings gnome too...
But first the minimal approach, for general optimization and reuseability, which requires sound, but not another DE or login manager

EDIT: Thanks Aduniac
So the code changed to:
m=module;str="pulseaudio"; for e in l $m-g $m-x u; do str="$str pulseaudio-$e*" ; done ; yum install $str
Looks even better

EDIT 2: better work with a list, its shorter and more readable
Quote:
Originally Posted by apps.sound
alsa-firmware
alsa-lib
alsa-plugins-pulseaudio
alsa-tools-firmware
alsa-utils
pulseaudio.i686
pulseaudio-libs.i686
pulseaudio-libs-glib2.i686
pulseaudio-module-gconf.i686
pulseaudio-module-x11.i686
pulseaudio-utils.i686
__________________
Notebook: Samsung NC210/NC110 CPU: Intel 2*1600 Mhz RAM: 1024 MB DDR2 OS: Fedora 19 DE: Awesome
Laptop: Toshiba Satellite L670 CPU: Intel(r) 2*1872 Mhz RAM: 3072 MB DDR3 OS: Fedora 17 DE: Awesome
Fedora Manual (RTFM) | The Linux Documentation Project | Script-Tools

Last edited by sea; 7th February 2012 at 11:27 PM. Reason: less simleys, $str fix
Reply With Quote
Reply

Tags
alsa, pulseaudio

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Will NAS hurt PulseAudio/ALSA? Noobification Using Fedora 0 10th October 2010 04:55 PM
PulseAudio vs ALSA callejero Using Fedora 1 16th December 2008 09:51 PM
Pulseaudio to ALSA issue Vortexhunter Using Fedora 1 8th December 2008 04:49 PM
Pulseaudio, alsa, oss kikker46 Using Fedora 21 4th August 2008 12:06 PM
ALSA, pulseaudio and 5.1 surround alarm9k Using Fedora 1 12th March 2008 04:29 PM


Current GMT-time: 18:25 (Thursday, 17-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat