profile/ivi/pulseaudio.git
15 years agoconf: remove obsolete module-idle-time directive from default config file/man page
Lennart Poettering [Sat, 6 Jun 2009 22:44:16 +0000 (00:44 +0200)]
conf: remove obsolete module-idle-time directive from default config file/man page

15 years agodaemon: optionally call mlockall() on startup
Lennart Poettering [Sat, 6 Jun 2009 22:43:03 +0000 (00:43 +0200)]
daemon: optionally call mlockall() on startup

15 years agoudev: properly initialize userdata to 0
Lennart Poettering [Sat, 6 Jun 2009 22:40:48 +0000 (00:40 +0200)]
udev: properly initialize userdata to 0

15 years agobuild-sys: bump libsndfile dependency
Lennart Poettering [Sat, 6 Jun 2009 15:02:57 +0000 (17:02 +0200)]
build-sys: bump libsndfile dependency

15 years agoudev: try to unsuspend devices whenever they are closed by other processes
Lennart Poettering [Sat, 6 Jun 2009 13:33:54 +0000 (15:33 +0200)]
udev: try to unsuspend devices whenever they are closed by other processes

15 years agocore: monitor sources need to inherit the suspend cause from their sinks
Lennart Poettering [Sat, 6 Jun 2009 13:32:45 +0000 (15:32 +0200)]
core: monitor sources need to inherit the suspend cause from their sinks

15 years agocore: suppress suspending/resume when we are already in the right state
Lennart Poettering [Sat, 6 Jun 2009 13:31:46 +0000 (15:31 +0200)]
core: suppress suspending/resume when we are already in the right state

15 years agohashmap: introduce PA_HASHMAP_FOREACH macro
Lennart Poettering [Sat, 6 Jun 2009 13:30:24 +0000 (15:30 +0200)]
hashmap: introduce PA_HASHMAP_FOREACH macro

15 years agohal,udev: deprecate HAL support in favour of udev
Lennart Poettering [Sat, 6 Jun 2009 01:26:55 +0000 (03:26 +0200)]
hal,udev: deprecate HAL support in favour of udev

15 years agoudev: add module-udev-detect for discovering and configuring devices
Lennart Poettering [Sat, 6 Jun 2009 01:26:07 +0000 (03:26 +0200)]
udev: add module-udev-detect for discovering and configuring devices

15 years agortp: remove gcc warning
Lennart Poettering [Fri, 5 Jun 2009 17:25:15 +0000 (19:25 +0200)]
rtp: remove gcc warning

15 years agoaugment: try to deduce the media role from the menu category
Lennart Poettering [Fri, 5 Jun 2009 17:24:40 +0000 (19:24 +0200)]
augment: try to deduce the media role from the menu category

15 years agoalsa: monitor device reservation status and resume automatically when device becomes...
Lennart Poettering [Fri, 5 Jun 2009 17:05:42 +0000 (19:05 +0200)]
alsa: monitor device reservation status and resume automatically when device becomes unused

15 years agocore: add a suspend cause flags field
Lennart Poettering [Fri, 5 Jun 2009 17:05:07 +0000 (19:05 +0200)]
core: add a suspend cause flags field

15 years agoreserve: wrap device reservation monitor reference implementation
Lennart Poettering [Fri, 5 Jun 2009 17:03:16 +0000 (19:03 +0200)]
reserve: wrap device reservation monitor reference implementation

15 years agoreserve: update reserve.[ch] from upstream git
Lennart Poettering [Fri, 5 Jun 2009 17:00:12 +0000 (19:00 +0200)]
reserve: update reserve.[ch] from upstream git

15 years agotdb: include signal.h before tdb.h for compat reasons
Lennart Poettering [Thu, 4 Jun 2009 21:50:43 +0000 (23:50 +0200)]
tdb: include signal.h before tdb.h for compat reasons

15 years agoutils: use pa_path_get_filename() where applicable
Lennart Poettering [Thu, 4 Jun 2009 21:19:48 +0000 (23:19 +0200)]
utils: use pa_path_get_filename() where applicable

15 years agoMerge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Thu, 28 May 2009 00:50:11 +0000 (02:50 +0200)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio

15 years agomodules: introduce PA_MODULE_DEPRECATED() macro for marking modules deprecated
Lennart Poettering [Thu, 28 May 2009 00:47:36 +0000 (02:47 +0200)]
modules: introduce PA_MODULE_DEPRECATED() macro for marking modules deprecated

15 years agomodules: add {sink|source|card}_properties argument to all modules
Lennart Poettering [Thu, 28 May 2009 00:39:22 +0000 (02:39 +0200)]
modules: add {sink|source|card}_properties argument to all modules

15 years agoMerge commit 'flameeyes/master'
Lennart Poettering [Wed, 27 May 2009 21:57:50 +0000 (23:57 +0200)]
Merge commit 'flameeyes/master'

15 years agonull: introduce sink_properties= argument
Lennart Poettering [Wed, 27 May 2009 21:30:29 +0000 (23:30 +0200)]
null: introduce sink_properties= argument

15 years agosimple: set ADJUST_LATENCY by default
Lennart Poettering [Wed, 27 May 2009 21:18:55 +0000 (23:18 +0200)]
simple: set ADJUST_LATENCY by default

15 years agomodargs: introduce pa_modargs_get_proplist()
Lennart Poettering [Wed, 27 May 2009 21:18:17 +0000 (23:18 +0200)]
modargs: introduce pa_modargs_get_proplist()

