Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] How do I Merge ALSA with pulseaudio?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Rockford The Roe
n00b
n00b


Joined: 21 Mar 2019
Posts: 18
Location: Illinois

PostPosted: Sat Mar 30, 2019 5:51 am    Post subject: [SOLVED] How do I Merge ALSA with pulseaudio? Reply with quote

Hello, I recently switched from Arch Linux to Gentoo. When I used Arch, there was a package called pulseaudio-alsa which basically merged pulseaudio and alsa together into one hardware device. From my understanding there doesn't seem to be a ebuild for this kind of setup and I wanted to know how to do it. What USE flags/config files would I need to make this possible?
_________________
"UNIX is very simple, it just needs a genius to understand its simplicity." -Dennis Ritchie


Last edited by Rockford The Roe on Sat Mar 30, 2019 6:16 am; edited 1 time in total
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 18071

PostPosted: Sat Mar 30, 2019 6:06 am    Post subject: Reply with quote

Looking at the source files for the archlinux package, it appears to just install a presumably customized version of /etc/asound.conf.
_________________
Those who know what's best for us must rise and save us from ourselves.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5879

PostPosted: Sat Mar 30, 2019 6:13 am    Post subject: Reply with quote

media-sound/pulseaudio with USE=alsa-plugin does this. It should be on by default.
Back to top
View user's profile Send private message
Rockford The Roe
n00b
n00b


Joined: 21 Mar 2019
Posts: 18
Location: Illinois

PostPosted: Sat Mar 30, 2019 6:15 am    Post subject: Reply with quote

pjp wrote:
Looking at the source files for the archlinux package, it appears to just install a presumably customized version of /etc/asound.conf.


I copied the config and it seems to be working quite well.

I'll post the config from that package and mark this thread as solved.


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:

_________________
"UNIX is very simple, it just needs a genius to understand its simplicity." -Dennis Ritchie
Back to top
View user's profile Send private message
Leio
Developer
Developer


Joined: 27 Feb 2003
Posts: 487
Location: Estonia

PostPosted: Sat Mar 30, 2019 11:26 am    Post subject: Reply with quote

No custom config should be necessary for this. alsa-plugins[pulseaudio] takes care of it out of the box
_________________
GNOME team lead; GStreamer; MIPS/ARM64
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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