Lennart Poettering
409a9d01cd
jack: never try to autoconnect to MIDI ports
...
Original patch supplied by 'adi'
http://pulseaudio.org/ticket/669
2009-11-11 05:26:56 +01:00
Lennart Poettering
3b25302554
alsa: disable timer-based scheduling inside a VM
...
In virtual machines sound card clocks and OS scheduling tend to become
unreliable, adding various 'uneven' latencies. The adaptive algorithm
that handles drop-outs does not handle it this well: in contrast to
drop-outs on real machines that are evenly distributed, small and can
easily be encountered via the adpative algorithms, drop-outs in VMs tend
to happen abruptly, and massively, which is not easy to counter.
This patch simply disables timer based scheduling in VMs reverting to
classic IO based scheduling. This should help make PA perform better in
VMs.
https://bugzilla.redhat.com/show_bug.cgi?id=532775
2009-11-11 05:26:36 +01:00
Lennart Poettering
b47a9e7ea4
alsa: introduce more standard path names
2009-11-11 05:17:52 +01:00
Lennart Poettering
ab573f2e06
alsa: cover 'Analog Output' control
...
http://pulseaudio.org/ticket/702
2009-11-11 05:17:39 +01:00
Lennart Poettering
4323c9f22f
alsa: create a seperate mixer path for Speaker elements
...
On some cards line-out is independant of Sepaker and it is a good idea
to cover that so that they can independantly be activated.
https://bugzilla.redhat.com/show_bug.cgi?id=520884
2009-11-11 05:17:32 +01:00
Lennart Poettering
8a26fbf863
alsa: leave other headphone control enabled if possible
2009-11-11 05:17:26 +01:00
Lennart Poettering
08d0654867
alsa: lower priority for Headphone2 path
2009-11-11 05:17:19 +01:00
Lennart Poettering
18018b3ff3
alsa: cover Input Source:AUX IN
...
As seen on some HDA chips:
https://bugzilla.redhat.com/attachment.cgi?id=359804
2009-11-11 05:17:12 +01:00
Lennart Poettering
d711caa38c
alsa: cover Headphone2 mixer element
...
As seen on some drivers:
https://bugzilla.redhat.com/show_bug.cgi?id=498612
2009-11-11 05:17:06 +01:00
Lennart Poettering
82d7b75528
alsa: cover 'Digital Input Source' element
...
As used by some HDA devices:
https://bugzilla.redhat.com/attachment.cgi?id=365290
2009-11-11 05:17:00 +01:00
Lennart Poettering
6fad76558d
alsa: cover Mic Jack Mode element
...
As used by some HDA chips:
https://bugzilla.redhat.com/attachment.cgi?id=366816
2009-11-11 05:16:53 +01:00
Lennart Poettering
70da8d65d4
bluetooth: do not hand out access to devices that are not fully configured yet
2009-11-11 05:15:40 +01:00
Lennart Poettering
3201aecea0
position-event-sounds: never position test sounds in space
2009-11-11 05:12:02 +01:00
Lennart Poettering
833bf30cb9
alsa: disable period event only with tsched=1
2009-11-11 05:11:49 +01:00
Tor-Björn Claesson
c15bd97282
loopback: Setting latency of module-loopback
...
I checked the source code, and latency_msec is missing from the list
of valid module arguments. Attaching a patch to add it.
2009-11-11 05:11:32 +01:00
Lennart Poettering
df4937045d
bluetooth: don't set auto_connect flag when discovering bt devices
2009-11-11 05:11:07 +01:00
Lennart Poettering
d06f2eaf30
reserve: downgrade reserve logic messages, so that reusing pa in two sessions does not create spew in syslog
2009-09-28 19:54:37 -07:00
Colin Guthrie
c194db71b0
tunnel: fix parsing of source info from newer servers
2009-09-20 21:36:14 +01:00
Emil Renner Berthing
592345fd36
tunnel: fix parsing of sink info from newer servers
2009-09-20 21:28:49 +01:00
Colin Guthrie
cc6932c4c8
stream-restore: Comment fix
2009-09-20 18:51:20 +01:00
Lennart Poettering
88b777311d
alsa: make build gcc clean on 32bit
2009-09-20 03:17:36 +02:00
Lennart Poettering
56e1290ef6
gconf: run the wrapper script when running gconf-helper from build tree
2009-09-18 23:31:54 +02:00
Colin Guthrie
fd25e8fa8b
alsa: Give all ports a human name to allow UI tools to present the choice to users.
2009-09-18 09:22:23 +01:00
Colin Guthrie
0323e48fdc
rtp: Remove 'fix me' comment after it was actually fixed in [56b6e1]
...
That's what you get for applying your stash without fully checking if anything else was committed in the mean time :p
2009-09-18 09:18:13 +01:00
Lennart Poettering
a37e48a819
alsa: fix Surround mixer element name
...
s/Sourround/Surround/
Spotted by Colin Guthrie
2009-09-18 04:14:36 +02:00
Colin Guthrie
56b6e18030
rtp: Factor out direct io writing and use ioline instead.
...
This is how things should have worked orinally, but I obviously misunderstood things a bit.
This seems to prevent the random hangups that were happening previously :)
2009-09-18 00:22:01 +01:00
Colin Guthrie
94d20a59fa
raop: Use pa_module_unload_request_by_index as per module-zeroconf-discover
2009-09-18 00:22:01 +01:00
Lennart Poettering
3de5c49e42
cli: properly destruct cli object
2009-09-17 04:04:54 +02:00
Lennart Poettering
b4d4f2b856
cli: don't accidentaly set O_NDELAY on stderr
...
Loading module-cli could have the effect of setting O_NDELAY on stderr,
because it was just a dup'ed fd of stdin which module-cli sets O_NDELAY
for and which flag is shared between all dupes.
Instead of using stdin/stdout directly we now open a new file descriptor
for the controlling terminal, which is equally useful as stdin/stdout
but gives a new file that does not share O_NDELAY with stdin/stdout.
This solves a problem where when running pulseaudio -C resulted in
log output being truncated since stdio does not really handle O_NDELAY
that well in on its fds.
2009-09-17 03:59:25 +02:00
Lennart Poettering
add4cbf2f3
position-event-sounds: don't warn that loud about vpos/hpos out of range
2009-09-17 02:04:59 +02:00
Vladimir Kokarev
e63c867f87
alsa: correct assumptions about channels an element lacks
...
If an element does not control some channels assume they are 0dB in
comparison to the other elements, i.e. do not influence the volume at
all. Previously we were assuming they were as high as the highest of the
channels we do control.
2009-09-17 01:26:18 +02:00
Lennart Poettering
180ef1eebd
position-event-sounds: apply volume factor after, not before resampling
2009-09-11 03:27:38 +02:00
Lennart Poettering
6fa2445e11
position-event-sounds: honour window position if set, position both vertically and horizontally
2009-09-11 02:32:21 +02:00
Lennart Poettering
80b4457476
alsa: properly report suspension error codes
2009-09-11 01:22:10 +02:00
Lennart Poettering
bb36bb4bbe
alsa: properly convert sample buffer sizes
2009-09-11 01:21:46 +02:00
Lennart Poettering
d5f43bd4c6
alsa: disable tsched for software devices before we configure the buffer metrics so that we don't accidently set a buffer size that is suitable for tsched where we don't use tsched
2009-09-09 23:57:49 +02:00
Lennart Poettering
8364b959b4
alsa: when probing for profiles configure buffer/period sizes since some broken drivers apparently need that
2009-09-09 23:56:51 +02:00
Lennart Poettering
84ade2140e
alsa: pass SND_PCM_NONBLOCK when opening device during unsuspend, the same way we do it for initial opening
2009-09-09 04:44:51 +02:00
Lennart Poettering
557c429510
alsa: rework buffer/period configuration
...
- As discussed on alsa-devel it's probably better to initialize the
buffer size first, followed by the period size. If that fails try the
other way round. If that fails try to configure only buffer size. If
that fails try to configure only period size. Finally, try to
configure neither.
- Don't require integral periods anymore.
Both of these changes should help improving compatibility with various
weirder sound devices, such as TV cards.
2009-09-09 04:28:52 +02:00
Lennart Poettering
c2f1994968
udev: ratelimit device initializations
2009-09-09 02:41:58 +02:00
Lennart Poettering
f3be47f1e0
rtsp: document that rtsp_exec() needs fixing (llvm-clang-analyzer)
2009-09-08 23:49:10 +02:00
Lennart Poettering
157ec797dd
hal: check properly for failure of libhal_find_device_by_capability() (llvm-clang-analyzer)
2009-09-08 23:48:47 +02:00
Lennart Poettering
1380f18e52
blueooth: actually honour 'room' variable (llvm-clang-analyzer)
2009-09-08 23:48:12 +02:00
Lennart Poettering
382eced35d
alsa-sink: init after_avail earlier (llvm-clang-analyzer)
2009-09-08 23:47:23 +02:00
Lennart Poettering
f5046759cd
llvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixes
2009-09-08 23:46:23 +02:00
Lennart Poettering
5daecea4dd
always-sink: rename null sink created to 'dummy sink' and make it translatable
2009-09-04 02:48:36 +02:00
Lennart Poettering
0ad6a574a1
null: make name of null sink translatable
2009-09-04 02:48:33 +02:00
Lennart Poettering
8cd635bc61
alsa: add more input sources to path set
2009-09-03 04:45:55 +02:00
Lennart Poettering
b245b54702
ladspa,remap: make description of sink follow moves
2009-09-01 06:06:04 +02:00
Lennart Poettering
46b9ca7fd5
alsa: by default increase watermarks only on real underruns, don't try to be smart
2009-09-01 04:55:05 +02:00