platform/upstream/pulseaudio.git
15 years agoWhen MAP_ANONYMOUS is missing, fallback to MAP_ANON.
Diego Elio 'Flameeyes' Pettenò [Fri, 15 May 2009 21:09:59 +0000 (23:09 +0200)]
When MAP_ANONYMOUS is missing, fallback to MAP_ANON.

While the latter is deprecated on modern systems like glibc-based ones,
FreeBSD (and probably others) still use it, so make sure it falls back if
the new one is missing.

15 years agoDon't use == for comparison in tests. Fix build with non-bash shells.
Diego Elio 'Flameeyes' Pettenò [Fri, 15 May 2009 20:43:56 +0000 (22:43 +0200)]
Don't use == for comparison in tests. Fix build with non-bash shells.

15 years agoupnp: update to newest spec
Lennart Poettering [Fri, 15 May 2009 16:38:55 +0000 (18:38 +0200)]
upnp: update to newest spec

15 years agoshm: rework alignment when punching memory
Lennart Poettering [Thu, 14 May 2009 17:51:05 +0000 (19:51 +0200)]
shm: rework alignment when punching memory

15 years agoupnp: convert all property names to CamelCase to follow D-Bus spec
Lennart Poettering [Thu, 14 May 2009 17:50:36 +0000 (19:50 +0200)]
upnp: convert all property names to CamelCase to follow D-Bus spec

15 years agorescue: make we don't end up in an endless loop when we can't move a sink input
Lennart Poettering [Thu, 14 May 2009 01:52:13 +0000 (03:52 +0200)]
rescue: make we don't end up in an endless loop when we can't move a sink input

15 years agoupnp: implement item-count/container-count properties
Lennart Poettering [Wed, 13 May 2009 23:43:12 +0000 (01:43 +0200)]
upnp: implement item-count/container-count properties

15 years agoalsa: be a bit more verbose when a hwparam call fails
Lennart Poettering [Wed, 13 May 2009 23:25:07 +0000 (01:25 +0200)]
alsa: be a bit more verbose when a hwparam call fails

15 years agodatabase: port restore modules to new database API
Lennart Poettering [Wed, 13 May 2009 23:24:26 +0000 (01:24 +0200)]
database: port restore modules to new database API

15 years agomacro: include string.h because we need it for memset
Lennart Poettering [Wed, 13 May 2009 23:23:12 +0000 (01:23 +0200)]
macro: include string.h because we need it for memset

15 years agodatabase: add tdb backend
Lennart Poettering [Wed, 13 May 2009 23:22:49 +0000 (01:22 +0200)]
database: add tdb backend

15 years agodatabase: add gdbm backend
Lennart Poettering [Wed, 13 May 2009 23:22:36 +0000 (01:22 +0200)]
database: add gdbm backend

15 years agodatabase: add abstracted database API
Lennart Poettering [Wed, 13 May 2009 23:21:56 +0000 (01:21 +0200)]
database: add abstracted database API

15 years agovolume: introduce pa_cvolume_{get|set}_position()
Lennart Poettering [Wed, 13 May 2009 13:20:45 +0000 (15:20 +0200)]
volume: introduce pa_cvolume_{get|set}_position()

15 years agocore: automatically add icons for headsets/headphones/speakers for devices
Lennart Poettering [Tue, 12 May 2009 23:00:39 +0000 (01:00 +0200)]
core: automatically add icons for headsets/headphones/speakers for devices

15 years agoalsa: include mixer name in sink/source properties
Lennart Poettering [Tue, 12 May 2009 20:55:50 +0000 (22:55 +0200)]
alsa: include mixer name in sink/source properties

15 years agohttp: fix segfault on connection termination
Lennart Poettering [Tue, 12 May 2009 15:08:34 +0000 (17:08 +0200)]
http: fix segfault on connection termination

15 years agocontext: don't fail if session bus is not there
Marc-André Lureau [Mon, 11 May 2009 22:39:55 +0000 (01:39 +0300)]
context: don't fail if session bus is not there

Also invert the order of bus tracking since we expect session_bus to
be present when we check for it. Although that should not change
anything in practise.

15 years agosuspend-on-idle: add per-device timeout property
Marc-André Lureau [Mon, 11 May 2009 22:48:05 +0000 (01:48 +0300)]
suspend-on-idle: add per-device timeout property

15 years agogit: activate default commit hook
Lennart Poettering [Mon, 11 May 2009 19:18:32 +0000 (21:18 +0200)]
git: activate default commit hook

15 years agoupnp: rework property handling
Lennart Poettering [Mon, 11 May 2009 18:01:05 +0000 (20:01 +0200)]
upnp: rework property handling

15 years agoupnp: use new rygel @HOSTNAME@ wildcard for server name
Lennart Poettering [Mon, 11 May 2009 18:00:43 +0000 (20:00 +0200)]
upnp: use new rygel @HOSTNAME@ wildcard for server name

15 years agoupnp: properly issue method not found exception when we don't now it
Lennart Poettering [Mon, 11 May 2009 18:00:02 +0000 (20:00 +0200)]
upnp: properly issue method not found exception when we don't now it

15 years agoupnp: update to newest spec, generate 'Updated' signal
Lennart Poettering [Mon, 11 May 2009 17:59:14 +0000 (19:59 +0200)]
upnp: update to newest spec, generate 'Updated' signal

15 years agoupnp: fix URL of MediaServer spec
Lennart Poettering [Mon, 11 May 2009 17:57:00 +0000 (19:57 +0200)]
upnp: fix URL of MediaServer spec

15 years agomime: drop additional whitespace from mime types
Lennart Poettering [Mon, 11 May 2009 17:56:13 +0000 (19:56 +0200)]
mime: drop additional whitespace from mime types

15 years agocore: Take samples from silence cache rather than write zeros
Jyri Sarha [Thu, 7 May 2009 16:55:57 +0000 (19:55 +0300)]
core: Take samples from silence cache rather than write zeros

If the only stream to render from is muted take samples from the
silence cache. This should shrink memory/cache bandwidth. Again the
gain was not what I hoped for.

15 years agocore: optimize pa_sink_render_full()
Jyri Sarha [Thu, 7 May 2009 16:55:56 +0000 (19:55 +0300)]
core: optimize pa_sink_render_full()

I have used this fix for quite a while and I am pretty confident about
it. However, the performance gain was not what I expected.

15 years agochannelmap: add pa_channel_map_has_position()
Lennart Poettering [Fri, 8 May 2009 20:45:24 +0000 (22:45 +0200)]
channelmap: add pa_channel_map_has_position()

15 years agobluetooth-device: Add safe guard against BT streaming irregularities.
Jyri Sarha [Fri, 8 May 2009 10:25:21 +0000 (13:25 +0300)]
bluetooth-device: Add safe guard against BT streaming irregularities.

Some bad quality BT-headsets block bluez socket sometimes for hundreds
of milliseconds, especially when changing mode. When the module tries
catch up the lost time it may SBC encode up to half a second of audio
without yielding. On slow machine this may cause maximum RT time slice
to be exceeded. Cleaned out the minor fix that slipped into first version
of the patch.

15 years agocore: liberalize 99a6a4 a bit
Lennart Poettering [Fri, 8 May 2009 00:16:10 +0000 (02:16 +0200)]
core: liberalize 99a6a4 a bit

While flags should generally be initialized by passing them to
pa_{sink|source}_new() we make an exception for the volume related flags
which may be initilized afterwards, but before _put().

15 years agocore: cache requested latency only when we are running, not while we are still constr...
Lennart Poettering [Fri, 8 May 2009 00:02:36 +0000 (02:02 +0200)]
core: cache requested latency only when we are running, not while we are still constructing

15 years agocore: make sure we fix up flags/monitor flags already in pa_sink_new() instead of...
Lennart Poettering [Fri, 8 May 2009 00:02:06 +0000 (02:02 +0200)]
core: make sure we fix up flags/monitor flags already in pa_sink_new() instead of pa_sink_put()

