platform/upstream/pulseaudio.git
16 years agoRefactor all linked lists to use pulsecore/llist.h
João Paulo Rechi Vita [Wed, 23 Jul 2008 14:12:57 +0000 (11:12 -0300)]
Refactor all linked lists to use pulsecore/llist.h

16 years agoRemove block delimiters from single line if blocks
João Paulo Rechi Vita [Tue, 22 Jul 2008 13:55:04 +0000 (10:55 -0300)]
Remove block delimiters from single line if blocks

16 years agoRemove some unused vars and labels
João Paulo Rechi Vita [Tue, 22 Jul 2008 13:48:50 +0000 (10:48 -0300)]
Remove some unused vars and labels

16 years agoChange booleans to pa_bool_t
João Paulo Rechi Vita [Tue, 22 Jul 2008 13:37:34 +0000 (10:37 -0300)]
Change booleans to pa_bool_t

16 years agoWe don't need call_dbus_method anymore
João Paulo Rechi Vita [Tue, 22 Jul 2008 13:11:26 +0000 (10:11 -0300)]
We don't need call_dbus_method anymore

16 years agoDon't need to explicity check if hcid is running anymore
João Paulo Rechi Vita [Tue, 22 Jul 2008 13:08:37 +0000 (10:08 -0300)]
Don't need to explicity check if hcid is running anymore

16 years agoImprove dbus communication
João Paulo Rechi Vita [Tue, 22 Jul 2008 13:07:30 +0000 (10:07 -0300)]
Improve dbus communication

16 years agoChanging all private functions to static
João Paulo Rechi Vita [Mon, 21 Jul 2008 14:23:25 +0000 (11:23 -0300)]
Changing all private functions to static

16 years agoRemove VERBOSE definition
João Paulo Rechi Vita [Mon, 21 Jul 2008 13:53:20 +0000 (10:53 -0300)]
Remove VERBOSE definition

16 years agoAdding dynamic bluetooth audio devices detection
João Paulo Rechi Vita [Mon, 21 Jul 2008 12:42:29 +0000 (09:42 -0300)]
Adding dynamic bluetooth audio devices detection

16 years agoFix the symdef include
João Paulo Rechi Vita [Fri, 18 Jul 2008 14:02:59 +0000 (11:02 -0300)]
Fix the symdef include

16 years agoFix comparison of strings of different case
João Paulo Rechi Vita [Thu, 17 Jul 2008 19:56:03 +0000 (16:56 -0300)]
Fix comparison of strings of different case

16 years agoAdding module-bt-discover to Makefile.am
João Paulo Rechi Vita [Thu, 17 Jul 2008 19:30:53 +0000 (16:30 -0300)]
Adding module-bt-discover to Makefile.am

16 years agoAdding module-bt-discover
João Paulo Rechi Vita [Thu, 17 Jul 2008 19:29:49 +0000 (16:29 -0300)]
Adding module-bt-discover

16 years agofix pa_stream_set_name
Omair Majid [Wed, 10 Sep 2008 21:07:50 +0000 (17:07 -0400)]
fix pa_stream_set_name

This patch fixes a bug in pa_stream_set_name. It uses the media.name
property instead of the application.name property when setting a
stream's name

>From aa1bda11d2084365cb0cec57f37d59f07ab80052 Mon Sep 17 00:00:00 2001
From: Omair Majid <omajid@redhat.com>
Date: Wed, 10 Sep 2008 17:02:28 -0400
Subject: [PATCH] Fix bug in pa_stream_set_name

Signed-off-by: Lennart Poettering <lennart@poettering.net>
16 years agostream_started_callback userdata bug
Arthur Taylor [Wed, 10 Sep 2008 03:28:20 +0000 (20:28 -0700)]
stream_started_callback userdata bug

Hello

I came across a bug where the userdata parameter of the
stream_started_callback was always NULL in some cases. I couldn't seem
to make a ticket, so here's the one line patch:

Signed-off-by: Lennart Poettering <lennart@poettering.net>
16 years agofix S32 validity check
Lennart Poettering [Wed, 10 Sep 2008 09:18:05 +0000 (12:18 +0300)]
fix S32 validity check

16 years agoadd src/pulsecore/lock-autospawn.c to POTFILES.in v0.9.12
Lennart Poettering [Mon, 8 Sep 2008 23:42:38 +0000 (01:42 +0200)]
add src/pulsecore/lock-autospawn.c to POTFILES.in

16 years agobump revisions
Lennart Poettering [Mon, 8 Sep 2008 23:28:22 +0000 (02:28 +0300)]
bump revisions