15 years agolibpulse: introduce PA_CHECK_VERSION macro
Lennart Poettering [Tue, 26 May 2009 20:31:05 +0000 (22:31 +0200)]
libpulse: introduce PA_CHECK_VERSION macro

15 years agooss: don't deadlock when we try to resume an OSS device that lacks a mixer
Lennart Poettering [Tue, 26 May 2009 20:30:36 +0000 (22:30 +0200)]
oss: don't deadlock when we try to resume an OSS device that lacks a mixer

15 years agoalsa: fix wording, we are speaking of card profiles, not output profiles
Lennart Poettering [Tue, 26 May 2009 20:29:33 +0000 (22:29 +0200)]
alsa: fix wording, we are speaking of card profiles, not output profiles

15 years agosndfile: big rework of libsndfile interfacing code
Lennart Poettering [Mon, 25 May 2009 22:05:28 +0000 (00:05 +0200)]
sndfile: big rework of libsndfile interfacing code

This adds proper channel map handling when reading/writing audio files.
This allows surround .WAV files to be played with the right channel
setup automatically.

This also merges paplay into pacat and adds recording into formatted
files to pacat.

15 years agocore-util: introduce pa_disable_sigpipe()
Lennart Poettering [Mon, 25 May 2009 21:56:38 +0000 (23:56 +0200)]
core-util: introduce pa_disable_sigpipe()

15 years agocli: allow easy repeating of commands with '/'
Lennart Poettering [Mon, 25 May 2009 21:56:38 +0000 (23:56 +0200)]
cli: allow easy repeating of commands with '/'

15 years agovolume: implement pa_cvolume_{scale|max|avg}_mask()
Lennart Poettering [Mon, 25 May 2009 21:55:44 +0000 (23:55 +0200)]
volume: implement pa_cvolume_{scale|max|avg}_mask()

15 years agomap-file: add missing channel map/cvolume position functions
Lennart Poettering [Mon, 25 May 2009 21:54:08 +0000 (23:54 +0200)]
map-file: add missing channel map/cvolume position functions

15 years agoproplist: add two new generic properties, media.copyright and media.software
Lennart Poettering [Mon, 25 May 2009 21:52:31 +0000 (23:52 +0200)]
proplist: add two new generic properties, media.copyright and media.software

15 years agochannelmap: introduce pa_channel_map_mask() and pa_channel_position_mask_t
Lennart Poettering [Mon, 25 May 2009 21:51:34 +0000 (23:51 +0200)]
channelmap: introduce pa_channel_map_mask() and pa_channel_position_mask_t

15 years agosample: introduce pa_proplist_setp()
Lennart Poettering [Mon, 25 May 2009 21:50:18 +0000 (23:50 +0200)]
sample: introduce pa_proplist_setp()

15 years agosample: introduce pa_sample_format_is_{le,be,ne,re}()
Lennart Poettering [Mon, 25 May 2009 21:49:47 +0000 (23:49 +0200)]
sample: introduce pa_sample_format_is_{le,be,ne,re}()

15 years agoupnp: s/org.Rygel./org.gnome.UPnP/ following the newest version of the spec
Lennart Poettering [Mon, 25 May 2009 21:47:09 +0000 (23:47 +0200)]
upnp: s/org.Rygel./org.gnome.UPnP/ following the newest version of the spec

15 years agochannelmap: document how apple's/microsoft's channel names map to ours
Lennart Poettering [Sat, 23 May 2009 23:03:34 +0000 (01:03 +0200)]
channelmap: document how apple's/microsoft's channel names map to ours

15 years agocore-util: fall back to sysconf(_SC_OPEN_MAX) to find maximum file descriptor
Lennart Poettering [Thu, 21 May 2009 23:31:56 +0000 (01:31 +0200)]
core-util: fall back to sysconf(_SC_OPEN_MAX) to find maximum file descriptor

15 years agotests: show dB in volume-ui.py
Lennart Poettering [Thu, 21 May 2009 23:31:26 +0000 (01:31 +0200)]
tests: show dB in volume-ui.py

15 years agovolume: change pa_volume_t mapping to cubic
Lennart Poettering [Thu, 21 May 2009 23:30:54 +0000 (01:30 +0200)]
volume: change pa_volume_t mapping to cubic

15 years agoupnp: s/url/URL/ in GetAll() D-Bus call
Lennart Poettering [Tue, 19 May 2009 16:18:36 +0000 (18:18 +0200)]
upnp: s/url/URL/ in GetAll() D-Bus call

15 years agoUse the _ONCE variation of AC_CHECKs where applicable.
Diego Elio 'Flameeyes' Pettenò [Sun, 17 May 2009 21:25:23 +0000 (23:25 +0200)]
Use the _ONCE variation of AC_CHECKs where applicable.

When we're unconditionally looking for a function, or an header file,
without particular libraries set, or with found/not-found conditional code,
we can save ~1K lines in the final configure script by using the _ONCE
variant.

This makes sure that for each header of function, the check is done exactly
once and never more, reducing the amount of code that has to be generated
and executed.

15 years agoAdd missing headers' include to build on FreeBSD 7.1.
Diego Elio 'Flameeyes' Pettenò [Fri, 15 May 2009 21:42:43 +0000 (23:42 +0200)]
Add missing headers' include to build on FreeBSD 7.1.

15 years agoAdd missing include directory path for OSS modules.
Diego Elio 'Flameeyes' Pettenò [Fri, 15 May 2009 21:42:29 +0000 (23:42 +0200)]
Add missing include directory path for OSS modules.

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()