15 years agocore: introduce pa_{sink,source}_set_fixed_latency()
Lennart Poettering [Thu, 7 May 2009 23:56:21 +0000 (01:56 +0200)]
core: introduce pa_{sink,source}_set_fixed_latency()

This allows us to forward the fixed latency directly from the sink to
the monitor source withut having to wait for pa_sink_put().

15 years agomacro: add macros for initializing memory
Lennart Poettering [Thu, 7 May 2009 20:03:04 +0000 (22:03 +0200)]
macro: add macros for initializing memory

15 years agosconv: fix a few minor conversion issues
Lennart Poettering [Fri, 1 May 2009 02:22:08 +0000 (04:22 +0200)]
sconv: fix a few minor conversion issues

15 years agoresampler-test: add tests for 24bit sample formats
Lennart Poettering [Fri, 1 May 2009 02:18:21 +0000 (04:18 +0200)]
resampler-test: add tests for 24bit sample formats

15 years agoresampler-test: use global PA_FLOAT32_SWAP implementation
Lennart Poettering [Fri, 1 May 2009 02:17:34 +0000 (04:17 +0200)]
resampler-test: use global PA_FLOAT32_SWAP implementation

15 years agoalsa: initialize buffer size before number of periods to improve compat with some...
Lennart Poettering [Fri, 1 May 2009 02:16:17 +0000 (04:16 +0200)]
alsa: initialize buffer size before number of periods to improve compat with some backends

15 years agosample-util: fix iteration loop when adjusting volume of s24 samples
Lennart Poettering [Fri, 1 May 2009 02:14:40 +0000 (04:14 +0200)]
sample-util: fix iteration loop when adjusting volume of s24 samples

15 years agosample-util: properly allocate silence block for s24-32 formats
Lennart Poettering [Fri, 1 May 2009 02:14:02 +0000 (04:14 +0200)]
sample-util: properly allocate silence block for s24-32 formats

15 years agoendian: fix LE/BE order for 24 bit accessor functions
Lennart Poettering [Fri, 1 May 2009 02:13:15 +0000 (04:13 +0200)]
endian: fix LE/BE order for 24 bit accessor functions

15 years agozeroconf: properly unref native protocol object
Lennart Poettering [Fri, 1 May 2009 02:12:45 +0000 (04:12 +0200)]
zeroconf: properly unref native protocol object

15 years agosample: correctly pass s24-32 formats
Lennart Poettering [Fri, 1 May 2009 02:12:24 +0000 (04:12 +0200)]
sample: correctly pass s24-32 formats

15 years agoalsa: don't hit an assert when invalid module arguments are passed
Lennart Poettering [Fri, 1 May 2009 02:11:30 +0000 (04:11 +0200)]
alsa: don't hit an assert when invalid module arguments are passed

15 years agozeroconf: use pa_get_{user|host}_name_malloc() where applicable
Lennart Poettering [Thu, 30 Apr 2009 00:37:05 +0000 (02:37 +0200)]
zeroconf: use pa_get_{user|host}_name_malloc() where applicable

15 years agozeroconf: copy more sink/source properties into DNS-SD TXT data
Lennart Poettering [Thu, 30 Apr 2009 00:36:40 +0000 (02:36 +0200)]
zeroconf: copy more sink/source properties into DNS-SD TXT data

15 years agozeroconf: computer native protocol port automatically
Lennart Poettering [Thu, 30 Apr 2009 00:36:02 +0000 (02:36 +0200)]
zeroconf: computer native protocol port automatically

15 years agoheaders: minor cleanups
Lennart Poettering [Thu, 30 Apr 2009 00:33:49 +0000 (02:33 +0200)]
headers: minor cleanups

15 years agorygel: get rid of forgotten debug trap
Lennart Poettering [Wed, 29 Apr 2009 23:39:02 +0000 (01:39 +0200)]
rygel: get rid of forgotten debug trap

15 years agorygel: instead of always handing out wildcard address find out the actual address...
Lennart Poettering [Wed, 29 Apr 2009 23:36:05 +0000 (01:36 +0200)]
rygel: instead of always handing out wildcard address find out the actual address we are listening on

15 years agohttp: export information about currently active server strings
Lennart Poettering [Wed, 29 Apr 2009 23:35:18 +0000 (01:35 +0200)]
http: export information about currently active server strings

15 years agostrlist: add new calls pa_strlist_{next|data}()
Lennart Poettering [Wed, 29 Apr 2009 23:33:56 +0000 (01:33 +0200)]
strlist: add new calls pa_strlist_{next|data}()

15 years agoparseaddr: add new call pa_is_ip_address()
Lennart Poettering [Wed, 29 Apr 2009 23:33:21 +0000 (01:33 +0200)]
parseaddr: add new call pa_is_ip_address()

15 years agorygel: make server name configurable
Lennart Poettering [Wed, 29 Apr 2009 21:48:40 +0000 (23:48 +0200)]
rygel: make server name configurable

15 years agorygel: add module that interfaces with Rygel UPnP
Lennart Poettering [Wed, 29 Apr 2009 21:23:25 +0000 (23:23 +0200)]
rygel: add module that interfaces with Rygel UPnP

15 years agohttp: split out mime type handling calls
Lennart Poettering [Wed, 29 Apr 2009 21:22:08 +0000 (23:22 +0200)]
http: split out mime type handling calls

15 years agoprotocol-http: allow listening into sinks/sources via HTTP
Lennart Poettering [Wed, 29 Apr 2009 02:15:24 +0000 (04:15 +0200)]
protocol-http: allow listening into sinks/sources via HTTP

15 years agoioline: add new calls pa_ioline_detach_iochannel() and pa_ioline_is_drained()
Lennart Poettering [Wed, 29 Apr 2009 02:14:52 +0000 (04:14 +0200)]
ioline: add new calls pa_ioline_detach_iochannel() and pa_ioline_is_drained()

15 years agoioline: add callback that can be called when the ioline object is fully drained
Lennart Poettering [Wed, 29 Apr 2009 02:14:23 +0000 (04:14 +0200)]
ioline: add callback that can be called when the ioline object is fully drained

15 years agosimple-protocol: don't hit an assert when we call connection_unlink() early
Lennart Poettering [Wed, 29 Apr 2009 02:13:07 +0000 (04:13 +0200)]
simple-protocol: don't hit an assert when we call connection_unlink() early

15 years agoprotocol-http: substantial modernizations
Lennart Poettering [Wed, 29 Apr 2009 00:00:19 +0000 (02:00 +0200)]
protocol-http: substantial modernizations

15 years agoalsa: allow configuration of fallback device strings in profiles
Lennart Poettering [Tue, 28 Apr 2009 23:58:18 +0000 (01:58 +0200)]
alsa: allow configuration of fallback device strings in profiles

This has the benefit that we can properly support ALSA devices where
only the raw 'hw' device exists but no 'front' although it's a proper
2ch stereo device.

15 years agoprotocol-native,proplist-util: port to pa_get_{user|host}_name_malloc()
Lennart Poettering [Tue, 28 Apr 2009 23:56:02 +0000 (01:56 +0200)]
protocol-native,proplist-util: port to pa_get_{user|host}_name_malloc()

15 years agocore-util: introduce pa_get_host_name_malloc() and pa_get_user_name_malloc()
Lennart Poettering [Tue, 28 Apr 2009 23:54:44 +0000 (01:54 +0200)]
core-util: introduce pa_get_host_name_malloc() and pa_get_user_name_malloc()

15 years agomemtrap: implicitly page align memory areas
Lennart Poettering [Tue, 28 Apr 2009 23:53:28 +0000 (01:53 +0200)]
memtrap: implicitly page align memory areas

15 years agomacro: make pa_page_align roung up instead of down
Lennart Poettering [Tue, 28 Apr 2009 23:52:28 +0000 (01:52 +0200)]
macro: make pa_page_align roung up instead of down

15 years agomacro: add new macro pa_align_ptr()
Lennart Poettering [Tue, 28 Apr 2009 23:52:11 +0000 (01:52 +0200)]
macro: add new macro pa_align_ptr()

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