profile/ivi/pulseaudio-panda.git
15 years agocore: introduce new 'reference' volume for sinks
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

15 years agoalsa: include the alsa mixer control that is used in the property list
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

15 years agoalsa: store mixer controls to use in profile data
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.

15 years agoalsa: when passing emptry mixer control name, force sw volume
Lennart Poettering [Mon, 13 Apr 2009 20:45:31 +0000 (22:45 +0200)]
alsa: when passing emptry mixer control name, force sw volume

15 years agovolume: increase dB range to -90dB
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

15 years agoclient-conf-x11: unbreak autospawn due to stale X11 properties
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.

15 years agoclient-conf: when is set, disable autospawn setting
Lennart Poettering [Mon, 13 Apr 2009 20:25:43 +0000 (22:25 +0200)]
client-conf: when  is set, disable autospawn setting

15 years agoclient-conf: make setting a default server independant from the 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

15 years agoproplist-util: use pa_session_id() instead of accessing 7b816367b01393ed3e3e650047d78...
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

15 years agoclient-conf: modernize a few things
Lennart Poettering [Mon, 13 Apr 2009 20:22:22 +0000 (22:22 +0200)]
client-conf: modernize a few things

15 years agoprint session id when starting up
Lennart Poettering [Mon, 13 Apr 2009 20:21:26 +0000 (22:21 +0200)]
print session id when starting up

15 years agocore-util: filter utf8 in pa_machine_id()
Lennart Poettering [Mon, 13 Apr 2009 20:21:08 +0000 (22:21 +0200)]
core-util: filter utf8 in pa_machine_id()

15 years agocore-util: add pa_session_id()
Lennart Poettering [Mon, 13 Apr 2009 20:20:48 +0000 (22:20 +0200)]
core-util: add pa_session_id()

15 years agocork-music-on-phone: make sure that we don't check the refcnt of pa_core when the...
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

15 years agolirc: fix logic behind mute buttons
Lennart Poettering [Mon, 13 Apr 2009 02:44:27 +0000 (04:44 +0200)]
lirc: fix logic behind mute buttons

15 years agommkbd: get rid of support for ancient kernels
Lennart Poettering [Mon, 13 Apr 2009 02:43:11 +0000 (04:43 +0200)]
mmkbd: get rid of support for ancient kernels

15 years agommkbd,lirc: make use of pa_assert_not_reached()
Lennart Poettering [Mon, 13 Apr 2009 02:42:33 +0000 (04:42 +0200)]
mmkbd,lirc: make use of pa_assert_not_reached()

15 years agolirc, mmkbd: extend controllable volume range to PA_VOLUME_MAX
Lennart Poettering [Mon, 13 Apr 2009 02:41:51 +0000 (04:41 +0200)]
lirc, mmkbd: extend controllable volume range to PA_VOLUME_MAX

15 years agoapi: introduce PA_VOLUME_MAX
Lennart Poettering [Mon, 13 Apr 2009 02:39:45 +0000 (04:39 +0200)]
api: introduce PA_VOLUME_MAX

15 years agolirc: drop lirc_in_use, it's made redundant by PA_MODULE_LOAD_ONCE
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

15 years agomake sure we never overflow when calculating sleep time
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

15 years agoDowngrade default log level to NOTICE to follow documentation
Lennart Poettering [Fri, 10 Apr 2009 01:41:25 +0000 (03:41 +0200)]
Downgrade default log level to NOTICE to follow documentation

Closes #527

15 years agoadd missing languages to LINGUAS
Lennart Poettering [Fri, 10 Apr 2009 01:03:15 +0000 (03:03 +0200)]
add missing languages to LINGUAS

15 years agoprepare another snapshot
Lennart Poettering [Fri, 10 Apr 2009 00:28:43 +0000 (02:28 +0200)]
prepare another snapshot

15 years agoset fixed latencies at more places where appropriate
Lennart Poettering [Fri, 10 Apr 2009 00:26:59 +0000 (02:26 +0200)]
set fixed latencies at more places where appropriate

15 years agomake dbus optional during build
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