16 years agomake sure peaks resampler also works for very short input buffers
Lennart Poettering [Mon, 8 Sep 2008 23:18:21 +0000 (02:18 +0300)]
make sure peaks resampler also works for very short input buffers

16 years agominor improvements in debug handling
Lennart Poettering [Mon, 8 Sep 2008 23:17:01 +0000 (02:17 +0300)]
minor improvements in debug handling

16 years agounbreak pa_idxset_rrobin
Lennart Poettering [Mon, 8 Sep 2008 23:14:27 +0000 (02:14 +0300)]
unbreak pa_idxset_rrobin

16 years agoWhen returning from a suspend, pass exactly the same flags as originally when
Lennart Poettering [Mon, 8 Sep 2008 21:10:54 +0000 (00:10 +0300)]
When returning from a suspend, pass exactly the same flags as originally when
we opened the device.

16 years agofix minor typo
Lennart Poettering [Mon, 8 Sep 2008 21:06:12 +0000 (00:06 +0300)]
fix minor typo

16 years agoWork around presumable ALSA bug that treats the dir argument to
Lennart Poettering [Mon, 8 Sep 2008 21:04:50 +0000 (00:04 +0300)]
Work around presumable ALSA bug that treats the dir argument to
snd_pcm_hw_params_set_periods_near() actually as > or < instead of >= and <=.

16 years agoMerge branch 'master' into master-tx
Lennart Poettering [Mon, 8 Sep 2008 14:25:16 +0000 (17:25 +0300)]
Merge branch 'master' into master-tx

16 years agomove autospawn lock to pulsecore/ since we don't need it in the client anymore
Lennart Poettering [Mon, 8 Sep 2008 14:22:27 +0000 (17:22 +0300)]
move autospawn lock to pulsecore/ since we don't need it in the client anymore

16 years agoUpdated LINGUAS: el, fr, sv added.
Robert-André Mauchin [Sat, 6 Sep 2008 08:54:58 +0000 (08:54 +0000)]
Updated LINGUAS: el, fr, sv added.

Transmitted-via: Transifex (translate.fedoraproject.org)

16 years agoAdded French translation.
Robert-André Mauchin [Sat, 6 Sep 2008 08:50:25 +0000 (08:50 +0000)]
Added French translation.

Transmitted-via: Transifex (translate.fedoraproject.org)

16 years agoAdded Swedish translation.
Daniel Nylander [Fri, 5 Sep 2008 16:24:54 +0000 (16:24 +0000)]
Added Swedish translation.

Transmitted-via: Transifex (translate.fedoraproject.org)

16 years agoAdd new option to disable remixing from/to LFE and set it to on by default
Lennart Poettering [Fri, 5 Sep 2008 13:04:42 +0000 (16:04 +0300)]
Add new option to disable remixing from/to LFE and set it to on by default

16 years agoinclude build and runtime host information in debug output
Lennart Poettering [Fri, 5 Sep 2008 12:42:39 +0000 (15:42 +0300)]
include build and runtime host information in debug output

16 years agorework autospawning to allow to multiple parallel autospawning contexts
Lennart Poettering [Fri, 5 Sep 2008 01:22:13 +0000 (03:22 +0200)]
rework autospawning to allow to multiple parallel autospawning contexts

16 years agoconnect to localhost via IP address instead of host name, to avoid needless NSS lookup
Lennart Poettering [Fri, 5 Sep 2008 01:20:33 +0000 (03:20 +0200)]
connect to localhost via IP address instead of host name, to avoid needless NSS lookup

16 years agoif we are exiting due to cpu overload, say so via syslog, too
Lennart Poettering [Fri, 5 Sep 2008 01:18:36 +0000 (03:18 +0200)]
if we are exiting due to cpu overload, say so via syslog, too

16 years agoif we are exiting due to idleness, say so
Lennart Poettering [Fri, 5 Sep 2008 01:17:48 +0000 (03:17 +0200)]
if we are exiting due to idleness, say so

16 years agocheck for errors returned by pa_context_connect()
Lennart Poettering [Thu, 4 Sep 2008 23:31:39 +0000 (01:31 +0200)]
check for errors returned by pa_context_connect()

16 years agouse pa_channel_map_compatible() where applicable
Lennart Poettering [Thu, 4 Sep 2008 23:31:17 +0000 (01:31 +0200)]
use pa_channel_map_compatible() where applicable

16 years agoa few minor clean-ups
Lennart Poettering [Thu, 4 Sep 2008 23:30:48 +0000 (01:30 +0200)]
a few minor clean-ups

