Lennart Poettering
684b4c116c
memtrap: hook up core to memtrap system
2009-04-21 22:56:08 +02:00
Lennart Poettering
928adf412f
memtrap: make installation of SIGBUS handler explicit to ease integration into libraries
2009-04-21 22:54:44 +02:00
Lennart Poettering
7b0086185f
memtrap: when we fail to handle sigbus say so
2009-04-21 21:36:29 +02:00
Lennart Poettering
6224fac921
memtrap: add new logic to trap and handle SIGBUS
2009-04-21 21:33:32 +02:00
Lennart Poettering
fbbcfae769
semaphore: introduce static semaphores
2009-04-21 21:25:27 +02:00
Lennart Poettering
391d50cd26
mutex: add initializer for static mutexes
2009-04-21 21:25:01 +02:00
Lennart Poettering
b304a98854
mutex: when we fail to fill in mutex into static mutex ptr free it again
2009-04-21 21:24:33 +02:00
Lennart Poettering
12065f326a
llist: add PA_LLIST_FOREACH
2009-04-21 21:23:53 +02:00
Lennart Poettering
8fbf6269b3
object: revert to old unref() behaviour
...
This mostly reverts these two commits:
eb04d0fda6
12c5afe038
2009-04-19 20:09:03 +02:00
Lennart Poettering
eb04d0fda6
object: fix ref counting of objects on destruction
2009-04-19 19:33:15 +02:00
Lennart Poettering
39a26d8c6b
log: use pa_logl() instead of pa_log_level()
2009-04-19 19:05:25 +02:00
Lennart Poettering
b9f1af48d2
log: print file name only when we have it
2009-04-19 19:04:50 +02:00
Lennart Poettering
12c5afe038
object: keep refcount at 1 while destructing objects
2009-04-18 23:24:36 +02:00
Lennart Poettering
ad447d1468
core-util: handle EINTR already inside of pa_read/pa_write
2009-04-18 23:21:11 +02:00
Lennart Poettering
a4cea4e469
core: when applying delay memblockq take monitored sink latency into account
2009-04-14 01:04:17 +02:00
Lennart Poettering
4ee4a55617
core: use pa_{source|sink}_get_latency_within_thread() at one more place
2009-04-14 01:03:10 +02:00
Lennart Poettering
fe8b10cc05
core: introduce new 'reference' volume for sinks
...
The reference volume is to be used as reference volume for stored stream
volumes. Previously if a new stream was created the relative volume was
taken relatively to the virtual device volume. Due to the flat volume
logic this could then be fed back to the virtual device volume.
Repeating the whole story over and over would result in a device volume
that would go lower, and lower and lower.
This patch introduces a 'reference' volume for each sink which stays
unmodified by stream volume changes even if flat volumes are used. It is
only modified if the sink volumes are modified directly by the user.
For further explanations see http://pulseaudio.org/wiki/InternalVolumes
2009-04-13 22:56:25 +02:00
Lennart Poettering
20aba71d94
proplist-util: use pa_session_id() instead of accessing 7b816367b01393ed3e3e650047d78f6e-1239640487.203609-1061245823 directly
2009-04-13 22:23:18 +02:00
Lennart Poettering
1d8da03886
core-util: filter utf8 in pa_machine_id()
2009-04-13 22:21:08 +02:00
Lennart Poettering
1b4e5f197a
core-util: add pa_session_id()
2009-04-13 22:20:48 +02:00
Lennart Poettering
5388b44b9a
alsa: when printing warning about bogus data from alsa include snd_pcm_dump()
2009-04-10 01:58:39 +02:00
Lennart Poettering
f7c229d8f9
core: add a seperate fixed_latency field for sinks/sources with fixed latency
2009-04-10 01:26:04 +02:00
Lennart Poettering
9ae8ca2c37
core: memory leak, fix ref counting when moving streams
2009-04-10 01:21:16 +02:00
Lennart Poettering
dcd4a73df9
dbus: memory leak, actually free dbus wrapper
2009-04-10 01:18:04 +02:00
Lennart Poettering
d827ecd28d
dbus: drop pa_ prefix from static symbol
2009-04-10 01:17:49 +02:00
Lennart Poettering
f8ebe8571c
protocol-native: downgrade message if we receive pcm block for dead stream
2009-04-10 01:16:59 +02:00
Lennart Poettering
5b871966ab
protocol-native: print underrun message only once for each underrun
2009-04-10 01:16:24 +02:00
Lennart Poettering
3507d1eb37
socket-server: memory leak, free machine id after use
2009-04-10 01:15:26 +02:00
Lennart Poettering
669703daec
dbus: memory leak, free pending calls
2009-04-10 01:14:46 +02:00
Lennart Poettering
9ba9883693
dbus: memory leak, free server id after use
2009-04-10 01:12:46 +02:00
Lennart Poettering
c32c6c833e
introduce relative_volume field in sink_input and make use of it on sink flat volume change
2009-04-08 03:49:16 +02:00
Lennart Poettering
c523b16d33
after propagating a sink volume change to the sink inputs recalculate their soft volumes
2009-04-07 04:47:58 +02:00
Lennart Poettering
93e14d3e62
we need to make our multiplications with linear values
2009-04-07 04:05:03 +02:00
Lennart Poettering
02686cce6d
reduce number of conversions to/from linear volumes
2009-04-07 04:04:19 +02:00
Lennart Poettering
e356a03ab2
If the sink volume is lowered to 0 and then increased again, make sure all stream volumes follow instead of staying at 0
2009-04-07 01:21:07 +02:00
Lennart Poettering
61b07768c2
add suspend_within_thread() callbacks to pa_sink_input/pa_source_output
2009-04-07 00:46:20 +02:00
Lennart Poettering
35a4a0baa8
enable debugging output based on if DEBUG_DATA macro is set
2009-04-07 00:41:45 +02:00
Lennart Poettering
e61728e67a
Make sure we don't get stuck when prebuf is too high
...
If prebuf is greater than tlength minus minreq we might end up waiting
for the buffer to fill up further however without ever asking for more
data from the client since less minreq bytes might be missing.
This fixes bug #440
2009-04-06 22:13:41 +02:00
Lennart Poettering
7fc2382a0a
properly handle interpolation when queried x is left of last data position
2009-04-06 16:38:38 +02:00
Lennart Poettering
4b521e5d24
be a bit more verbose about the busses we are connected to
2009-04-06 04:20:12 +02:00
Lennart Poettering
90f4fdb071
make sure we keep a reference of the bus connection during the whole runtime if we manage to acquire the bus name
2009-04-06 02:31:22 +02:00
Lennart Poettering
6ba3333030
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
2009-04-05 03:05:51 +02:00
Lennart Poettering
14e11e4533
Fix a couple of races in native protocol
...
Also make sure we account for recording memblock that are currently 'on
the fly' between the main and the IO thread.
Also makes a couple of timing calls that were done in different calls
in a single inter-thread call. That way there is a better guarantee that
they match up.
2009-04-05 02:59:02 +02:00
Lennart Poettering
ce73e715c9
introduce pa_{sink|source}_get_latency_within_thread()
2009-04-05 02:46:38 +02:00
Lennart Poettering
d035f4a3f3
Modify smoothing code to make cubic interpolation optional and allow 'quick fixups' on resuming
...
The primary reason for this change is to allow time graphs that do not
go through the origin and hence smoothing starting from the origin is
not desired. This change will allow passing time data into the smoother
while paused and then abruptly use that data without smoothing using the
'quick fixup' flag when resuming.
Primary use case is allowing recording time graphs where the data
recorded originates from a time before the stream was created. The
resulting graft will be shifted and should not be smoothened to go
through the origin.
2009-04-05 02:26:02 +02:00
Lennart Poettering
9bea2503d9
increase log buffer further
2009-04-04 04:13:11 +02:00
Maarten Bosmans
8bcb9c6910
various spelling fixes
2009-04-04 02:27:13 +02:00
Lennart Poettering
373b5efe51
properly account for seeks in the requested_bytes counter
2009-04-01 23:05:09 +02:00
Lennart Poettering
380e97a596
use machine id instead of hostname to identify local connections
2009-04-01 21:15:52 +02:00
Lennart Poettering
75a8d18285
pass destination source/sink when moving streams so that we can access them
2009-04-01 03:04:39 +02:00