Gentoo Archives: gentoo-commits

From: "Fabio Erculiani (lxnay)" <lxnay@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/alsa-plugins/files: pulse-alsa.conf pulse.conf
Date: Fri, 28 May 2010 18:41:29
Message-Id: 20100528184124.9769B2CE3C@corvid.gentoo.org
1 lxnay 10/05/28 18:41:24
2
3 Added: pulse-alsa.conf pulse.conf
4 Log:
5 inject default working pulseaudio configuration, close bug #308697
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 media-plugins/alsa-plugins/files/pulse-alsa.conf
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/alsa-plugins/files/pulse-alsa.conf?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/alsa-plugins/files/pulse-alsa.conf?rev=1.1&content-type=text/plain
13
14 Index: pulse-alsa.conf
15 ===================================================================
16 # This file is referred to by /usr/share/alsa/pulse.conf to set pulseaudio as
17 # the default output plugin for applications using alsa when PulseAudio is
18 # running.
19
20 pcm.!default {
21 type pulse
22 }
23
24 ctl.!default {
25 type pulse
26 }
27
28 pcm.pulse {
29 type pulse
30 hint {
31 show {
32 @func refer
33 name defaults.namehint.basic
34 }
35 description "Playback/recording through the PulseAudio sound server"
36 }
37 }
38
39 ctl.pulse {
40 type pulse
41 }
42
43
44
45
46 1.1 media-plugins/alsa-plugins/files/pulse.conf
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/alsa-plugins/files/pulse.conf?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/alsa-plugins/files/pulse.conf?rev=1.1&content-type=text/plain
50
51 Index: pulse.conf
52 ===================================================================
53 # PulseAudio alsa plugin configuration file to set the pulseaudio plugin as
54 # default output for applications using alsa when pulseaudio is running.
55 hook_func.pulse_load_if_running {
56 lib "/usr/lib/alsa-lib/libasound_module_conf_pulse.so"
57 func "conf_pulse_hook_load_if_running"
58 }
59
60 @hooks [
61 {
62 func pulse_load_if_running
63 files [
64 "/usr/share/alsa/pulse-alsa.conf"
65 "/etc/asound.conf"
66 "~/.asoundrc"
67 ]
68 errors false
69 }
70 ]