16 years agointroduce upper channel map definition limit PA_CHANNEL_MAP_DEF_MAX
Lennart Poettering [Thu, 4 Sep 2008 23:30:25 +0000 (01:30 +0200)]
introduce upper channel map definition limit PA_CHANNEL_MAP_DEF_MAX

16 years agoupdate map file
Lennart Poettering [Thu, 4 Sep 2008 23:29:24 +0000 (01:29 +0200)]
update map file

16 years agoadd new API function pa_channel_map_compatible()
Lennart Poettering [Thu, 4 Sep 2008 23:29:07 +0000 (01:29 +0200)]
add new API function pa_channel_map_compatible()

16 years agoupdate map-file script to ignore gcc malloc attributes
Lennart Poettering [Thu, 4 Sep 2008 23:28:08 +0000 (01:28 +0200)]
update map-file script to ignore gcc malloc attributes

16 years agoupdate documentation and help texts for s32le/s32be sample types
Lennart Poettering [Thu, 4 Sep 2008 22:39:36 +0000 (00:39 +0200)]
update documentation and help texts for s32le/s32be sample types

16 years agoDowngrade hrtimer warning to notice level
Lennart Poettering [Thu, 4 Sep 2008 22:38:52 +0000 (00:38 +0200)]
Downgrade hrtimer warning to notice level

16 years agoMerge commit 'origin/master-tx'
Lennart Poettering [Wed, 3 Sep 2008 21:13:26 +0000 (23:13 +0200)]
Merge commit 'origin/master-tx'

16 years agointroduce macros for all flags so that clients can check for them with #ifdef
Lennart Poettering [Wed, 3 Sep 2008 17:51:33 +0000 (19:51 +0200)]
introduce macros for all flags so that clients can check for them with #ifdef

16 years agouse PA_STREAM_EARLY_REQUESTS for OSS streams
Lennart Poettering [Wed, 3 Sep 2008 17:51:12 +0000 (19:51 +0200)]
use PA_STREAM_EARLY_REQUESTS for OSS streams

16 years agocommand_get_info() segv in some conditions
Marc-André Lureau [Mon, 1 Sep 2008 13:00:08 +0000 (16:00 +0300)]
command_get_info() segv in some conditions

Signed-off-by: Lennart Poettering <lennart@poettering.net>
16 years agoreindent comments a bit
Lennart Poettering [Wed, 3 Sep 2008 16:51:46 +0000 (18:51 +0200)]
reindent comments a bit

16 years agoImplement "early requests" mode.
Lennart Poettering [Wed, 3 Sep 2008 16:31:46 +0000 (18:31 +0200)]
Implement "early requests" mode.

PA_STREAM_EARLY_REQUESTS is a new flag that will modify buffering metric
selection behaviour a bit. This code is good for broken ALSA/OSS clients that
ignore 'readability' on the fds in question and schedule audio via usleep()
instead.

16 years agoRework pa_machine_id() a bit
Lennart Poettering [Wed, 3 Sep 2008 16:30:27 +0000 (18:30 +0200)]
Rework pa_machine_id() a bit

Guarantee this function never fails, use POSIX gethostid as last resort. Add
comments.

16 years agofix misuse of return value
Lennart Poettering [Wed, 3 Sep 2008 16:29:49 +0000 (18:29 +0200)]
fix misuse of return value

16 years agouse gcc malloc attribute macros for internal functions, too
Lennart Poettering [Mon, 1 Sep 2008 19:44:00 +0000 (21:44 +0200)]
use gcc malloc attribute macros for internal functions, too

16 years agodrop -Winline from build cflags
Lennart Poettering [Mon, 1 Sep 2008 19:42:27 +0000 (21:42 +0200)]
drop -Winline from build cflags

16 years agodon't include leagacy definition PA_STREAM_NOT_MONOTONOUS in docs
Lennart Poettering [Mon, 1 Sep 2008 17:17:14 +0000 (19:17 +0200)]
don't include leagacy definition PA_STREAM_NOT_MONOTONOUS in docs

16 years agoprefix internally used inline function with _
Lennart Poettering [Mon, 1 Sep 2008 17:16:12 +0000 (19:16 +0200)]
prefix  internally used inline function with _

16 years agoadd gcc malloc related function attributes where appropriate
Lennart Poettering [Mon, 1 Sep 2008 17:15:07 +0000 (19:15 +0200)]
add gcc malloc related function attributes where appropriate

16 years agoadd malloc related gcc attribute macros
Lennart Poettering [Mon, 1 Sep 2008 17:13:37 +0000 (19:13 +0200)]
add malloc related gcc attribute macros

16 years agoavoid rounding errors on requested buffering metrics
Lennart Poettering [Mon, 1 Sep 2008 00:41:03 +0000 (02:41 +0200)]
avoid rounding errors on requested buffering metrics

