Lennart Poettering [Mon, 13 Apr 2009 20:50:24 +0000 (22:50 +0200)]
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
Lennart Poettering [Mon, 13 Apr 2009 20:48:29 +0000 (22:48 +0200)]
alsa: include the alsa mixer control that is used in the property list
Lennart Poettering [Mon, 13 Apr 2009 20:46:39 +0000 (22:46 +0200)]
alsa: store mixer controls to use in profile data
This allows us to easily use different mixer controls for analog and
spdif output.
Lennart Poettering [Mon, 13 Apr 2009 20:45:31 +0000 (22:45 +0200)]
alsa: when passing emptry mixer control name, force sw volume
Lennart Poettering [Mon, 13 Apr 2009 20:41:38 +0000 (22:41 +0200)]
volume: increase dB range to -90dB
Increasing the volume range to -90dB has the benefit of corresponding
with a volume decrease from the full 16 bit signal to 0.
This also makes us a bit more like traditional stereos
Lennart Poettering [Mon, 13 Apr 2009 20:28:35 +0000 (22:28 +0200)]
client-conf-x11: unbreak autospawn due to stale X11 properties
If the X11 property data is from the same session than the client the
client may do autospawning in case the X11 property data is stale.
Closes #518.
Lennart Poettering [Mon, 13 Apr 2009 20:25:43 +0000 (22:25 +0200)]
client-conf: when is set, disable autospawn setting
Lennart Poettering [Mon, 13 Apr 2009 20:25:09 +0000 (22:25 +0200)]
client-conf: make setting a default server independant from the autospawn setting
Lennart Poettering [Mon, 13 Apr 2009 20:23:18 +0000 (22:23 +0200)]
proplist-util: use pa_session_id() instead of accessing
7b816367b01393ed3e3e650047d78f6e-
1239640487.203609-
1061245823 directly
Lennart Poettering [Mon, 13 Apr 2009 20:22:22 +0000 (22:22 +0200)]
client-conf: modernize a few things
Lennart Poettering [Mon, 13 Apr 2009 20:21:26 +0000 (22:21 +0200)]
print session id when starting up
Lennart Poettering [Mon, 13 Apr 2009 20:21:08 +0000 (22:21 +0200)]
core-util: filter utf8 in pa_machine_id()
Lennart Poettering [Mon, 13 Apr 2009 20:20:48 +0000 (22:20 +0200)]
core-util: add pa_session_id()
Lennart Poettering [Mon, 13 Apr 2009 03:12:11 +0000 (05:12 +0200)]
cork-music-on-phone: make sure that we don't check the refcnt of pa_core when the daemon goes down
Lennart Poettering [Mon, 13 Apr 2009 02:44:27 +0000 (04:44 +0200)]
lirc: fix logic behind mute buttons
Lennart Poettering [Mon, 13 Apr 2009 02:43:11 +0000 (04:43 +0200)]
mmkbd: get rid of support for ancient kernels
Lennart Poettering [Mon, 13 Apr 2009 02:42:33 +0000 (04:42 +0200)]
mmkbd,lirc: make use of pa_assert_not_reached()
Lennart Poettering [Mon, 13 Apr 2009 02:41:51 +0000 (04:41 +0200)]
lirc, mmkbd: extend controllable volume range to PA_VOLUME_MAX
Lennart Poettering [Mon, 13 Apr 2009 02:39:45 +0000 (04:39 +0200)]
api: introduce PA_VOLUME_MAX
Lennart Poettering [Mon, 13 Apr 2009 02:38:57 +0000 (04:38 +0200)]
lirc: drop lirc_in_use, it's made redundant by PA_MODULE_LOAD_ONCE
Lennart Poettering [Mon, 13 Apr 2009 01:40:46 +0000 (03:40 +0200)]
make sure we never overflow when calculating sleep time
Issue pointed out by Jaroslav Kysela
Lennart Poettering [Fri, 10 Apr 2009 01:41:25 +0000 (03:41 +0200)]
Downgrade default log level to NOTICE to follow documentation
Closes #527
Lennart Poettering [Fri, 10 Apr 2009 01:03:15 +0000 (03:03 +0200)]
add missing languages to LINGUAS
Lennart Poettering [Fri, 10 Apr 2009 00:28:43 +0000 (02:28 +0200)]
prepare another snapshot
Lennart Poettering [Fri, 10 Apr 2009 00:26:59 +0000 (02:26 +0200)]
set fixed latencies at more places where appropriate
Finn Thain [Mon, 6 Apr 2009 06:29:22 +0000 (16:29 +1000)]
make dbus optional during build
On Tue, 31 Mar 2009, Lennart Poettering wrote:
[snip]
>
> I have now merged your patch. I had to change a few things to make it
> apply cleanly. Since I have no access to Solaris I am unable to test
> this though, so please check if things still work for you.
>
> I also worked around the realpath() issue mostly. It should work fine on
> Solaris now, as well.
Thanks. 0.9.15-test7 seems to work fine.
The only new issue is that configure --without-dbus no longer builds. I
don't need dbus for my purposes (network audio server) and it seems that
dbus is not included with Solaris. A patch for this follows.
Finn
Lennart Poettering [Fri, 10 Apr 2009 00:03:09 +0000 (02:03 +0200)]
run make update-po
Lennart Poettering [Fri, 10 Apr 2009 00:02:20 +0000 (02:02 +0200)]
Merge commit 'origin/master-tx'
Lennart Poettering [Thu, 9 Apr 2009 23:58:39 +0000 (01:58 +0200)]
alsa: when printing warning about bogus data from alsa include snd_pcm_dump()
Lennart Poettering [Thu, 9 Apr 2009 23:31:25 +0000 (01:31 +0200)]
bluetooth: when starting up HSP stream, send 2 packets first, only afterwards enter one-read-one-write logic
Lennart Poettering [Thu, 9 Apr 2009 23:30:50 +0000 (01:30 +0200)]
bluetooth: rework timing logic, properly implement latency callbacks
Lennart Poettering [Thu, 9 Apr 2009 23:29:46 +0000 (01:29 +0200)]
bluetooth: be a bit more verbose if we exit due to bad poll() revents flag
Lennart Poettering [Thu, 9 Apr 2009 23:28:21 +0000 (01:28 +0200)]
bluetooth: rename sco to hsp also for the user
Lennart Poettering [Thu, 9 Apr 2009 23:26:04 +0000 (01:26 +0200)]
core: add a seperate fixed_latency field for sinks/sources with fixed latency
Lennart Poettering [Thu, 9 Apr 2009 23:21:16 +0000 (01:21 +0200)]
core: memory leak, fix ref counting when moving streams
Lennart Poettering [Thu, 9 Apr 2009 23:18:04 +0000 (01:18 +0200)]
dbus: memory leak, actually free dbus wrapper
Lennart Poettering [Thu, 9 Apr 2009 23:17:49 +0000 (01:17 +0200)]
dbus: drop pa_ prefix from static symbol
Lennart Poettering [Thu, 9 Apr 2009 23:16:59 +0000 (01:16 +0200)]
protocol-native: downgrade message if we receive pcm block for dead stream
Lennart Poettering [Thu, 9 Apr 2009 23:16:24 +0000 (01:16 +0200)]
protocol-native: print underrun message only once for each underrun
Lennart Poettering [Thu, 9 Apr 2009 23:15:26 +0000 (01:15 +0200)]
socket-server: memory leak, free machine id after use
Lennart Poettering [Thu, 9 Apr 2009 23:14:46 +0000 (01:14 +0200)]
dbus: memory leak, free pending calls
Lennart Poettering [Thu, 9 Apr 2009 23:12:46 +0000 (01:12 +0200)]
dbus: memory leak, free server id after use
Lennart Poettering [Thu, 9 Apr 2009 23:12:12 +0000 (01:12 +0200)]
bluetooth: memory leak, actually free discovery struct itself
Lennart Poettering [Thu, 9 Apr 2009 23:10:59 +0000 (01:10 +0200)]
interpol-test: make it easier to test corking only optionally
elsupergomez [Thu, 9 Apr 2009 14:50:49 +0000 (14:50 +0000)]
Sending translation for Spanish
mgiri [Thu, 9 Apr 2009 07:48:12 +0000 (07:48 +0000)]
Sending translation for Oriya
mgiri [Thu, 9 Apr 2009 07:40:21 +0000 (07:40 +0000)]
Sending translation for Oriya
mgiri [Wed, 8 Apr 2009 13:10:58 +0000 (13:10 +0000)]
Sending translation for Oriya
kkrothap [Wed, 8 Apr 2009 12:53:09 +0000 (12:53 +0000)]
Sending translation for Telugu
ifelix [Wed, 8 Apr 2009 11:19:48 +0000 (11:19 +0000)]
Sending translation for po/ta.po
runab [Wed, 8 Apr 2009 11:04:27 +0000 (11:04 +0000)]
Sending translation for Bengali (India)
amitakhya [Wed, 8 Apr 2009 07:15:13 +0000 (07:15 +0000)]
Sending translation for Assamese
amitakhya [Wed, 8 Apr 2009 04:48:54 +0000 (04:48 +0000)]
Sending translation for po/as.po
Lennart Poettering [Wed, 8 Apr 2009 02:15:42 +0000 (04:15 +0200)]
bluetooth: make sure to set max_request
Lennart Poettering [Wed, 8 Apr 2009 01:49:16 +0000 (03:49 +0200)]
introduce relative_volume field in sink_input and make use of it on sink flat volume change
Lennart Poettering [Wed, 8 Apr 2009 01:47:48 +0000 (03:47 +0200)]
when calculating volume from dB use ceil()
Lennart Poettering [Wed, 8 Apr 2009 01:47:18 +0000 (03:47 +0200)]
print smallest attenuation/sample
kkrothap [Tue, 7 Apr 2009 23:24:11 +0000 (23:24 +0000)]
Sending translation for po/te.po
kmilos [Tue, 7 Apr 2009 22:17:08 +0000 (22:17 +0000)]
Sending translation for po/sr@latin.po
kmilos [Tue, 7 Apr 2009 22:16:13 +0000 (22:16 +0000)]
Sending translation for Serbian
mgiri [Tue, 7 Apr 2009 21:01:58 +0000 (21:01 +0000)]
Sending translation for Oriya
mgiri [Tue, 7 Apr 2009 20:35:51 +0000 (20:35 +0000)]
Sending translation for po/or.po
runab [Tue, 7 Apr 2009 19:27:38 +0000 (19:27 +0000)]
Sending translation for po/bn_IN.po
Lennart Poettering [Tue, 7 Apr 2009 15:53:51 +0000 (17:53 +0200)]
update documentation regarding stream timing a bit
swkothar [Tue, 7 Apr 2009 08:59:51 +0000 (08:59 +0000)]
Sending translation for Gujarati
shanky [Tue, 7 Apr 2009 05:45:55 +0000 (05:45 +0000)]
Sending translation for po/kn.po
Lennart Poettering [Tue, 7 Apr 2009 02:47:58 +0000 (04:47 +0200)]
after propagating a sink volume change to the sink inputs recalculate their soft volumes
Lennart Poettering [Tue, 7 Apr 2009 02:05:03 +0000 (04:05 +0200)]
we need to make our multiplications with linear values
Lennart Poettering [Tue, 7 Apr 2009 02:04:19 +0000 (04:04 +0200)]
reduce number of conversions to/from linear volumes
Lennart Poettering [Tue, 7 Apr 2009 02:02:25 +0000 (04:02 +0200)]
compare with doubles, not integer
Lennart Poettering [Mon, 6 Apr 2009 23:21:07 +0000 (01:21 +0200)]
If the sink volume is lowered to 0 and then increased again, make sure all stream volumes follow instead of staying at 0
Lennart Poettering [Mon, 6 Apr 2009 22:50:47 +0000 (00:50 +0200)]
make use of SO_TIMESTAMP timestamp for accuracy and leave smoother paused until we have data
Lennart Poettering [Mon, 6 Apr 2009 22:48:09 +0000 (00:48 +0200)]
mark null sink as support dynamic latency
Lennart Poettering [Mon, 6 Apr 2009 22:47:55 +0000 (00:47 +0200)]
adjust max_rewind/max_request whenever the latency changes
Lennart Poettering [Mon, 6 Apr 2009 22:47:13 +0000 (00:47 +0200)]
send the source latency based on the MTU size
Lennart Poettering [Mon, 6 Apr 2009 22:46:20 +0000 (00:46 +0200)]
add suspend_within_thread() callbacks to pa_sink_input/pa_source_output
Lennart Poettering [Mon, 6 Apr 2009 22:41:45 +0000 (00:41 +0200)]
enable debugging output based on if DEBUG_DATA macro is set
Lennart Poettering [Mon, 6 Apr 2009 21:02:45 +0000 (23:02 +0200)]
make sure we don't apply sampling rate fixes that bring the sampling freq > PA_RATE_MAX
Fixes #525
Lennart Poettering [Mon, 6 Apr 2009 20:09:38 +0000 (22:09 +0200)]
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
Lennart Poettering [Mon, 6 Apr 2009 20:06:50 +0000 (22:06 +0200)]
extend documentation for pa_stream_cork() a bit
Lennart Poettering [Mon, 6 Apr 2009 14:38:38 +0000 (16:38 +0200)]
properly handle interpolation when queried x is left of last data position
swkothar [Mon, 6 Apr 2009 11:59:51 +0000 (11:59 +0000)]
Sending translation for Gujarati
swkothar [Mon, 6 Apr 2009 09:51:30 +0000 (09:51 +0000)]
Sending translation for Gujarati
swkothar [Mon, 6 Apr 2009 09:26:53 +0000 (09:26 +0000)]
Sending translation for po/gu.po
sandeeps [Mon, 6 Apr 2009 08:16:23 +0000 (08:16 +0000)]
Sending translation for po/mr.po
Lennart Poettering [Mon, 6 Apr 2009 02:21:26 +0000 (04:21 +0200)]
don't fail device reservation if the D-Bus connection is dead
Lennart Poettering [Mon, 6 Apr 2009 02:20:12 +0000 (04:20 +0200)]
be a bit more verbose about the busses we are connected to
Lennart Poettering [Mon, 6 Apr 2009 00:31:22 +0000 (02:31 +0200)]
make sure we keep a reference of the bus connection during the whole runtime if we manage to acquire the bus name
leahliu [Mon, 6 Apr 2009 00:28:32 +0000 (00:28 +0000)]
Sending translation for Chinese (Simplified)
soko [Sun, 5 Apr 2009 23:01:58 +0000 (23:01 +0000)]
Sending translation for po/sr@latin.po
soko [Sun, 5 Apr 2009 23:01:26 +0000 (23:01 +0000)]
Sending translation for Serbian
raven [Sun, 5 Apr 2009 14:13:50 +0000 (14:13 +0000)]
Sending translation for Polish
vpv [Sun, 5 Apr 2009 13:26:48 +0000 (13:26 +0000)]
Sending translation for Finnish
vpv [Sun, 5 Apr 2009 12:09:35 +0000 (12:09 +0000)]
Sending translation for Finnish
vpv [Sun, 5 Apr 2009 10:48:58 +0000 (10:48 +0000)]
Sending translation for Finnish
Lennart Poettering [Sun, 5 Apr 2009 01:16:04 +0000 (03:16 +0200)]
run make po-update
Lennart Poettering [Sun, 5 Apr 2009 01:15:00 +0000 (03:15 +0200)]
Merge commit 'origin/master-tx'
Lennart Poettering [Sun, 5 Apr 2009 01:05:51 +0000 (03:05 +0200)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Sun, 5 Apr 2009 01:04:22 +0000 (03:04 +0200)]
make it easy to disable interpolation in the interpolation test tool
Lennart Poettering [Sun, 5 Apr 2009 00:59:02 +0000 (02:59 +0200)]
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.