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
Lennart Poettering
6b6d14626d
alsa: distuingish real underruns from left_to_play=0
2009-09-01 04:54:18 +02:00
Lennart Poettering
f029041372
suspend-on-idle: don't resume devices for corked streams
2009-08-28 23:31:01 +02:00
Lennart Poettering
84eb6614eb
core: move 'flags' field into 'pa_sink_input_new_data' structure so that hooks can access it
2009-08-28 23:24:09 +02:00
Andy Shevchenko
4e8562c1f1
raop: Fix memory leak
...
The return memory of the pa_strbuf_tostring_free() should be freed.
pa_headerlist_puts() saves its own copy.
2009-08-28 17:12:11 +02:00
Lennart Poettering
63f3dc0bdc
bluetooth: remove left-over debug line
2009-08-28 17:07:08 +02:00
Luiz Augusto von Dentz
8169a6a6c9
Handle DisconnectRequested in bluetooth module.
2009-08-27 11:29:49 -03:00
Lennart Poettering
c372b52a77
protocol-native: print more volume change debug messages to easy tracking down of feedback loops
2009-08-27 00:05:54 +02:00
Lennart Poettering
368c3e3f90
loopback: quieten gcc on 32bit
2009-08-26 20:05:19 +02:00
Lennart Poettering
4614412f94
loopback: update description and icons when moving loopback streams
2009-08-26 02:17:37 +02:00
Lennart Poettering
d909f59389
loopback: make sure a monitor can't be looped back to its sink
2009-08-26 01:52:02 +02:00
Lennart Poettering
99d3e6b744
combine: store adjust time in usec
2009-08-26 01:51:29 +02:00
Lennart Poettering
ea4b65b8e0
loopback: add loopback module for direct connections of sinks and sources
2009-08-26 01:42:17 +02:00
Finn Thain
457b973ba6
Solaris: debug my latest enbugging, take 2
...
Prevent partially played memchunks from getting lost.
If the sink has a memblock, don't leak it when rewinding.
2009-08-25 03:18:50 +02:00
Lennart Poettering
57e1f84f03
Merge commit 'jprvita2/master'
2009-08-24 23:31:35 +02:00
Lennart Poettering
419b071a1e
detect: recommend module-udev-detect instead of module-hal-detect
2009-08-24 16:35:19 +02:00
João Paulo Rechi Vita
2772521698
bluetooth: add discover of bluetooth sources
2009-08-23 22:46:56 -03:00
João Paulo Rechi Vita
65c3e6576c
bluetooth: handle bluetooth source
2009-08-23 22:46:56 -03:00
Lennart Poettering
050a3a99e1
alsa: automatically decrease watermark after a time of stability
2009-08-24 03:27:29 +02:00
Lennart Poettering
80c6937303
alsa: increase interval between smoother updates exponentially for alsa sources, following the scheme for sinks
2009-08-23 22:34:42 +02:00
Lennart Poettering
ab5ac06ac7
Merge commit 'wtay/optimize'
2009-08-23 00:06:35 +02:00
Lennart Poettering
d6fb8d1081
udev: check busy status of alsa cards before loading alsa modules and hence initiating profile probing
2009-08-22 23:10:45 +02:00
Lennart Poettering
560da5b0a1
udev: process all inotify events queued up, not just the first one in the queue
2009-08-22 21:59:17 +02:00
Lennart Poettering
5b0683d6cd
ladspa/remap: handle failing stream moves properly
2009-08-22 04:03:31 +02:00
Finn Thain
601fb63b01
Solaris: fixed latency (resent)
...
Set a fixed latency based on the given buffer size, which is constrained to
the 128 KB limit on buffered writes. Also fix an error path.
2009-08-22 00:59:33 +02:00
Finn Thain
87d2dded9b
Solaris: use smoother (resent)
...
Make use of the smoother, just in case.
2009-08-22 00:59:23 +02:00
Finn Thain
44c7aa55e2
Solaris: build fixes (resent)
...
Fix bit rot due to recent flat volume changes.
2009-08-22 00:59:16 +02:00
Lennart Poettering
066e160bbd
udev: tell inotify to actually inform us about ACL changes
2009-08-21 23:24:40 +02:00