Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How can I keep pulseaudio out of ALSA? [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2208
Location: UK

PostPosted: Sun May 05, 2013 10:49 pm    Post subject: How can I keep pulseaudio out of ALSA? [solved] Reply with quote

media-sound/pulseaudio has a nonsensical hard dependency on media-plugins/alsa-plugins[pulseaudio] if the alsa driver is installed, which makes pulseaudio try to take over everything, breaks alsamixer, renders my sound card's hardware mixing useless, etc.

I've undone this damage every update manually, by blanking out the /usr/share/alsa/alsa.conf.d/*pulseaudio*.conf files and setting chattr +i on them so they can't silently get back into my system, but this is a lot of hassle for something that shouldn't be forced upon users like this in the first place. Is there a better way to say No?


Last edited by Ant P. on Mon May 06, 2013 3:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Mon May 06, 2013 2:59 am    Post subject: Reply with quote

Why are you installing pulseaudio, if you don't want to use it?

Succumb to the Redhat Borg ;)
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2208
Location: UK

PostPosted: Mon May 06, 2013 3:07 am    Post subject: Reply with quote

Legit reasons: I want the per-app volume control on a few things, and it seems to be the only way to reliably screen-record with sound on my system.

For everything else I've got existing JACK/ALSA setups that I invested a lot of effort into and would rather not have this meddling with.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3182

PostPosted: Mon May 06, 2013 4:54 am    Post subject: Reply with quote

That's the problem. pulseaudio has been written from the ground up to meddle with the whole audio stack. It should be possible to record using alsa directly, unless the recording functionality (i.e., recording the output) has been disabled in your sound card. This seems to be the case with most recent laptop sound hardware.
_________________
emerge --quiet redefined | E17 vids: I, II
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2208
Location: UK

PostPosted: Mon May 06, 2013 3:53 pm    Post subject: Reply with quote

I've got a "real" sound card (output recording, hardware mixing, more than one samplerate). FFmpeg really doesn't like it though, I've tried dozens of setups using ALSA directly and they all give sound dropouts or crazy a/v desync issues.

Anyway I solved my actual problem... for now. I've put a pulseaudio ebuild in my local overlay without the broken dependency.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum