profile/ivi/pulseaudio-panda.git
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()

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