15 years agorun make update-po
Lennart Poettering [Fri, 10 Apr 2009 00:03:09 +0000 (02:03 +0200)]
run make update-po

15 years agoMerge commit 'origin/master-tx'
Lennart Poettering [Fri, 10 Apr 2009 00:02:20 +0000 (02:02 +0200)]
Merge commit 'origin/master-tx'

15 years agoalsa: when printing warning about bogus data from alsa include snd_pcm_dump()
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()

15 years agobluetooth: when starting up HSP stream, send 2 packets first, only afterwards enter...
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

15 years agobluetooth: rework timing logic, properly implement latency callbacks
Lennart Poettering [Thu, 9 Apr 2009 23:30:50 +0000 (01:30 +0200)]
bluetooth: rework timing logic, properly implement latency callbacks

15 years agobluetooth: be a bit more verbose if we exit due to bad poll() revents flag
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

15 years agobluetooth: rename sco to hsp also for the user
Lennart Poettering [Thu, 9 Apr 2009 23:28:21 +0000 (01:28 +0200)]
bluetooth: rename sco to hsp also for the user

15 years agocore: add a seperate fixed_latency field for sinks/sources with fixed latency
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

15 years agocore: memory leak, fix ref counting when moving streams
Lennart Poettering [Thu, 9 Apr 2009 23:21:16 +0000 (01:21 +0200)]
core: memory leak, fix ref counting when moving streams

15 years agodbus: memory leak, actually free dbus wrapper
Lennart Poettering [Thu, 9 Apr 2009 23:18:04 +0000 (01:18 +0200)]
dbus: memory leak, actually free dbus wrapper

15 years agodbus: drop pa_ prefix from static symbol
Lennart Poettering [Thu, 9 Apr 2009 23:17:49 +0000 (01:17 +0200)]
dbus: drop pa_ prefix from static symbol

15 years agoprotocol-native: downgrade message if we receive pcm block for dead stream
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

15 years agoprotocol-native: print underrun message only once for each underrun
Lennart Poettering [Thu, 9 Apr 2009 23:16:24 +0000 (01:16 +0200)]
protocol-native: print underrun message only once for each underrun

15 years agosocket-server: memory leak, free machine id after use
Lennart Poettering [Thu, 9 Apr 2009 23:15:26 +0000 (01:15 +0200)]
socket-server: memory leak, free machine id after use

15 years agodbus: memory leak, free pending calls
Lennart Poettering [Thu, 9 Apr 2009 23:14:46 +0000 (01:14 +0200)]
dbus: memory leak, free pending calls

15 years agodbus: memory leak, free server id after use
Lennart Poettering [Thu, 9 Apr 2009 23:12:46 +0000 (01:12 +0200)]
dbus: memory leak, free server id after use

15 years agobluetooth: memory leak, actually free discovery struct itself
Lennart Poettering [Thu, 9 Apr 2009 23:12:12 +0000 (01:12 +0200)]
bluetooth: memory leak, actually free discovery struct itself

15 years agointerpol-test: make it easier to test corking only optionally
Lennart Poettering [Thu, 9 Apr 2009 23:10:59 +0000 (01:10 +0200)]
interpol-test: make it easier to test corking only optionally

15 years agoSending translation for Spanish
elsupergomez [Thu, 9 Apr 2009 14:50:49 +0000 (14:50 +0000)]
Sending translation for Spanish

15 years agoSending translation for Oriya
mgiri [Thu, 9 Apr 2009 07:48:12 +0000 (07:48 +0000)]
Sending translation for Oriya

15 years agoSending translation for Oriya
mgiri [Thu, 9 Apr 2009 07:40:21 +0000 (07:40 +0000)]
Sending translation for Oriya

15 years agoSending translation for Oriya
mgiri [Wed, 8 Apr 2009 13:10:58 +0000 (13:10 +0000)]
Sending translation for Oriya

15 years agoSending translation for Telugu
kkrothap [Wed, 8 Apr 2009 12:53:09 +0000 (12:53 +0000)]
Sending translation for Telugu

15 years agoSending translation for po/ta.po
ifelix [Wed, 8 Apr 2009 11:19:48 +0000 (11:19 +0000)]
Sending translation for po/ta.po

15 years agoSending translation for Bengali (India)
runab [Wed, 8 Apr 2009 11:04:27 +0000 (11:04 +0000)]
Sending translation for Bengali (India)

15 years agoSending translation for Assamese
amitakhya [Wed, 8 Apr 2009 07:15:13 +0000 (07:15 +0000)]
Sending translation for Assamese

15 years agoSending translation for po/as.po
amitakhya [Wed, 8 Apr 2009 04:48:54 +0000 (04:48 +0000)]
Sending translation for po/as.po

15 years agobluetooth: make sure to set max_request
Lennart Poettering [Wed, 8 Apr 2009 02:15:42 +0000 (04:15 +0200)]
bluetooth: make sure to set max_request

15 years agointroduce relative_volume field in sink_input and make use of it on sink flat volume...
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

15 years agowhen calculating volume from dB use ceil()
Lennart Poettering [Wed, 8 Apr 2009 01:47:48 +0000 (03:47 +0200)]
when calculating volume from dB use ceil()

15 years agoprint smallest attenuation/sample
Lennart Poettering [Wed, 8 Apr 2009 01:47:18 +0000 (03:47 +0200)]
print smallest attenuation/sample

15 years agoSending translation for po/te.po
kkrothap [Tue, 7 Apr 2009 23:24:11 +0000 (23:24 +0000)]
Sending translation for po/te.po

15 years agoSending translation for po/sr@latin.po
kmilos [Tue, 7 Apr 2009 22:17:08 +0000 (22:17 +0000)]
Sending translation for po/sr@latin.po

15 years agoSending translation for Serbian
kmilos [Tue, 7 Apr 2009 22:16:13 +0000 (22:16 +0000)]
Sending translation for Serbian

15 years agoSending translation for Oriya
mgiri [Tue, 7 Apr 2009 21:01:58 +0000 (21:01 +0000)]
Sending translation for Oriya

15 years agoSending translation for po/or.po
mgiri [Tue, 7 Apr 2009 20:35:51 +0000 (20:35 +0000)]
Sending translation for po/or.po

15 years agoSending translation for po/bn_IN.po
runab [Tue, 7 Apr 2009 19:27:38 +0000 (19:27 +0000)]
Sending translation for po/bn_IN.po

15 years agoupdate documentation regarding stream timing a bit
Lennart Poettering [Tue, 7 Apr 2009 15:53:51 +0000 (17:53 +0200)]
update documentation regarding stream timing a bit

15 years agoSending translation for Gujarati
swkothar [Tue, 7 Apr 2009 08:59:51 +0000 (08:59 +0000)]
Sending translation for Gujarati

15 years agoSending translation for po/kn.po
shanky [Tue, 7 Apr 2009 05:45:55 +0000 (05:45 +0000)]
Sending translation for po/kn.po

15 years agoafter propagating a sink volume change to the sink inputs recalculate their soft...
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

15 years agowe need to make our multiplications with linear values
Lennart Poettering [Tue, 7 Apr 2009 02:05:03 +0000 (04:05 +0200)]
we need to make our multiplications with linear values

15 years agoreduce number of conversions to/from linear volumes
Lennart Poettering [Tue, 7 Apr 2009 02:04:19 +0000 (04:04 +0200)]
reduce number of conversions to/from linear volumes

15 years agocompare with doubles, not integer
Lennart Poettering [Tue, 7 Apr 2009 02:02:25 +0000 (04:02 +0200)]
compare with doubles, not integer

15 years agoIf the sink volume is lowered to 0 and then increased again, make sure all stream...
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

15 years agomake use of SO_TIMESTAMP timestamp for accuracy and leave smoother paused until we...
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

15 years agomark null sink as support dynamic latency
Lennart Poettering [Mon, 6 Apr 2009 22:48:09 +0000 (00:48 +0200)]
mark null sink as support dynamic latency

15 years agoadjust max_rewind/max_request whenever the latency changes
Lennart Poettering [Mon, 6 Apr 2009 22:47:55 +0000 (00:47 +0200)]
adjust max_rewind/max_request whenever the latency changes

15 years agosend the source latency based on the MTU size
Lennart Poettering [Mon, 6 Apr 2009 22:47:13 +0000 (00:47 +0200)]
send the source latency based on the MTU size

15 years agoadd suspend_within_thread() callbacks to pa_sink_input/pa_source_output
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

15 years agoenable debugging output based on if DEBUG_DATA macro is set
Lennart Poettering [Mon, 6 Apr 2009 22:41:45 +0000 (00:41 +0200)]
enable debugging output based on if DEBUG_DATA macro is set

15 years agomake sure we don't apply sampling rate fixes that bring the sampling freq > PA_RATE_MAX
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

15 years agoMake sure we don't get stuck when prebuf is too high
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

15 years agoextend documentation for pa_stream_cork() a bit
Lennart Poettering [Mon, 6 Apr 2009 20:06:50 +0000 (22:06 +0200)]
extend documentation for pa_stream_cork() a bit

15 years agoproperly handle interpolation when queried x is left of last data position
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

15 years agoSending translation for Gujarati
swkothar [Mon, 6 Apr 2009 11:59:51 +0000 (11:59 +0000)]
Sending translation for Gujarati

15 years agoSending translation for Gujarati
swkothar [Mon, 6 Apr 2009 09:51:30 +0000 (09:51 +0000)]
Sending translation for Gujarati

15 years agoSending translation for po/gu.po
swkothar [Mon, 6 Apr 2009 09:26:53 +0000 (09:26 +0000)]
Sending translation for po/gu.po

15 years agoSending translation for po/mr.po
sandeeps [Mon, 6 Apr 2009 08:16:23 +0000 (08:16 +0000)]
Sending translation for po/mr.po

15 years agodon't fail device reservation if the D-Bus connection is dead
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

15 years agobe a bit more verbose about the busses we are connected to
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

15 years agomake sure we keep a reference of the bus connection during the whole runtime if we...
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

15 years agoSending translation for Chinese (Simplified)
leahliu [Mon, 6 Apr 2009 00:28:32 +0000 (00:28 +0000)]
Sending translation for Chinese (Simplified)

15 years agoSending translation for po/sr@latin.po
soko [Sun, 5 Apr 2009 23:01:58 +0000 (23:01 +0000)]
Sending translation for po/sr@latin.po

15 years agoSending translation for Serbian
soko [Sun, 5 Apr 2009 23:01:26 +0000 (23:01 +0000)]
Sending translation for Serbian

15 years agoSending translation for Polish
raven [Sun, 5 Apr 2009 14:13:50 +0000 (14:13 +0000)]
Sending translation for Polish

15 years agoSending translation for Finnish
vpv [Sun, 5 Apr 2009 13:26:48 +0000 (13:26 +0000)]
Sending translation for Finnish

15 years agoSending translation for Finnish
vpv [Sun, 5 Apr 2009 12:09:35 +0000 (12:09 +0000)]
Sending translation for Finnish

15 years agoSending translation for Finnish
vpv [Sun, 5 Apr 2009 10:48:58 +0000 (10:48 +0000)]
Sending translation for Finnish

15 years agorun make po-update
Lennart Poettering [Sun, 5 Apr 2009 01:16:04 +0000 (03:16 +0200)]
run make po-update

15 years agoMerge commit 'origin/master-tx'
Lennart Poettering [Sun, 5 Apr 2009 01:15:00 +0000 (03:15 +0200)]
Merge commit 'origin/master-tx'

15 years agoMerge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Sun, 5 Apr 2009 01:05:51 +0000 (03:05 +0200)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio

15 years agomake it easy to disable interpolation in the interpolation test tool
Lennart Poettering [Sun, 5 Apr 2009 01:04:22 +0000 (03:04 +0200)]
make it easy to disable interpolation in the interpolation test tool

15 years agoFix a couple of races in native protocol
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.