profile/ivi/pulseaudio-panda.git
15 years agoratelimit: allow non-static ratelimit structs
Lennart Poettering [Wed, 9 Sep 2009 00:41:34 +0000 (02:41 +0200)]
ratelimit: allow non-static ratelimit structs

15 years agopadsp: properly return return values (llvm-clang-analyzer)
Lennart Poettering [Tue, 8 Sep 2009 21:54:53 +0000 (23:54 +0200)]
padsp: properly return return values (llvm-clang-analyzer)

15 years agopacat: don't convert stream name twice (llvm-clang-analyzer)
Lennart Poettering [Tue, 8 Sep 2009 21:54:31 +0000 (23:54 +0200)]
pacat: don't convert stream name twice (llvm-clang-analyzer)

15 years agostripnul: initialize 'found' bool properly (llvm-clang-analyzer)
Lennart Poettering [Tue, 8 Sep 2009 21:53:56 +0000 (23:53 +0200)]
stripnul: initialize 'found' bool properly (llvm-clang-analyzer)

15 years agoprotocol-native: log explicitly when someone asks us to quit
Lennart Poettering [Tue, 8 Sep 2009 21:53:28 +0000 (23:53 +0200)]
protocol-native: log explicitly when someone asks us to quit

15 years agocore-util: properly fill in exception array for pa_reset_sigs() (llvm-clang-analyzer)
Lennart Poettering [Tue, 8 Sep 2009 21:52:58 +0000 (23:52 +0200)]
core-util: properly fill in exception array for pa_reset_sigs() (llvm-clang-analyzer)

15 years agoconf-parser: properly initialize variable we free() later (llvm-clang-analyzer)
Lennart Poettering [Tue, 8 Sep 2009 21:51:39 +0000 (23:51 +0200)]
conf-parser: properly initialize variable we free() later (llvm-clang-analyzer)

15 years agocli-command: don't necessarily ovveride failure code of files (llvm-clang-analyzer)
Lennart Poettering [Tue, 8 Sep 2009 21:51:00 +0000 (23:51 +0200)]
cli-command: don't necessarily ovveride failure code of files (llvm-clang-analyzer)

15 years agocli-command: modernizations
Lennart Poettering [Tue, 8 Sep 2009 21:50:14 +0000 (23:50 +0200)]
cli-command: modernizations

15 years agoutf8: minor simplification
Lennart Poettering [Tue, 8 Sep 2009 21:49:42 +0000 (23:49 +0200)]
utf8: minor simplification

15 years agortsp: document that rtsp_exec() needs fixing (llvm-clang-analyzer)
Lennart Poettering [Tue, 8 Sep 2009 21:49:10 +0000 (23:49 +0200)]
rtsp: document that rtsp_exec() needs fixing (llvm-clang-analyzer)

