Lennart Poettering [Thu, 28 May 2009 00:50:11 +0000 (02:50 +0200)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Thu, 28 May 2009 00:47:36 +0000 (02:47 +0200)]
modules: introduce PA_MODULE_DEPRECATED() macro for marking modules deprecated
Lennart Poettering [Thu, 28 May 2009 00:39:22 +0000 (02:39 +0200)]
modules: add {sink|source|card}_properties argument to all modules
Lennart Poettering [Wed, 27 May 2009 21:57:50 +0000 (23:57 +0200)]
Merge commit 'flameeyes/master'
Lennart Poettering [Wed, 27 May 2009 21:30:29 +0000 (23:30 +0200)]
null: introduce sink_properties= argument
Lennart Poettering [Wed, 27 May 2009 21:18:55 +0000 (23:18 +0200)]
simple: set ADJUST_LATENCY by default
Lennart Poettering [Wed, 27 May 2009 21:18:17 +0000 (23:18 +0200)]
modargs: introduce pa_modargs_get_proplist()
Lennart Poettering [Tue, 26 May 2009 20:31:05 +0000 (22:31 +0200)]
libpulse: introduce PA_CHECK_VERSION macro
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
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
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.
Lennart Poettering [Mon, 25 May 2009 21:56:38 +0000 (23:56 +0200)]
core-util: introduce pa_disable_sigpipe()
Lennart Poettering [Mon, 25 May 2009 21:56:38 +0000 (23:56 +0200)]
cli: allow easy repeating of commands with '/'
Lennart Poettering [Mon, 25 May 2009 21:55:44 +0000 (23:55 +0200)]
volume: implement pa_cvolume_{scale|max|avg}_mask()
Lennart Poettering [Mon, 25 May 2009 21:54:08 +0000 (23:54 +0200)]
map-file: add missing channel map/cvolume position functions
Lennart Poettering [Mon, 25 May 2009 21:52:31 +0000 (23:52 +0200)]
proplist: add two new generic properties, media.copyright and media.software
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
Lennart Poettering [Mon, 25 May 2009 21:50:18 +0000 (23:50 +0200)]
sample: introduce pa_proplist_setp()
Lennart Poettering [Mon, 25 May 2009 21:49:47 +0000 (23:49 +0200)]
sample: introduce pa_sample_format_is_{le,be,ne,re}()
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
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
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
Lennart Poettering [Thu, 21 May 2009 23:31:26 +0000 (01:31 +0200)]
tests: show dB in volume-ui.py
Lennart Poettering [Thu, 21 May 2009 23:30:54 +0000 (01:30 +0200)]
volume: change pa_volume_t mapping to cubic
Lennart Poettering [Tue, 19 May 2009 16:18:36 +0000 (18:18 +0200)]
upnp: s/url/URL/ in GetAll() D-Bus call
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.
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.
Diego Elio 'Flameeyes' Pettenò [Fri, 15 May 2009 21:42:29 +0000 (23:42 +0200)]
Add missing include directory path for OSS modules.
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.
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.
Lennart Poettering [Fri, 15 May 2009 16:38:55 +0000 (18:38 +0200)]
upnp: update to newest spec
Lennart Poettering [Thu, 14 May 2009 17:51:05 +0000 (19:51 +0200)]
shm: rework alignment when punching memory
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
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
Lennart Poettering [Wed, 13 May 2009 23:43:12 +0000 (01:43 +0200)]
upnp: implement item-count/container-count properties
Lennart Poettering [Wed, 13 May 2009 23:25:07 +0000 (01:25 +0200)]
alsa: be a bit more verbose when a hwparam call fails
Lennart Poettering [Wed, 13 May 2009 23:24:26 +0000 (01:24 +0200)]
database: port restore modules to new database API
Lennart Poettering [Wed, 13 May 2009 23:23:12 +0000 (01:23 +0200)]
macro: include string.h because we need it for memset
Lennart Poettering [Wed, 13 May 2009 23:22:49 +0000 (01:22 +0200)]
database: add tdb backend
Lennart Poettering [Wed, 13 May 2009 23:22:36 +0000 (01:22 +0200)]
database: add gdbm backend
Lennart Poettering [Wed, 13 May 2009 23:21:56 +0000 (01:21 +0200)]
database: add abstracted database API
Lennart Poettering [Wed, 13 May 2009 13:20:45 +0000 (15:20 +0200)]
volume: introduce pa_cvolume_{get|set}_position()
Lennart Poettering [Tue, 12 May 2009 23:00:39 +0000 (01:00 +0200)]
core: automatically add icons for headsets/headphones/speakers for devices
Lennart Poettering [Tue, 12 May 2009 20:55:50 +0000 (22:55 +0200)]
alsa: include mixer name in sink/source properties
Lennart Poettering [Tue, 12 May 2009 15:08:34 +0000 (17:08 +0200)]
http: fix segfault on connection termination
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.
Marc-André Lureau [Mon, 11 May 2009 22:48:05 +0000 (01:48 +0300)]
suspend-on-idle: add per-device timeout property
Lennart Poettering [Mon, 11 May 2009 19:18:32 +0000 (21:18 +0200)]
git: activate default commit hook
Lennart Poettering [Mon, 11 May 2009 18:01:05 +0000 (20:01 +0200)]
upnp: rework property handling
Lennart Poettering [Mon, 11 May 2009 18:00:43 +0000 (20:00 +0200)]
upnp: use new rygel @HOSTNAME@ wildcard for server name
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
Lennart Poettering [Mon, 11 May 2009 17:59:14 +0000 (19:59 +0200)]
upnp: update to newest spec, generate 'Updated' signal
Lennart Poettering [Mon, 11 May 2009 17:57:00 +0000 (19:57 +0200)]
upnp: fix URL of MediaServer spec
Lennart Poettering [Mon, 11 May 2009 17:56:13 +0000 (19:56 +0200)]
mime: drop additional whitespace from mime types
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.
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.
Lennart Poettering [Fri, 8 May 2009 20:45:24 +0000 (22:45 +0200)]
channelmap: add pa_channel_map_has_position()
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.
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().
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
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()
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().
Lennart Poettering [Thu, 7 May 2009 20:03:04 +0000 (22:03 +0200)]
macro: add macros for initializing memory
Lennart Poettering [Fri, 1 May 2009 02:22:08 +0000 (04:22 +0200)]
sconv: fix a few minor conversion issues
Lennart Poettering [Fri, 1 May 2009 02:18:21 +0000 (04:18 +0200)]
resampler-test: add tests for 24bit sample formats
Lennart Poettering [Fri, 1 May 2009 02:17:34 +0000 (04:17 +0200)]
resampler-test: use global PA_FLOAT32_SWAP implementation
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
Lennart Poettering [Fri, 1 May 2009 02:14:40 +0000 (04:14 +0200)]
sample-util: fix iteration loop when adjusting volume of s24 samples
Lennart Poettering [Fri, 1 May 2009 02:14:02 +0000 (04:14 +0200)]
sample-util: properly allocate silence block for s24-32 formats
Lennart Poettering [Fri, 1 May 2009 02:13:15 +0000 (04:13 +0200)]
endian: fix LE/BE order for 24 bit accessor functions
Lennart Poettering [Fri, 1 May 2009 02:12:45 +0000 (04:12 +0200)]
zeroconf: properly unref native protocol object
Lennart Poettering [Fri, 1 May 2009 02:12:24 +0000 (04:12 +0200)]
sample: correctly pass s24-32 formats
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
Lennart Poettering [Thu, 30 Apr 2009 00:37:05 +0000 (02:37 +0200)]
zeroconf: use pa_get_{user|host}_name_malloc() where applicable
Lennart Poettering [Thu, 30 Apr 2009 00:36:40 +0000 (02:36 +0200)]
zeroconf: copy more sink/source properties into DNS-SD TXT data
Lennart Poettering [Thu, 30 Apr 2009 00:36:02 +0000 (02:36 +0200)]
zeroconf: computer native protocol port automatically
Lennart Poettering [Thu, 30 Apr 2009 00:33:49 +0000 (02:33 +0200)]
headers: minor cleanups
Lennart Poettering [Wed, 29 Apr 2009 23:39:02 +0000 (01:39 +0200)]
rygel: get rid of forgotten debug trap
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
Lennart Poettering [Wed, 29 Apr 2009 23:35:18 +0000 (01:35 +0200)]
http: export information about currently active server strings
Lennart Poettering [Wed, 29 Apr 2009 23:33:56 +0000 (01:33 +0200)]
strlist: add new calls pa_strlist_{next|data}()
Lennart Poettering [Wed, 29 Apr 2009 23:33:21 +0000 (01:33 +0200)]
parseaddr: add new call pa_is_ip_address()
Lennart Poettering [Wed, 29 Apr 2009 21:48:40 +0000 (23:48 +0200)]
rygel: make server name configurable
Lennart Poettering [Wed, 29 Apr 2009 21:23:25 +0000 (23:23 +0200)]
rygel: add module that interfaces with Rygel UPnP
Lennart Poettering [Wed, 29 Apr 2009 21:22:08 +0000 (23:22 +0200)]
http: split out mime type handling calls
Lennart Poettering [Wed, 29 Apr 2009 02:15:24 +0000 (04:15 +0200)]
protocol-http: allow listening into sinks/sources via HTTP
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()
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
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
Lennart Poettering [Wed, 29 Apr 2009 00:00:19 +0000 (02:00 +0200)]
protocol-http: substantial modernizations
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.
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()
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()
Lennart Poettering [Tue, 28 Apr 2009 23:53:28 +0000 (01:53 +0200)]
memtrap: implicitly page align memory areas
Lennart Poettering [Tue, 28 Apr 2009 23:52:28 +0000 (01:52 +0200)]
macro: make pa_page_align roung up instead of down
Lennart Poettering [Tue, 28 Apr 2009 23:52:11 +0000 (01:52 +0200)]
macro: add new macro pa_align_ptr()
Lennart Poettering [Tue, 28 Apr 2009 23:49:22 +0000 (01:49 +0200)]
shm: minor modernizations
Lennart Poettering [Tue, 28 Apr 2009 23:49:02 +0000 (01:49 +0200)]
shm: page align shm size when mmap()ing it
Lennart Poettering [Tue, 28 Apr 2009 23:46:51 +0000 (01:46 +0200)]
strbuf: add new call pa_strbuf_putc()
Lennart Poettering [Tue, 28 Apr 2009 23:46:12 +0000 (01:46 +0200)]
idxset: add enumeration macro PA_IDXSET_FOREACH