platform/upstream/pulseaudio.git
14 years agolibpulse: implement client side for sink/source port selection commands
Lennart Poettering [Wed, 17 Jun 2009 02:54:11 +0000 (04:54 +0200)]
libpulse: implement client side for sink/source port selection commands

14 years agonative: implement command to change sink/source port
Lennart Poettering [Wed, 17 Jun 2009 02:52:41 +0000 (04:52 +0200)]
native: implement command to change sink/source port

14 years agobluetooth: return sensible error code in set_profile()
Lennart Poettering [Wed, 17 Jun 2009 02:51:57 +0000 (04:51 +0200)]
bluetooth: return sensible error code in set_profile()

14 years agoalsa: allow placing device id in alsa device strings at arbitrary positions
Lennart Poettering [Wed, 17 Jun 2009 02:17:25 +0000 (04:17 +0200)]
alsa: allow placing device id in alsa device strings at arbitrary positions

14 years agoalsa: rework mixer logic
Lennart Poettering [Wed, 17 Jun 2009 01:45:14 +0000 (03:45 +0200)]
alsa: rework mixer logic

Completely rework mixer logic. This now allows controlling a full set of
elements from a single sink's volume slider/mute button.

This also introduces sink and source "ports" that can be used to choose
different input or output ports with the UI. (i.e. "mic"/"line-in" or
"speaker"/"headphones".

The mixer paths and device maps are now configered in external
configuration files and can be tweaked as necessary.

14 years agopdispatch: fix s/recieve/receive/ typos
Lennart Poettering [Wed, 17 Jun 2009 01:18:14 +0000 (03:18 +0200)]
pdispatch: fix s/recieve/receive/ typos

14 years agopstream: fix s/recieve/receive/ typos
Lennart Poettering [Wed, 17 Jun 2009 01:17:23 +0000 (03:17 +0200)]
pstream: fix s/recieve/receive/ typos

14 years agogdbm: set default block size to 1K
Lennart Poettering [Wed, 17 Jun 2009 01:16:48 +0000 (03:16 +0200)]
gdbm: set default block size to 1K

14 years agocard: get rid of description field which is unused
Lennart Poettering [Wed, 17 Jun 2009 01:16:13 +0000 (03:16 +0200)]
card: get rid of description field which is unused

14 years agocard: make sure to always hand failure code back in some calls
Lennart Poettering [Wed, 17 Jun 2009 01:15:56 +0000 (03:15 +0200)]
card: make sure to always hand failure code back in some calls

14 years agocard: some modernizations
Lennart Poettering [Wed, 17 Jun 2009 01:15:36 +0000 (03:15 +0200)]
card: some modernizations

14 years agortp: fix s/recieve/receive/ typo
Lennart Poettering [Wed, 17 Jun 2009 01:14:26 +0000 (03:14 +0200)]
rtp: fix s/recieve/receive/ typo

14 years agocore-util: implement pa_maybe_prefix_path()
Lennart Poettering [Wed, 17 Jun 2009 01:13:59 +0000 (03:13 +0200)]
core-util: implement pa_maybe_prefix_path()

14 years agocore-util: implement pa_split_spaces_strv()
Lennart Poettering [Wed, 17 Jun 2009 01:13:32 +0000 (03:13 +0200)]
core-util: implement pa_split_spaces_strv()

14 years agocore-util: implement pa_xstrfreev()
Lennart Poettering [Wed, 17 Jun 2009 01:13:01 +0000 (03:13 +0200)]
core-util: implement pa_xstrfreev()

14 years agoconf-parse: implement .include directive
Lennart Poettering [Wed, 17 Jun 2009 01:11:47 +0000 (03:11 +0200)]
conf-parse: implement .include directive

14 years agovolume,channelmap: reimplement a couple of calls based on channel masks
Lennart Poettering [Wed, 17 Jun 2009 01:09:28 +0000 (03:09 +0200)]
volume,channelmap: reimplement a couple of calls based on channel masks

14 years agochannelmap: define a couple of standard channel masks
Lennart Poettering [Wed, 17 Jun 2009 01:08:34 +0000 (03:08 +0200)]
channelmap: define a couple of standard channel masks

14 years agomalloc: implement pa_xrenew()
Lennart Poettering [Wed, 17 Jun 2009 01:07:42 +0000 (03:07 +0200)]
malloc: implement pa_xrenew()

14 years agochannelmap: make sure a mask is generated is 64 bit int
Lennart Poettering [Wed, 17 Jun 2009 01:06:54 +0000 (03:06 +0200)]
channelmap: make sure a mask is generated is 64 bit int

14 years agoversion: fix prefix in PA_CHECK_VERSION macro
Lennart Poettering [Wed, 17 Jun 2009 01:06:13 +0000 (03:06 +0200)]
version: fix prefix in PA_CHECK_VERSION macro

14 years agochannelmap: implement pa_channel_position_from_string()
Lennart Poettering [Wed, 17 Jun 2009 01:05:30 +0000 (03:05 +0200)]
channelmap: implement pa_channel_position_from_string()

14 years agovolume: implement functions for multiplicating a cvolume with a scalar
Lennart Poettering [Wed, 17 Jun 2009 01:04:21 +0000 (03:04 +0200)]
volume: implement functions for multiplicating a cvolume with a scalar

14 years agohashmap: implement pa_hashmap_last()
Lennart Poettering [Wed, 17 Jun 2009 01:02:34 +0000 (03:02 +0200)]
hashmap: implement pa_hashmap_last()

14 years agohashmap: implement api to iterate a hashmap backwards
Lennart Poettering [Wed, 17 Jun 2009 01:02:19 +0000 (03:02 +0200)]
hashmap: implement api to iterate a hashmap backwards

14 years agoidxset: implement pa_idxset_copy()
Lennart Poettering [Wed, 17 Jun 2009 01:01:40 +0000 (03:01 +0200)]
idxset: implement pa_idxset_copy()

14 years agodaemon: write a warning blurb to syslog when folks use --system mode
Lennart Poettering [Wed, 17 Jun 2009 01:00:51 +0000 (03:00 +0200)]
daemon: write a warning blurb to syslog when folks use --system mode

14 years agoalsa: fix bad memory access for devices that lack a mixer
Lennart Poettering [Wed, 10 Jun 2009 21:22:12 +0000 (23:22 +0200)]
alsa: fix bad memory access for devices that lack a mixer

14 years agosample: fix build on BE archs
Lennart Poettering [Mon, 8 Jun 2009 16:22:19 +0000 (18:22 +0200)]
sample: fix build on BE archs

14 years agoudev: reshuffle the properties we read from udev a bit
Lennart Poettering [Mon, 8 Jun 2009 14:59:47 +0000 (16:59 +0200)]
udev: reshuffle the properties we read from udev a bit

14 years agoprop: introduce new PA_PROP_DEVICE_INTENDED_ROLES property
Lennart Poettering [Mon, 8 Jun 2009 14:58:45 +0000 (16:58 +0200)]
prop: introduce new PA_PROP_DEVICE_INTENDED_ROLES property

14 years agoi18n: update po data
Lennart Poettering [Sun, 7 Jun 2009 22:34:52 +0000 (00:34 +0200)]
i18n: update po data

14 years agoMerge commit 'origin/master-tx'
Lennart Poettering [Sun, 7 Jun 2009 22:27:52 +0000 (00:27 +0200)]
Merge commit 'origin/master-tx'

14 years agocore: replace tabs by spaces
Lennart Poettering [Sun, 7 Jun 2009 22:12:20 +0000 (00:12 +0200)]
core: replace tabs by spaces

14 years agocore: make sure soft mute status stays in sync with hw mute status
Lennart Poettering [Sun, 7 Jun 2009 22:02:15 +0000 (00:02 +0200)]
core: make sure soft mute status stays in sync with hw mute status

This should close rhbz #494851, mandriva bz #51234.

Probably the same as our own #572, launchpad #352732.

14 years agortstutter: increase log level by default
Lennart Poettering [Sun, 7 Jun 2009 21:24:02 +0000 (23:24 +0200)]
rtstutter: increase log level by default

14 years agoSending translation for Portuguese
ruigo [Sun, 7 Jun 2009 18:34:30 +0000 (18:34 +0000)]
Sending translation for Portuguese

14 years agooptimization: Optimized pa_sink_render_full.
Jyri Sarha [Thu, 14 May 2009 06:42:52 +0000 (09:42 +0300)]
optimization: Optimized pa_sink_render_full.

This is finally the latest version of the patch.

14 years agoman: document that tsched doesn't use fragment settings
Lennart Poettering [Sat, 6 Jun 2009 22:45:21 +0000 (00:45 +0200)]
man: document that tsched doesn't use fragment settings

14 years agoman: document 24bit sample types in man page
Lennart Poettering [Sat, 6 Jun 2009 22:45:05 +0000 (00:45 +0200)]
man: document 24bit sample types in man page

14 years agoman: document log related daemon.conf options
Lennart Poettering [Sat, 6 Jun 2009 22:44:49 +0000 (00:44 +0200)]
man: document log related daemon.conf options

14 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

14 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

14 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

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

14 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

14 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

14 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

14 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

14 years agoSending translation for Punjabi
aalam [Sat, 6 Jun 2009 02:10:28 +0000 (02:10 +0000)]
Sending translation for Punjabi

14 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

14 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

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

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

14 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

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

14 years agoSending translation for Punjabi
jassy [Wed, 27 May 2009 10:38:10 +0000 (10:38 +0000)]
Sending translation for Punjabi

14 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

14 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

14 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

14 years agoSending translation for Punjabi
jassy [Tue, 26 May 2009 10:55:32 +0000 (10:55 +0000)]
Sending translation for Punjabi

14 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.

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

14 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 '/'

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

14 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

14 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

14 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

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

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

14 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

14 years agoSending translation for Portuguese
ruigo [Sun, 24 May 2009 23:07:51 +0000 (23:07 +0000)]
Sending translation for Portuguese

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 agoSending translation for Portuguese
ruigo [Thu, 21 May 2009 20:05:56 +0000 (20:05 +0000)]
Sending translation for Portuguese

15 years agoSending translation for po/LINGUAS
ruigo [Wed, 20 May 2009 22:48:55 +0000 (22:48 +0000)]
Sending translation for po/LINGUAS

15 years agoSending translation for po/pt.po
ruigo [Wed, 20 May 2009 22:46:13 +0000 (22:46 +0000)]
Sending translation for po/pt.po

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