15 years agohal: check properly for failure of libhal_find_device_by_capability() (llvm-clang...
Lennart Poettering [Tue, 8 Sep 2009 21:48:47 +0000 (23:48 +0200)]
hal: check properly for failure of libhal_find_device_by_capability() (llvm-clang-analyzer)

15 years agoblueooth: actually honour 'room' variable (llvm-clang-analyzer)
Lennart Poettering [Tue, 8 Sep 2009 21:48:12 +0000 (23:48 +0200)]
blueooth: actually honour 'room' variable (llvm-clang-analyzer)

15 years agoalsa-sink: init after_avail earlier (llvm-clang-analyzer)
Lennart Poettering [Tue, 8 Sep 2009 21:47:23 +0000 (23:47 +0200)]
alsa-sink: init after_avail earlier (llvm-clang-analyzer)

15 years agollvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixes
Lennart Poettering [Tue, 8 Sep 2009 21:46:23 +0000 (23:46 +0200)]
llvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixes

15 years agoi18n: move \r out of translatable string
Lennart Poettering [Mon, 7 Sep 2009 21:34:31 +0000 (23:34 +0200)]
i18n: move \r out of translatable string

https://bugzilla.redhat.com/show_bug.cgi?id=521552

15 years agoMerge remote branch 'wtay/optimize'
Lennart Poettering [Mon, 7 Sep 2009 20:44:16 +0000 (22:44 +0200)]
Merge remote branch 'wtay/optimize'

15 years agolibpulse: allow invocation of pa_context_play_sample_with_proplist() with NULL proplist
Lennart Poettering [Mon, 7 Sep 2009 20:43:35 +0000 (22:43 +0200)]
libpulse: allow invocation of pa_context_play_sample_with_proplist() with NULL proplist

15 years agovala: reindent
Lennart Poettering [Mon, 7 Sep 2009 20:42:47 +0000 (22:42 +0200)]
vala: reindent

15 years agovector: don't try to build vector stuff on altivec
Lennart Poettering [Mon, 7 Sep 2009 20:32:11 +0000 (22:32 +0200)]
vector: don't try to build vector stuff on altivec

15 years agovala: s/PropList/Proplist/g since the C version does not use an underscore there
Lennart Poettering [Mon, 7 Sep 2009 20:31:34 +0000 (22:31 +0200)]
vala: s/PropList/Proplist/g since the C version does not use an underscore there

15 years agovala: add vala .vapi file for the PulseAudio APIs, but don't include them in the...
Lennart Poettering [Mon, 7 Sep 2009 18:24:59 +0000 (20:24 +0200)]
vala: add vala .vapi file for the PulseAudio APIs, but don't include them in the tarball for now

15 years agovolume: if pa_cvolume_set_{balance|fade}() is called with invalid fade/balance value...
Lennart Poettering [Mon, 7 Sep 2009 18:08:07 +0000 (20:08 +0200)]
volume: if pa_cvolume_set_{balance|fade}() is called with invalid fade/balance value log, but don't assert

15 years agovolume: when passing NULL as channel map to pa_cvolume_scale_mask() handle this the...
Lennart Poettering [Mon, 7 Sep 2009 18:00:58 +0000 (20:00 +0200)]
volume: when passing NULL as channel map to pa_cvolume_scale_mask() handle this the same way as pa_cvolume_scale()

15 years agovolume: drop some redundant but expensive validity checks
Lennart Poettering [Mon, 7 Sep 2009 18:00:02 +0000 (20:00 +0200)]
volume: drop some redundant but expensive validity checks

15 years agovolume: add a couple of validity checks for pa_volume_t arguments
Lennart Poettering [Mon, 7 Sep 2009 17:59:18 +0000 (19:59 +0200)]
volume: add a couple of validity checks for pa_volume_t arguments

15 years agovolume: fix definition of PA_VOLUME_MAX and introduce PA_VOLUME_INVALID and use it...
Lennart Poettering [Mon, 7 Sep 2009 17:53:39 +0000 (19:53 +0200)]
volume: fix definition of PA_VOLUME_MAX and introduce PA_VOLUME_INVALID and use it wherever applicable

15 years agox86: also call see init for SSE2
Wim Taymans [Mon, 7 Sep 2009 15:28:19 +0000 (17:28 +0200)]
x86: also call see init for SSE2

15 years agox86: only install some functions when SSE2
Wim Taymans [Mon, 7 Sep 2009 15:21:21 +0000 (17:21 +0200)]
x86: only install some functions when SSE2

Remap and volume functions use SSE2 instructions so only install them when SSE2
is present.

15 years agointrospect: rearrange order of functions a bit
Lennart Poettering [Sun, 6 Sep 2009 21:14:15 +0000 (23:14 +0200)]
introspect: rearrange order of functions a bit

15 years agolibpulse: introduce PA_BYTES_SNPRINT_MAX and make use of it wherever applicable
Lennart Poettering [Sun, 6 Sep 2009 20:33:04 +0000 (22:33 +0200)]
libpulse: introduce PA_BYTES_SNPRINT_MAX and make use of it wherever applicable

15 years agodaemon: disable CPU load limiter by default
Lennart Poettering [Fri, 4 Sep 2009 00:47:48 +0000 (02:47 +0200)]
daemon: disable CPU load limiter by default

RLIMIT_RTTIME and rtki can do this job much better, so let's disable
this by default.

15 years agoalways-sink: rename null sink created to 'dummy sink' and make it translatable
Lennart Poettering [Fri, 4 Sep 2009 00:46:43 +0000 (02:46 +0200)]
always-sink: rename null sink created to 'dummy sink' and make it translatable

15 years agonull: make name of null sink translatable
Lennart Poettering [Fri, 4 Sep 2009 00:44:43 +0000 (02:44 +0200)]
null: make name of null sink translatable

15 years agoalsa: add more input sources to path set
Lennart Poettering [Thu, 3 Sep 2009 02:45:55 +0000 (04:45 +0200)]
alsa: add more input sources to path set

15 years agoi18n: run make update-po
Lennart Poettering [Thu, 3 Sep 2009 01:30:20 +0000 (03:30 +0200)]
i18n: run make update-po

15 years agoi18n: fix LINGUAS
Lennart Poettering [Thu, 3 Sep 2009 01:04:28 +0000 (03:04 +0200)]
i18n: fix LINGUAS

15 years agoMerge commit 'origin/master-tx'
Lennart Poettering [Thu, 3 Sep 2009 01:01:57 +0000 (03:01 +0200)]
Merge commit 'origin/master-tx'

15 years agoremap: build sse code only on x86
Lennart Poettering [Wed, 2 Sep 2009 23:48:30 +0000 (01:48 +0200)]
remap: build sse code only on x86

15 years agocore: drop unnecessary variable initialization
Lennart Poettering [Wed, 2 Sep 2009 22:21:19 +0000 (00:21 +0200)]
core: drop unnecessary variable initialization

15 years agodaemon: make use of SIMD optional via config variable to ease debugging
Lennart Poettering [Wed, 2 Sep 2009 22:19:03 +0000 (00:19 +0200)]
daemon: make use of SIMD optional via config variable to ease debugging

15 years agoremap_sse: fix inner loop increment on SSE
Lennart Poettering [Wed, 2 Sep 2009 22:17:28 +0000 (00:17 +0200)]
remap_sse: fix inner loop increment on SSE

In each iteration we can process 2^4 S16NE samples and 2^5 F32NE
samples, that's twice as much as in MMX, hence correct the increments.

15 years agoremap_sse: reindent macro so that diff to MMX is nicer
Lennart Poettering [Wed, 2 Sep 2009 22:13:21 +0000 (00:13 +0200)]
remap_sse: reindent macro so that diff to MMX is nicer

Completely useless, but diff -u remap_mmx.c remap_sse.c is much nicer
this way.

15 years agosconv_sse: fix leftover counter
Wim Taymans [Wed, 2 Sep 2009 17:42:17 +0000 (19:42 +0200)]
sconv_sse: fix leftover counter

15 years agoMerge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Wed, 2 Sep 2009 02:06:04 +0000 (04:06 +0200)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio

15 years agodaemon: drop polkit code from git repo we weren't using anymore
Lennart Poettering [Wed, 2 Sep 2009 02:05:41 +0000 (04:05 +0200)]
daemon: drop polkit code from git repo we weren't using anymore

15 years agocore-util: don't leak memory in pa_unset_env_recorded()
Lennart Poettering [Wed, 2 Sep 2009 02:05:34 +0000 (04:05 +0200)]
core-util: don't leak memory in pa_unset_env_recorded()

15 years agocore-util: call dbus_connection_set_exit_on_disconnect() on shared busses to make...
Lennart Poettering [Wed, 2 Sep 2009 02:03:18 +0000 (04:03 +0200)]
core-util: call dbus_connection_set_exit_on_disconnect() on shared busses to make sure dbus_shutdown() isn't fatal

15 years agobuild-sys: drop LIBOIL_{FLAGS|LIBS} from Makefile.am since we don't use the library...
Lennart Poettering [Wed, 2 Sep 2009 01:17:34 +0000 (03:17 +0200)]
build-sys: drop LIBOIL_{FLAGS|LIBS} from Makefile.am since we don't use the library anymore

15 years agosink: simplify pa_sink_render_full() by replacing it by a pa_sink_render() plus a...
Lennart Poettering [Tue, 1 Sep 2009 22:54:22 +0000 (00:54 +0200)]
sink: simplify pa_sink_render_full() by replacing it by a pa_sink_render() plus a couple of pa_sink_render_full()

15 years agodaemon: clean up environment when forking off children
Lennart Poettering [Tue, 1 Sep 2009 22:42:54 +0000 (00:42 +0200)]
daemon: clean up environment when forking off children

15 years agocore-util: add api for setting env vars and record them so that we can undo them...
Lennart Poettering [Tue, 1 Sep 2009 22:34:27 +0000 (00:34 +0200)]
core-util: add api for setting env vars and record them so that we can undo them n fork

15 years agocore: fill up memblock with pa_sink_render_into_full() in pa_sink_render_full() inste...
Lennart Poettering [Tue, 1 Sep 2009 20:19:30 +0000 (22:19 +0200)]
core: fill up memblock with pa_sink_render_into_full() in pa_sink_render_full() instead of doing our own loop

15 years agocore: handle suspended state in pa_sink_render_full() similar to the other render...
Lennart Poettering [Tue, 1 Sep 2009 20:18:55 +0000 (22:18 +0200)]
core: handle suspended state in pa_sink_render_full() similar to the other render functions

15 years agocore: add missing sink_unref()
Lennart Poettering [Tue, 1 Sep 2009 20:18:01 +0000 (22:18 +0200)]
core: add missing sink_unref()

15 years agoSending translation for Marathi
sandeeps [Tue, 1 Sep 2009 09:18:27 +0000 (09:18 +0000)]
Sending translation for Marathi

15 years agoladspa,remap: make description of sink follow moves
Lennart Poettering [Tue, 1 Sep 2009 04:06:04 +0000 (06:06 +0200)]
ladspa,remap: make description of sink follow moves

15 years agoSending translation for Tamil
ifelix [Tue, 1 Sep 2009 03:06:14 +0000 (03:06 +0000)]
Sending translation for Tamil

15 years agoalsa: by default increase watermarks only on real underruns, don't try to be smart
Lennart Poettering [Tue, 1 Sep 2009 02:55:05 +0000 (04:55 +0200)]
alsa: by default increase watermarks only on real underruns, don't try to be smart

15 years agoalsa: distuingish real underruns from left_to_play=0
Lennart Poettering [Tue, 1 Sep 2009 02:54:18 +0000 (04:54 +0200)]
alsa: distuingish real underruns from left_to_play=0

15 years agodaemon: don't override path env vars if they are already set
Lennart Poettering [Mon, 31 Aug 2009 22:53:49 +0000 (00:53 +0200)]
daemon: don't override path env vars if they are already set

15 years agoremap: fix counters for mmx and sse remap
Wim Taymans [Sat, 29 Aug 2009 10:22:42 +0000 (12:22 +0200)]
remap: fix counters for mmx and sse remap

Take the size of the sample into account when calculating the amount of samples
we process in parallel.

15 years agopactl: drop unnecessary newlines from pa_log() invocations
Lennart Poettering [Mon, 31 Aug 2009 19:45:19 +0000 (21:45 +0200)]
pactl: drop unnecessary newlines from pa_log() invocations

15 years agopactl: implement pactl commands for changing volumes/mute stati
Lennart Poettering [Mon, 31 Aug 2009 19:42:54 +0000 (21:42 +0200)]
pactl: implement pactl commands for changing volumes/mute stati

15 years agocli: make sure 'dump' uses pa_cvolume_max() to deduce a single-channel volume from...
Lennart Poettering [Mon, 31 Aug 2009 19:42:09 +0000 (21:42 +0200)]
cli: make sure 'dump' uses pa_cvolume_max() to deduce a single-channel volume from a multi-channel volume

15 years agocli: apply single-channel volume changes equally to all channels
Lennart Poettering [Mon, 31 Aug 2009 19:41:36 +0000 (21:41 +0200)]
cli: apply single-channel volume changes equally to all channels

15 years agocore: always allow volume setting with single-channel pa_cvolume
Lennart Poettering [Mon, 31 Aug 2009 19:40:59 +0000 (21:40 +0200)]
core: always allow volume setting with single-channel pa_cvolume

15 years agoSending translation for Italian
perplex [Mon, 31 Aug 2009 08:38:11 +0000 (08:38 +0000)]
Sending translation for Italian

15 years agoSending translation for Finnish
vpv [Sun, 30 Aug 2009 19:38:10 +0000 (19:38 +0000)]
Sending translation for Finnish

15 years agoSending translation for Finnish
vpv [Sun, 30 Aug 2009 17:32:24 +0000 (17:32 +0000)]
Sending translation for Finnish

15 years agoSending translation for po/LINGUAS
raven [Sat, 29 Aug 2009 22:36:37 +0000 (22:36 +0000)]
Sending translation for po/LINGUAS

15 years agonative: make sure clients cannot trigger an assert by sending us invalid volume info
Lennart Poettering [Sat, 29 Aug 2009 04:11:02 +0000 (06:11 +0200)]
native: make sure clients cannot trigger an assert by sending us invalid volume info

15 years agocore: initialize sink/source priorities automatically based on their proplists
Lennart Poettering [Sat, 29 Aug 2009 02:31:33 +0000 (04:31 +0200)]
core: initialize sink/source priorities automatically based on their proplists

15 years agonamereg: select default sink by priority
Lennart Poettering [Sat, 29 Aug 2009 01:58:57 +0000 (03:58 +0200)]
namereg: select default sink by priority

15 years agoprotocol-native: replace use of pa_namereg_is_valid_name() by pa_namereg_is_valid_nam...
Lennart Poettering [Sat, 29 Aug 2009 01:57:53 +0000 (03:57 +0200)]
protocol-native: replace use of pa_namereg_is_valid_name() by pa_namereg_is_valid_name_or_wildcard() where applicable to allow use of @@ wildcards

15 years agonamereg: add new pa_namereg_is_valid_name_or_wildcard() call
Lennart Poettering [Sat, 29 Aug 2009 01:56:03 +0000 (03:56 +0200)]
namereg: add new pa_namereg_is_valid_name_or_wildcard() call

15 years agoSending translation for Czech
pmkovar [Fri, 28 Aug 2009 23:12:34 +0000 (23:12 +0000)]
Sending translation for Czech

15 years agocore: add priority field to pa_sink/pa_source
Lennart Poettering [Fri, 28 Aug 2009 21:30:41 +0000 (23:30 +0200)]
core: add priority field to pa_sink/pa_source

15 years agosconv: quieten gcc a bit
Lennart Poettering [Fri, 28 Aug 2009 21:30:15 +0000 (23:30 +0200)]
sconv: quieten gcc a bit

15 years agosuspend-on-idle: don't resume devices for corked streams
Lennart Poettering [Fri, 28 Aug 2009 21:24:37 +0000 (23:24 +0200)]
suspend-on-idle: don't resume devices for corked streams

15 years agocore: move 'flags' field into 'pa_sink_input_new_data' structure so that hooks can...
Lennart Poettering [Fri, 28 Aug 2009 21:24:09 +0000 (23:24 +0200)]
core: move 'flags' field into 'pa_sink_input_new_data' structure so that hooks can access it

15 years agoFix checking for NULL after usage
Andy Shevchenko [Fri, 28 Aug 2009 12:16:54 +0000 (15:16 +0300)]
Fix checking for NULL after usage

The pa_xmalloc calls oom() in case of NULL pointer returned by malloc() on one
hand and dereferencing of pointer is happen early than actual check on other
hand. Thus, just remove useless checks.

15 years agocore-util: Fix logic of pa_make_path_absolute()
Andy Shevchenko [Fri, 28 Aug 2009 12:16:53 +0000 (15:16 +0300)]
core-util: Fix logic of pa_make_path_absolute()

Make it works as described in commentary (when fn is NULL, pa_assert(fn) could
break logic).

15 years agoraop: Fix memory leak
Andy Shevchenko [Fri, 28 Aug 2009 12:16:52 +0000 (15:16 +0300)]
raop: Fix memory leak

The return memory of the pa_strbuf_tostring_free() should be freed.
pa_headerlist_puts() saves its own copy.

15 years agobuild-sys: make proximity helper properly suid
Lennart Poettering [Fri, 28 Aug 2009 15:10:17 +0000 (17:10 +0200)]
build-sys: make proximity helper properly suid

15 years agobluetooth: remove left-over debug line
Lennart Poettering [Fri, 28 Aug 2009 15:07:08 +0000 (17:07 +0200)]
bluetooth: remove left-over debug line

15 years agoMerge commit 'vudentz/master'
Lennart Poettering [Thu, 27 Aug 2009 15:08:15 +0000 (17:08 +0200)]
Merge commit 'vudentz/master'

15 years agoHandle DisconnectRequested in bluetooth module.
Luiz Augusto von Dentz [Thu, 27 Aug 2009 14:29:49 +0000 (11:29 -0300)]
Handle DisconnectRequested in bluetooth module.

15 years agoconvert: add sse/sse2 s16 to float32ne conversions
Wim Taymans [Wed, 26 Aug 2009 17:30:37 +0000 (19:30 +0200)]
convert: add sse/sse2 s16 to float32ne conversions

15 years agomacro: add macro to align variables
Wim Taymans [Wed, 26 Aug 2009 17:29:56 +0000 (19:29 +0200)]
macro: add macro to align variables

15 years agoremap: cleanup assembler a little
Wim Taymans [Wed, 26 Aug 2009 17:29:21 +0000 (19:29 +0200)]
remap: cleanup assembler a little

15 years agosample-util: avoid stack overrun
Wim Taymans [Tue, 25 Aug 2009 15:40:44 +0000 (17:40 +0200)]
sample-util: avoid stack overrun

The linear volume array needs enough padding when preparing the volumes for
mixing.

15 years agoremap: add sse optimized mono to stereo
Wim Taymans [Tue, 25 Aug 2009 10:27:32 +0000 (12:27 +0200)]
remap: add sse optimized mono to stereo

15 years agosconv: fix indentation
Wim Taymans [Mon, 24 Aug 2009 15:00:23 +0000 (17:00 +0200)]
sconv: fix indentation

15 years agoproplist: allow setting of zero-length data properties
Lennart Poettering [Thu, 27 Aug 2009 03:33:45 +0000 (05:33 +0200)]
proplist: allow setting of zero-length data properties

15 years agosink-input: extend comments on rewinding logic a bit
Lennart Poettering [Wed, 26 Aug 2009 22:07:15 +0000 (00:07 +0200)]
sink-input: extend comments on rewinding logic a bit

15 years agoprotocol-native: print more volume change debug messages to easy tracking down of...
Lennart Poettering [Wed, 26 Aug 2009 22:05:54 +0000 (00:05 +0200)]
protocol-native: print more volume change debug messages to easy tracking down of feedback loops

15 years agoprotocol-native: compare uint64_t variable with (uint64_t) -1 instead of (size_t...
Lennart Poettering [Wed, 26 Aug 2009 22:04:33 +0000 (00:04 +0200)]
protocol-native: compare uint64_t variable with (uint64_t) -1 instead of (size_t) -1 for compat with 32bit archs

15 years agopdispatch: various modernizations
Lennart Poettering [Wed, 26 Aug 2009 18:07:04 +0000 (20:07 +0200)]
pdispatch: various modernizations

15 years agopdispatch: add missing commands to command table
Lennart Poettering [Wed, 26 Aug 2009 18:06:24 +0000 (20:06 +0200)]
pdispatch: add missing commands to command table