LinuxQuestions.org
Review your favorite Linux distribution.
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 03-21-2013, 05:16 PM   #1
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,960

Rep: Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978
General question about Pulseaudio


Hi,

I'm currently building the screencasting app Kazam, after reading a positive review about it by a competent colleague.

Among other things, Kazam has Pulseaudio as runtime dependency. Now I don't know much about Pulseaudio, except it's a sound server, and I remember it vaguely as "the thing that caused audio to be a mess in many major distributions".

1) Correct me if I'm wrong.

2) Can I install it on a Slackware desktop + Xfce without wrecking my audio?

Cheers,

Niki
 
Old 03-21-2013, 05:33 PM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
pulseaudio does sometimes have problems, though they are not nearly as common now as they were when distributions started using it by default in its early days.

You can certainly install it on Slackware:

http://slackbuilds.org/result/?searc...eaudio&sv=14.0

I doubt very much it will wreck your audio, but if you do run into problems with PA that you just can't fix, you can always uninstall it.

Adam
 
Old 03-21-2013, 07:16 PM   #3
Beelzebud
Member
 
Registered: Oct 2010
Distribution: Arch & Slackware
Posts: 96

Rep: Reputation: 27
Pulse is actually not bad these days. The early versions broke a lot of things, but I tried it out recently and it solved a lot of issues I was having with 5.1 surround, and switching from USB headphones/mic to the soundcard on the fly.
 
Old 03-21-2013, 07:19 PM   #4
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 827

Rep: Reputation: 107Reputation: 107
If you install pulseaudio, make sure to install pavucontrol. Takes a while to build all the dependencies, but it is well worth it.
 
Old 03-21-2013, 09:01 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096
Is Pulseaudio actually usable on Slackware? I am interested in the per application volume control feature and just installed it, including all dependencies on Slackware 14 32 bit, but I can't really test it, neither AlienBob's VLC nor the standard MPlayer seem to be compiled with Pulseaudio options.
Do I miss something here?
 
Old 03-21-2013, 09:04 PM   #6
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
if you install the alsa-plugins slackbuild, and build it with PA support, you can get all alsa apps use PA seemlessly.
 
1 members found this post helpful.
Old 03-21-2013, 09:20 PM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096
Thanks, I will try that.
Doesn't work, I seem to be missing something essential, time to search for more information about pulseaudio.

Found it, I had to create a file /etc/asound.conf with the content:
Code:
# Use PulseAudio by default
pcm.!default {
  type pulse
  fallback "sysdefault"
  hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}

ctl.!default {
  type pulse
  fallback "sysdefault"
}

# vim:set ft=alsaconf:
I got that from the Arch package alsa-pulseaudio, as always the ArchWiki was a great help.
Pulseaudio works fine now and if it turns out to be stable I will run it on all my systems.

Last edited by TobiSGD; 03-21-2013 at 10:03 PM.
 
Old 03-22-2013, 02:43 AM   #8
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,960

Original Poster
Rep: Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978
Thanks for all your answers, folks. I got the problem sorted out, in an unexpected way.

I had made some first tests with gtk-recordmydesktop, and found the result with the default settings to be completely unusable. But after some more fiddling, the recordmydesktop command line backend is in fact a quite neat tool, with many handy options, and which does things as expected. Plus, it's already shipping in extra/, so no need to install the kitchen sink for that.

Here's a first result: http://www.youtube.com/watch?v=pao006MDyug

Cheers,

Niki
 
Old 03-24-2013, 12:12 AM   #9
andrew.46
Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 651

Rep: Reputation: 92
Hmmm... I might have a try as well as I believe it is the only sure way to get sound with FFmpeg / X11grab...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
SlackWare 14.0 pulseaudio build problem (a question about it) marbangens Slackware 4 01-08-2013 04:47 AM
Kubuntu Question - How to run Pulseaudio in root account? Braxton Leo Linux - Software 1 03-30-2011 02:08 AM
[SOLVED] Squeeze + Pulseaudio + Alsa and USB Midi device causes Pulseaudio crash mad4linux Debian 1 01-26-2011 04:57 AM
Winecfg crashes on sound tab with Pulseaudio and no 'sounddrivers' without pulseaudio William (Dthdealer) Linux - Software 5 06-13-2010 08:30 AM


All times are GMT -5. The time now is 07:33 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration