platform/upstream/pulseaudio.git
15 years agoshm: minor modernizations
Lennart Poettering [Tue, 28 Apr 2009 23:49:22 +0000 (01:49 +0200)]
shm: minor modernizations

15 years agoshm: page align shm size when mmap()ing it
Lennart Poettering [Tue, 28 Apr 2009 23:49:02 +0000 (01:49 +0200)]
shm: page align shm size when mmap()ing it

15 years agostrbuf: add new call pa_strbuf_putc()
Lennart Poettering [Tue, 28 Apr 2009 23:46:51 +0000 (01:46 +0200)]
strbuf: add new call pa_strbuf_putc()

15 years agoidxset: add enumeration macro PA_IDXSET_FOREACH
Lennart Poettering [Tue, 28 Apr 2009 23:46:12 +0000 (01:46 +0200)]
idxset: add enumeration macro PA_IDXSET_FOREACH

15 years agobuild-system: move x11 and jack modules into subdirectories
Lennart Poettering [Tue, 28 Apr 2009 00:29:01 +0000 (02:29 +0200)]
build-system: move x11 and jack modules into subdirectories

15 years agobuild-system: hide .version from git
Lennart Poettering [Fri, 24 Apr 2009 15:51:43 +0000 (17:51 +0200)]
build-system: hide .version from git

15 years agobuild-system: run make update-shave
Lennart Poettering [Fri, 24 Apr 2009 15:51:00 +0000 (17:51 +0200)]
build-system: run make update-shave

15 years agobuild: there is no such thing as SHAVE_OUTPUT anymore
Marc-André Lureau [Thu, 23 Apr 2009 15:09:07 +0000 (18:09 +0300)]
build: there is no such thing as SHAVE_OUTPUT anymore

15 years agobuild: generate git tarball using git describe
Marc-André Lureau [Thu, 23 Apr 2009 16:23:11 +0000 (19:23 +0300)]
build: generate git tarball using git describe

15 years agostart-pulseaudio-x11: don't start a local sound server if a remote sound server is...
Lennart Poettering [Wed, 22 Apr 2009 20:05:20 +0000 (22:05 +0200)]
start-pulseaudio-x11: don't start a local sound server if a remote sound server is configured

15 years agomemtrap,aupdate: split atomic update from memtrap into seperate aupdate framework
Lennart Poettering [Wed, 22 Apr 2009 17:10:09 +0000 (19:10 +0200)]
memtrap,aupdate: split atomic update from memtrap into seperate aupdate framework

15 years agoi18n: run make update-po
Lennart Poettering [Tue, 21 Apr 2009 21:04:18 +0000 (23:04 +0200)]
i18n: run make update-po

15 years agoi18n: add missing file to LINGUAS ... again
Lennart Poettering [Tue, 21 Apr 2009 21:04:04 +0000 (23:04 +0200)]
i18n: add missing file to LINGUAS ... again

15 years agoMerge commit 'origin/master-tx'
Lennart Poettering [Tue, 21 Apr 2009 21:02:25 +0000 (23:02 +0200)]
Merge commit 'origin/master-tx'

15 years agomemtrap: add a bit of documentation for memtrap
Lennart Poettering [Tue, 21 Apr 2009 21:02:17 +0000 (23:02 +0200)]
memtrap: add a bit of documentation for memtrap

15 years agomemtrap: fix parameter type
Lennart Poettering [Tue, 21 Apr 2009 21:02:02 +0000 (23:02 +0200)]
memtrap: fix parameter type

15 years agomemtrap: hook up core to memtrap system
Lennart Poettering [Tue, 21 Apr 2009 20:56:08 +0000 (22:56 +0200)]
memtrap: hook up core to memtrap system

15 years agomemtrap: make installation of SIGBUS handler explicit to ease integration into libraries
Lennart Poettering [Tue, 21 Apr 2009 20:54:44 +0000 (22:54 +0200)]
memtrap: make installation of SIGBUS handler explicit to ease integration into libraries

15 years agomemtrap: when we fail to handle sigbus say so
Lennart Poettering [Tue, 21 Apr 2009 19:36:29 +0000 (21:36 +0200)]
memtrap: when we fail to handle sigbus say so

15 years agomemtrap: add new logic to trap and handle SIGBUS
Lennart Poettering [Tue, 21 Apr 2009 19:33:32 +0000 (21:33 +0200)]
memtrap: add new logic to trap and handle SIGBUS

15 years agosemaphore: introduce static semaphores
Lennart Poettering [Tue, 21 Apr 2009 19:25:27 +0000 (21:25 +0200)]
semaphore: introduce static semaphores

15 years agomutex: add initializer for static mutexes
Lennart Poettering [Tue, 21 Apr 2009 19:25:01 +0000 (21:25 +0200)]
mutex: add initializer for static mutexes

15 years agomutex: when we fail to fill in mutex into static mutex ptr free it again
Lennart Poettering [Tue, 21 Apr 2009 19:24:33 +0000 (21:24 +0200)]
mutex: when we fail to fill in mutex into static mutex ptr free it again

15 years agollist: add PA_LLIST_FOREACH
Lennart Poettering [Tue, 21 Apr 2009 19:23:53 +0000 (21:23 +0200)]
llist: add PA_LLIST_FOREACH

15 years agoSending translation for Italian
marionline [Mon, 20 Apr 2009 20:33:02 +0000 (20:33 +0000)]
Sending translation for Italian

15 years agoSending translation for po/uk.po
mvdz [Sun, 19 Apr 2009 20:21:59 +0000 (20:21 +0000)]
Sending translation for po/uk.po

15 years agoobject: revert to old unref() behaviour
Lennart Poettering [Sun, 19 Apr 2009 18:09:03 +0000 (20:09 +0200)]
object: revert to old unref() behaviour

This mostly reverts these two commits:

eb04d0fda6f6ee7998bcf290750a299c566fbb19
12c5afe0382ded41de5283e0a8711155adf7ee64

15 years agoobject: fix ref counting of objects on destruction
Lennart Poettering [Sun, 19 Apr 2009 17:33:15 +0000 (19:33 +0200)]
object: fix ref counting of objects on destruction

15 years agoalsa: remove debug code
Lennart Poettering [Sun, 19 Apr 2009 17:25:42 +0000 (19:25 +0200)]
alsa: remove debug code

15 years agoalsa: properly convert return values of snd_strerror() to utf8
Lennart Poettering [Sun, 19 Apr 2009 17:22:51 +0000 (19:22 +0200)]
alsa: properly convert return values of snd_strerror() to utf8

15 years agolog: use pa_logl() instead of pa_log_level()
Lennart Poettering [Sun, 19 Apr 2009 17:05:25 +0000 (19:05 +0200)]
log: use pa_logl() instead of pa_log_level()

15 years agolog: print file name only when we have it
Lennart Poettering [Sun, 19 Apr 2009 17:04:50 +0000 (19:04 +0200)]
log: print file name only when we have it

15 years agoutil: if NULL is passed to pa_path_get_filename() just hand it through
Lennart Poettering [Sun, 19 Apr 2009 17:02:16 +0000 (19:02 +0200)]
util: if NULL is passed to pa_path_get_filename() just hand it through

15 years agoreserve-device: allow building without D-Bus
Erich Boleyn [Thu, 16 Apr 2009 06:02:59 +0000 (23:02 -0700)]
reserve-device: allow building without D-Bus

Lennart Poettering <lennart@poettering.net> wrote:

> On Wed, 15.04.09 16:26, Erich Boleyn (erich@uruk.org) wrote:
>
> > Just noticed the new 0.9.15 release, got it building on Gentoo, and then
> > found that the non-dbus build's ALSA modules appear to be broken:
...
> > Is this something that can stubbed out (relatively) safely?
>
> Hmm, yes. As it seems I broke the build for non-dbus builds. Should be
> easy to fix. Best way is probably to make the reserver wrapper mostly
> a noop if D-Bus is not available.
>
> Please understand that I don't really focus on making every weird
> combination of build deps work. So I won't fix this for you. But I am
> happy to merge good patches!

No problem, I was mainly looking for a hint that to your knowledge there
should be no wierd side-effects from stubbing out the reserve and dbus
functions inside reserve_wrapper.  Thanks for said hint.  ;-)

Attached is a patch to include "reserve_wrapper.[ch]" in the non-dbus
builds, and do said stubbing when HAVE_DBUS is not defined.  It has
passed moderate testing:  built both versions, both pass
"pulseaudio --dump-modules" with no weird messages, and the
"--disable-dbus" build works and produces audio as expected in some
simple tests including RTP.

15 years agosolaris: 0.9.15 solaris module build failure
Finn Thain [Fri, 17 Apr 2009 12:58:30 +0000 (22:58 +1000)]
solaris: 0.9.15 solaris module build failure

Lennart wrote,

>
> Hmm, yes. As it seems I broke the build for non-dbus builds.

Well, you also broke the solaris module between 0.9.15-test8 and 0.9.15.

Have you considered release candidates?

Patch follows. It would be nice if API changes could be made without
breaking things when the effort to avoid that is trivial.

Finn

15 years agoobject: keep refcount at 1 while destructing objects
Lennart Poettering [Sat, 18 Apr 2009 21:24:36 +0000 (23:24 +0200)]
object: keep refcount at 1 while destructing objects

15 years agocore-util: handle EINTR already inside of pa_read/pa_write
Lennart Poettering [Sat, 18 Apr 2009 21:21:05 +0000 (23:21 +0200)]
core-util: handle EINTR already inside of pa_read/pa_write

15 years agoSending translation for Spanish
beckerde [Sat, 18 Apr 2009 17:30:04 +0000 (17:30 +0000)]
Sending translation for Spanish

15 years agoSending translation for po/LINGUAS
fab [Sat, 18 Apr 2009 11:02:08 +0000 (11:02 +0000)]
Sending translation for po/LINGUAS

15 years agoSending translation for po/de_CH.po
fab [Sat, 18 Apr 2009 10:56:13 +0000 (10:56 +0000)]
Sending translation for po/de_CH.po

15 years agoSending translation for German
fab [Sat, 18 Apr 2009 10:45:06 +0000 (10:45 +0000)]
Sending translation for German

15 years agobluetoth-device: be less strict on CONNECTED state to switch profile
Marc-André Lureau [Sat, 4 Apr 2009 14:56:36 +0000 (17:56 +0300)]
bluetoth-device: be less strict on CONNECTED state to switch profile

15 years agopulse/context: when NOFAIL, don't try_next_connection() if c->client
Marc-André Lureau [Fri, 17 Apr 2009 12:47:27 +0000 (15:47 +0300)]
pulse/context: when NOFAIL, don't try_next_connection() if c->client

15 years agorescue-streams: when one stream move fails try to continue with the remaining ones
Lennart Poettering [Fri, 17 Apr 2009 18:30:09 +0000 (20:30 +0200)]
rescue-streams: when one stream move fails try to continue with the remaining ones

15 years agoSending translation for Dutch
warrink [Wed, 15 Apr 2009 19:05:06 +0000 (19:05 +0000)]
Sending translation for Dutch

15 years agoSending translation for Dutch
warrink [Tue, 14 Apr 2009 17:35:24 +0000 (17:35 +0000)]
Sending translation for Dutch

15 years agoSending translation for Polish
raven [Tue, 14 Apr 2009 15:11:38 +0000 (15:11 +0000)]
Sending translation for Polish

15 years agoadd a few missing initializations v0.9.15
Lennart Poettering [Mon, 13 Apr 2009 23:23:07 +0000 (01:23 +0200)]
add a few missing initializations

15 years agoexplcitly ignore return values of some functions marked with gcc's warn_unused_result...
Lennart Poettering [Mon, 13 Apr 2009 23:22:42 +0000 (01:22 +0200)]
explcitly ignore return values of some functions marked with gcc's warn_unused_result attribute

15 years agobump version for final 0.9.15 release
Lennart Poettering [Mon, 13 Apr 2009 23:10:47 +0000 (01:10 +0200)]
bump version for final 0.9.15 release

15 years agocore: when applying delay memblockq take monitored sink latency into account
Lennart Poettering [Mon, 13 Apr 2009 23:04:17 +0000 (01:04 +0200)]
core: when applying delay memblockq take monitored sink latency into account

15 years agopacat: add missing newline
Lennart Poettering [Mon, 13 Apr 2009 23:03:34 +0000 (01:03 +0200)]
pacat: add missing newline

15 years agocore: use pa_{source|sink}_get_latency_within_thread() at one more place
Lennart Poettering [Mon, 13 Apr 2009 23:03:10 +0000 (01:03 +0200)]
core: use pa_{source|sink}_get_latency_within_thread() at one more place

15 years agosort LINGUAS
Lennart Poettering [Mon, 13 Apr 2009 21:41:05 +0000 (23:41 +0200)]
sort LINGUAS

15 years agorun make update-po
Lennart Poettering [Mon, 13 Apr 2009 21:10:08 +0000 (23:10 +0200)]
run make update-po

15 years agoupdate LINGUAS
Lennart Poettering [Mon, 13 Apr 2009 21:08:05 +0000 (23:08 +0200)]
update LINGUAS

15 years agoMerge commit 'origin/master-tx'
Lennart Poettering [Mon, 13 Apr 2009 21:07:27 +0000 (23:07 +0200)]
Merge commit 'origin/master-tx'

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 agoSending translation for po/nl.po
warrink [Mon, 13 Apr 2009 17:25:40 +0000 (17:25 +0000)]
Sending translation for po/nl.po

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 agoSending translation for Tamil
ifelix [Sat, 11 Apr 2009 23:42:37 +0000 (23:42 +0000)]
Sending translation for Tamil

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 v0.9.15-test8
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