1 |
Hi |
2 |
|
3 |
I could not check the pulseaudio dependency for gws, as libsndfile does not |
4 |
have it. |
5 |
|
6 |
I have had pulseaudio for a year or so, and it was fine. I used it mainly |
7 |
because VirtualBox depended on it to emulate a sound car on its virtual |
8 |
machines. Then something broke, and I could not get any sound out of the |
9 |
speakers, just the first app get the device, and no other after that. |
10 |
|
11 |
Then, after Dale asked me why did I need pulseaudio, I saw that VirtualBox |
12 |
now is able to handle plain and simple ALSA, then I removed all pulseaudio |
13 |
related things that I could find, rebuilt the kernel with alsa built-in and |
14 |
everything I need is back making noises ;-) |
15 |
|
16 |
Francisco |
17 |
|
18 |
|
19 |
On Sat, Dec 10, 2011 at 2:25 PM, <meino.cramer@×××.de> wrote: |
20 |
|
21 |
> |
22 |
> Hi, |
23 |
> |
24 |
> sorry for the nebelous subject... |
25 |
> |
26 |
> The following happened to me. |
27 |
> I have installed/configured pulseaudio according to this |
28 |
> for a one-person desktop gentoo-system: |
29 |
> http://en.gentoo-wiki.com/wiki/PulseAudio |
30 |
> |
31 |
> When starting gwc (which is not in portage) and playing |
32 |
> sounds, it works...once... |
33 |
> |
34 |
> After a while I here the same clicking sound, which happens |
35 |
> while booting the system and alsa takes over...and thats it. |
36 |
> I have to kill gwc. |
37 |
> |
38 |
> On the console gwc prints: |
39 |
> |
40 |
> Current stack limit: 8388608 bytes |
41 |
> libsndfile Version: libsndfile-1.0.25 1 0 25 |
42 |
> socket(): Address family not supported by protocol |
43 |
> Closing the Pulse audio device |
44 |
> |
45 |
> The last line appears when I press "stop audio playback", the clicking |
46 |
> happes a few seconds later. |
47 |
> |
48 |
> After that...no go. |
49 |
> |
50 |
> I have appended /etc/pulse/default.pa at the end of this posting. |
51 |
> |
52 |
> Interestingly it is possible to successfully restart gwc. |
53 |
> |
54 |
> What can I do to fix this? |
55 |
> |
56 |
> Best regards, |
57 |
> mcc |
58 |
> |
59 |
> |
60 |
> |
61 |
> |
62 |
> #!/usr/bin/pulseaudio -nF |
63 |
> # |
64 |
> # This file is part of PulseAudio. |
65 |
> # |
66 |
> # PulseAudio is free software; you can redistribute it and/or modify it |
67 |
> # under the terms of the GNU Lesser General Public License as published by |
68 |
> # the Free Software Foundation; either version 2 of the License, or |
69 |
> # (at your option) any later version. |
70 |
> # |
71 |
> # PulseAudio is distributed in the hope that it will be useful, but |
72 |
> # WITHOUT ANY WARRANTY; without even the implied warranty of |
73 |
> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
74 |
> # General Public License for more details. |
75 |
> # |
76 |
> # You should have received a copy of the GNU Lesser General Public License |
77 |
> # along with PulseAudio; if not, write to the Free Software Foundation, |
78 |
> # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. |
79 |
> |
80 |
> # This startup script is used only if PulseAudio is started per-user |
81 |
> # (i.e. not in system mode) |
82 |
> |
83 |
> .nofail |
84 |
> |
85 |
> ### Load something into the sample cache |
86 |
> #load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav |
87 |
> #load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav |
88 |
> #load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav |
89 |
> #load-sample-lazy pulse-access /usr/share/sounds/generic.wav |
90 |
> |
91 |
> .fail |
92 |
> |
93 |
> ### Automatically restore the volume of streams and devices |
94 |
> load-module module-device-restore |
95 |
> load-module module-stream-restore |
96 |
> load-module module-card-restore |
97 |
> |
98 |
> ### Automatically augment property information from .desktop files |
99 |
> ### stored in /usr/share/application |
100 |
> load-module module-augment-properties |
101 |
> |
102 |
> ### Load audio drivers statically (it's probably better to not load |
103 |
> ### these drivers manually, but instead use module-hal-detect -- |
104 |
> ### see below -- for doing this automatically) |
105 |
> load-module module-alsa-sink |
106 |
> #load-module module-alsa-source device=hw:1,0 |
107 |
> #load-module module-oss device="/dev/dsp" sink_name=output |
108 |
> source_name=input |
109 |
> #load-module module-oss-mmap device="/dev/dsp" sink_name=output |
110 |
> source_name=input |
111 |
> #load-module module-null-sink |
112 |
> #load-module module-pipe-sink |
113 |
> |
114 |
> ### Automatically load driver modules depending on the hardware available |
115 |
> .ifexists module-udev-detect.so |
116 |
> load-module module-udev-detect |
117 |
> .else |
118 |
> ### Alternatively use the static hardware detection module (for systems |
119 |
> that |
120 |
> ### lack udev support) |
121 |
> load-module module-detect |
122 |
> .endif |
123 |
> |
124 |
> ### Automatically load driver modules for Bluetooth hardware |
125 |
> .ifexists module-bluetooth-discover.so |
126 |
> load-module module-bluetooth-discover |
127 |
> .endif |
128 |
> |
129 |
> ### Load several protocols |
130 |
> .ifexists module-esound-protocol-unix.so |
131 |
> load-module module-esound-protocol-unix |
132 |
> .endif |
133 |
> load-module module-native-protocol-unix |
134 |
> |
135 |
> ### Network access (may be configured with paprefs, so leave this commented |
136 |
> ### here if you plan to use paprefs) |
137 |
> #load-module module-esound-protocol-tcp |
138 |
> #load-module module-native-protocol-tcp |
139 |
> #load-module module-zeroconf-publish |
140 |
> |
141 |
> ### Load the RTP reciever module (also configured via paprefs, see above) |
142 |
> #load-module module-rtp-recv |
143 |
> |
144 |
> ### Load the RTP sender module (also configured via paprefs, see above) |
145 |
> #load-module module-null-sink sink_name=rtp format=s16be channels=2 |
146 |
> rate=44100 description="RTP Multicast Sink" |
147 |
> #load-module module-rtp-send source=rtp.monitor |
148 |
> |
149 |
> ### Load additional modules from GConf settings. This can be configured |
150 |
> with the paprefs tool. |
151 |
> ### Please keep in mind that the modules configured by paprefs might |
152 |
> conflict with manually |
153 |
> ### loaded modules. |
154 |
> .ifexists module-gconf.so |
155 |
> .nofail |
156 |
> load-module module-gconf |
157 |
> .fail |
158 |
> .endif |
159 |
> |
160 |
> ### Automatically restore the default sink/source when changed by the user |
161 |
> during runtime |
162 |
> load-module module-default-device-restore |
163 |
> |
164 |
> ### Automatically move streams to the default sink if the sink they are |
165 |
> ### connected to dies, similar for sources |
166 |
> load-module module-rescue-streams |
167 |
> |
168 |
> ### Make sure we always have a sink around, even if it is a null sink. |
169 |
> load-module module-always-sink |
170 |
> |
171 |
> ### Honour intended role device property |
172 |
> load-module module-intended-roles |
173 |
> |
174 |
> ### Automatically suspend sinks/sources that become idle for too long |
175 |
> load-module module-suspend-on-idle |
176 |
> |
177 |
> ### If autoexit on idle is enabled we want to make sure we only quit |
178 |
> ### when no local session needs us anymore. |
179 |
> load-module module-console-kit |
180 |
> |
181 |
> ### Enable positioned event sounds |
182 |
> load-module module-position-event-sounds |
183 |
> |
184 |
> ### Cork music streams when a phone stream is active |
185 |
> load-module module-cork-music-on-phone |
186 |
> |
187 |
> # X11 modules should not be started from default.pa so that one daemon |
188 |
> # can be shared by multiple sessions. |
189 |
> |
190 |
> ### Load X11 bell module |
191 |
> #load-module module-x11-bell sample=bell-windowing-system |
192 |
> |
193 |
> ### Register ourselves in the X11 session manager |
194 |
> #load-module module-x11-xsmp |
195 |
> |
196 |
> ### Publish connection data in the X11 root window |
197 |
> #.ifexists module-x11-publish.so |
198 |
> #.nofail |
199 |
> #load-module module-x11-publish |
200 |
> #.fail |
201 |
> #.endif |
202 |
> |
203 |
> ### Make some devices default |
204 |
> #set-default-sink output |
205 |
> #set-default-source input |
206 |
> |
207 |
> |