16 years agooutput relative timestamps in addition to absolute timestamps when logging
Lennart Poettering [Mon, 1 Sep 2008 00:39:27 +0000 (02:39 +0200)]
output relative timestamps in addition to absolute timestamps when logging

16 years agoinclude more build info in debug output
Lennart Poettering [Mon, 1 Sep 2008 00:38:32 +0000 (02:38 +0200)]
include more build info in debug output

16 years agorework device opening code: work around broken SND_PCM_NO_AUTO_xxx support in ALSA...
Lennart Poettering [Sun, 31 Aug 2008 14:25:37 +0000 (16:25 +0200)]
rework device opening code: work around broken SND_PCM_NO_AUTO_xxx support in ALSA <= 1.0.17a

16 years agoSome string in German translation done
Fabian Affolter [Sun, 31 Aug 2008 10:24:26 +0000 (10:24 +0000)]
Some string in German translation done

Transmitted-via: Transifex (translate.fedoraproject.org)

16 years agoremove a few more gcc warnings
Lennart Poettering [Fri, 29 Aug 2008 23:22:41 +0000 (01:22 +0200)]
remove a few more gcc warnings

16 years agofix a few compiler warnings on older gcc
Lennart Poettering [Fri, 29 Aug 2008 21:53:55 +0000 (23:53 +0200)]
fix a few compiler warnings on older gcc

16 years agoreword amd64 message
Lennart Poettering [Fri, 29 Aug 2008 19:46:12 +0000 (21:46 +0200)]
reword amd64 message

16 years agochange default log level for the library to PA_LOG_ERROR to avoid spamming to stderr...
Lennart Poettering [Fri, 29 Aug 2008 19:43:50 +0000 (21:43 +0200)]
change default log level for the library to PA_LOG_ERROR to avoid spamming to stderr more often

16 years agodowngrade a few messages
Lennart Poettering [Fri, 29 Aug 2008 19:43:10 +0000 (21:43 +0200)]
downgrade a few messages

16 years agothe native atomic ops implementation for amd64 seems to work fine
Lennart Poettering [Fri, 29 Aug 2008 19:42:09 +0000 (21:42 +0200)]
the native atomic ops implementation for amd64 seems to work fine

16 years agoChange return value of cmpxchg atomic op to pa_bool_t
Lennart Poettering [Fri, 29 Aug 2008 18:24:46 +0000 (20:24 +0200)]
Change return value of cmpxchg atomic op to pa_bool_t

16 years agoAdd CFLAGS information on start-up
Marc-André Lureau [Fri, 29 Aug 2008 18:08:55 +0000 (20:08 +0200)]
Add CFLAGS information on start-up

Signed-off-by: Lennart Poettering <lennart@poettering.net>
16 years agooptionally add timestampts to every line logged
Lennart Poettering [Fri, 29 Aug 2008 17:33:06 +0000 (19:33 +0200)]
optionally add timestampts to every line logged

16 years agoInitial German translation
Fabian Affolter [Fri, 29 Aug 2008 10:45:33 +0000 (10:45 +0000)]
Initial German translation

Transmitted-via: Transifex (translate.fedoraproject.org)

16 years agoreduce needlessly large gdbm cache a bit
Lennart Poettering [Thu, 28 Aug 2008 23:48:31 +0000 (01:48 +0200)]
reduce needlessly large gdbm cache a bit

16 years agofix up latency before calling into stream code, to make sure we don't ask for too...
Lennart Poettering [Thu, 28 Aug 2008 23:20:25 +0000 (01:20 +0200)]
fix up latency before calling into stream code, to make sure we don't ask for too much data to early

16 years agoadd missing config.h inclusion
Lennart Poettering [Thu, 28 Aug 2008 23:15:58 +0000 (01:15 +0200)]
add missing config.h inclusion

16 years agorework pa_ulog2 and base it on __builtin_clz if available, make pa_make_power_of_two...
Lennart Poettering [Thu, 28 Aug 2008 23:13:50 +0000 (01:13 +0200)]
rework pa_ulog2 and base it on __builtin_clz if available, make pa_make_power_of_two based on it

16 years agoadd byte-to-usec and usec-to-byte converters that round up, not down
Lennart Poettering [Thu, 28 Aug 2008 15:53:01 +0000 (17:53 +0200)]
add byte-to-usec and usec-to-byte converters that round up, not down

16 years agodocument in which direction we round
Lennart Poettering [Thu, 28 Aug 2008 15:52:08 +0000 (17:52 +0200)]
document in which direction we round

16 years agoStarted Greek translation
Dimitris Glezos [Wed, 27 Aug 2008 23:44:17 +0000 (23:44 +0000)]
Started Greek translation

Also testing Transifex at
http://translate.fedoraproject.org/submit/module/pulseaudio/

Transmitted-via: Transifex (translate.fedoraproject.org)

16 years agoalsa_error_handler should note source of errors
Ed Catmur [Tue, 26 Aug 2008 21:19:43 +0000 (23:19 +0200)]
alsa_error_handler should note source of errors

When an error gets passed up from alsa-lib via alsa_error_handler, it's unclear
the source of the error. alsa_error_handler should note that the error came
from alsa-lib. (Closes #341)

16 years agoincrease pa_xmalloc() limit to 96 MB, closes #344
Lennart Poettering [Tue, 26 Aug 2008 13:46:26 +0000 (15:46 +0200)]
increase pa_xmalloc() limit to 96 MB, closes #344

16 years agofix typo
Lennart Poettering [Tue, 26 Aug 2008 13:45:37 +0000 (15:45 +0200)]
fix typo

16 years agoFix error code in pa_stream_get_timing_info()
Lennart Poettering [Tue, 26 Aug 2008 13:45:18 +0000 (15:45 +0200)]
Fix error code in pa_stream_get_timing_info()

16 years agocall close() in a loop to catch EINTR
Lennart Poettering [Tue, 26 Aug 2008 13:44:55 +0000 (15:44 +0200)]
call close() in a loop to catch EINTR

16 years agoFix more linking issues in x11-publish and stream-restore
Colin Guthrie [Fri, 22 Aug 2008 09:58:21 +0000 (10:58 +0100)]
Fix more linking issues in x11-publish and stream-restore

16 years agoMerge branch 'master' of git://git.0pointer.de/pulseaudio
Colin Guthrie [Fri, 22 Aug 2008 09:56:45 +0000 (10:56 +0100)]
Merge branch 'master' of git://git.0pointer.de/pulseaudio

16 years agoadd a few missing casts
Lennart Poettering [Wed, 20 Aug 2008 00:33:06 +0000 (03:33 +0300)]
add a few missing casts

16 years agoadd doxygen documentation for ext-stream-restore.h
Lennart Poettering [Tue, 19 Aug 2008 22:17:33 +0000 (00:17 +0200)]
add doxygen documentation for ext-stream-restore.h

16 years agouse final glibc eventfd() instead of our homegrown syscall invocations
Lennart Poettering [Tue, 19 Aug 2008 21:18:20 +0000 (23:18 +0200)]
use final glibc eventfd() instead of our homegrown syscall invocations

16 years agorework cpu limit logic to use monotonic instead of wall clock time
Lennart Poettering [Tue, 19 Aug 2008 21:03:37 +0000 (23:03 +0200)]
rework cpu limit logic to use monotonic instead of wall clock time

16 years agosimplify pa_start_child_for_read by using pa_close_all()/pa_reset_sigs()/pa_unblock_s...
Lennart Poettering [Tue, 19 Aug 2008 20:49:14 +0000 (22:49 +0200)]
simplify pa_start_child_for_read by using pa_close_all()/pa_reset_sigs()/pa_unblock_sigs()

16 years agoadd a few more gcc warning flags and fix quite a few problems found by doing so
Lennart Poettering [Tue, 19 Aug 2008 20:39:54 +0000 (22:39 +0200)]
add a few more gcc warning flags and fix quite a few problems found by doing so

16 years agorun autoupdate
Lennart Poettering [Mon, 18 Aug 2008 22:17:49 +0000 (00:17 +0200)]
run autoupdate

16 years agoupdate gitignore
Lennart Poettering [Mon, 18 Aug 2008 22:09:26 +0000 (00:09 +0200)]
update gitignore

16 years agorequire ac 2.62 in bootstrap.sh
Lennart Poettering [Mon, 18 Aug 2008 22:02:01 +0000 (00:02 +0200)]
require ac 2.62 in bootstrap.sh

16 years agoMerge commit 'flameeyes/autoconf-2.62'
Lennart Poettering [Mon, 18 Aug 2008 21:52:44 +0000 (23:52 +0200)]
Merge commit 'flameeyes/autoconf-2.62'

16 years agoa few modernizations
Lennart Poettering [Mon, 18 Aug 2008 18:07:57 +0000 (20:07 +0200)]
a few modernizations

16 years agodon't unref pa_native_options object twice
Lennart Poettering [Mon, 18 Aug 2008 18:07:32 +0000 (20:07 +0200)]
don't unref pa_native_options object twice