platform/upstream/pulseaudio.git
16 years agoRemove some warnings
João Paulo Rechi Vita [Fri, 29 Aug 2008 14:46:02 +0000 (11:46 -0300)]
Remove some warnings

16 years agoFree mempool
João Paulo Rechi Vita [Fri, 29 Aug 2008 14:05:00 +0000 (11:05 -0300)]
Free mempool

16 years agoFix "file not found" error on load of module-bt-device for Ubuntu Intrepid Ibex
Russ Dill [Thu, 28 Aug 2008 13:38:47 +0000 (10:38 -0300)]
Fix "file not found" error on load of module-bt-device for Ubuntu Intrepid Ibex

16 years agoMerge A2DP and SCO thread functions
João Paulo Rechi Vita [Tue, 26 Aug 2008 12:43:48 +0000 (09:43 -0300)]
Merge A2DP and SCO thread functions

16 years agoAdd some more device properties to the sink properties list
João Paulo Rechi Vita [Tue, 26 Aug 2008 01:48:27 +0000 (22:48 -0300)]
Add some more device properties to the sink properties list

16 years agoRemove check for SIOCOUTQ and add proper includes
João Paulo Rechi Vita [Tue, 26 Aug 2008 01:15:25 +0000 (22:15 -0300)]
Remove check for SIOCOUTQ and add proper includes

16 years agoUse union instead of different pointer types to the same memory area to make the...
João Paulo Rechi Vita [Tue, 26 Aug 2008 00:56:31 +0000 (21:56 -0300)]
Use union instead of different pointer types to the same memory area to make the code C99 compliant

16 years agoMove render and write to the fd to a separate function
João Paulo Rechi Vita [Fri, 22 Aug 2008 00:31:43 +0000 (21:31 -0300)]
Move render and write to the fd to a separate function

16 years agoChange MIN/MAX to PA_MIN/PA_MAX
João Paulo Rechi Vita [Thu, 21 Aug 2008 20:36:17 +0000 (17:36 -0300)]
Change MIN/MAX to PA_MIN/PA_MAX

16 years agoRemove unnecessary initialization of getcaps_req->flags
João Paulo Rechi Vita [Thu, 21 Aug 2008 20:34:27 +0000 (17:34 -0300)]
Remove unnecessary initialization of getcaps_req->flags

16 years agoRemove u->channels and u->rates, since it's redundant info
João Paulo Rechi Vita [Thu, 21 Aug 2008 20:23:16 +0000 (17:23 -0300)]
Remove u->channels and u->rates, since it's redundant info

16 years agoFix some memory leaking
João Paulo Rechi Vita [Thu, 21 Aug 2008 20:06:41 +0000 (17:06 -0300)]
Fix some memory leaking

16 years agoChange sbc_initialized to pa_bool_t
João Paulo Rechi Vita [Thu, 21 Aug 2008 18:12:03 +0000 (15:12 -0300)]
Change sbc_initialized to pa_bool_t

16 years agopa__done for module-bt-device
João Paulo Rechi Vita [Wed, 20 Aug 2008 13:52:25 +0000 (10:52 -0300)]
pa__done for module-bt-device

16 years agoFix some debug messages and other cosmetic changes
João Paulo Rechi Vita [Tue, 19 Aug 2008 20:35:43 +0000 (17:35 -0300)]
Fix some debug messages and other cosmetic changes

16 years agoRefactor a2dp thread execution flow and improve time estimation
João Paulo Rechi Vita [Tue, 19 Aug 2008 19:06:21 +0000 (16:06 -0300)]
Refactor a2dp thread execution flow and improve time estimation

16 years agoA2DP poorly working
João Paulo Rechi Vita [Sun, 17 Aug 2008 23:36:33 +0000 (20:36 -0300)]
A2DP poorly working

16 years agoFix sample size
João Paulo Rechi Vita [Sun, 17 Aug 2008 23:35:56 +0000 (20:35 -0300)]
Fix sample size

16 years agoFix block_size calculation
João Paulo Rechi Vita [Sun, 17 Aug 2008 04:54:12 +0000 (01:54 -0300)]
Fix block_size calculation

16 years agoConfigure bt connection for a2dp
João Paulo Rechi Vita [Sat, 16 Aug 2008 19:03:20 +0000 (16:03 -0300)]
Configure bt connection for a2dp

16 years agoGet rid of hw_constraint function. It's code now lives inside bt_setconf().
João Paulo Rechi Vita [Sat, 16 Aug 2008 19:00:32 +0000 (16:00 -0300)]
Get rid of hw_constraint function. It's code now lives inside bt_setconf().

16 years agoChange default sink name to bluetooth_sink
João Paulo Rechi Vita [Sat, 16 Aug 2008 16:54:28 +0000 (13:54 -0300)]
Change default sink name to bluetooth_sink

16 years agoTry to improve time estimation
João Paulo Rechi Vita [Fri, 15 Aug 2008 21:13:25 +0000 (18:13 -0300)]
Try to improve time estimation

16 years agoFix handling of PA_SINK_MESSAGE_GET_LATENCY
João Paulo Rechi Vita [Fri, 15 Aug 2008 19:56:26 +0000 (16:56 -0300)]
Fix handling of PA_SINK_MESSAGE_GET_LATENCY

16 years agoRemove PA_SINK_NETWORK flag and move the passage of streamfd to the rt thread just...
João Paulo Rechi Vita [Fri, 15 Aug 2008 19:23:54 +0000 (16:23 -0300)]
Remove PA_SINK_NETWORK flag and move the passage of streamfd to the rt thread just before the thread creation

16 years agoChange pa_sink_render to pa_sink_render_into_full and remove some unnecessary checks...
João Paulo Rechi Vita [Thu, 14 Aug 2008 23:59:28 +0000 (20:59 -0300)]
Change pa_sink_render to pa_sink_render_into_full and remove some unnecessary checks on the rt thread

16 years agoMake stream socket non-blocking
João Paulo Rechi Vita [Thu, 14 Aug 2008 23:57:32 +0000 (20:57 -0300)]
Make stream socket non-blocking

16 years agoFix block size for SCO
João Paulo Rechi Vita [Thu, 14 Aug 2008 23:56:58 +0000 (20:56 -0300)]
Fix block size for SCO

16 years agoAdd include for core-util.h
João Paulo Rechi Vita [Thu, 14 Aug 2008 21:12:26 +0000 (18:12 -0300)]
Add include for core-util.h

16 years agoInitialize rtpoll_item
João Paulo Rechi Vita [Thu, 14 Aug 2008 21:05:01 +0000 (18:05 -0300)]
Initialize rtpoll_item

16 years agoAdd include for sample.h
João Paulo Rechi Vita [Wed, 13 Aug 2008 19:52:28 +0000 (16:52 -0300)]
Add include for sample.h

16 years agoChange close() to pa_close()
João Paulo Rechi Vita [Wed, 13 Aug 2008 19:08:20 +0000 (16:08 -0300)]
Change close() to pa_close()

16 years agoChange strerror() to pa_cstrerror()
João Paulo Rechi Vita [Wed, 13 Aug 2008 19:07:19 +0000 (16:07 -0300)]
Change strerror() to pa_cstrerror()

16 years agoGet rid of SINK_MESSAGE_PASS_SOCKET, since we don't really need it
João Paulo Rechi Vita [Wed, 13 Aug 2008 19:06:36 +0000 (16:06 -0300)]
Get rid of SINK_MESSAGE_PASS_SOCKET, since we don't really need it

16 years agoChanges for pa_modargs_get_value_u32 for integer arguments and correct some error...
João Paulo Rechi Vita [Wed, 13 Aug 2008 18:56:05 +0000 (15:56 -0300)]
Changes for pa_modargs_get_value_u32 for integer arguments and correct some error messages

16 years agoCopy arguments values instead of just getting a pointer for them
João Paulo Rechi Vita [Wed, 13 Aug 2008 17:52:26 +0000 (14:52 -0300)]
Copy arguments values instead of just getting a pointer for them

16 years agoHand the stream socket to the rt thread
João Paulo Rechi Vita [Tue, 12 Aug 2008 01:54:09 +0000 (22:54 -0300)]
Hand the stream socket to the rt thread

16 years agoInitial code for rt thread
João Paulo Rechi Vita [Mon, 11 Aug 2008 21:10:14 +0000 (18:10 -0300)]
Initial code for rt thread

16 years agoFix PA_USEC_PER_SEC missing
João Paulo Rechi Vita [Mon, 11 Aug 2008 16:52:59 +0000 (13:52 -0300)]
Fix PA_USEC_PER_SEC missing

16 years agoBlueZ connection configuration done
João Paulo Rechi Vita [Mon, 11 Aug 2008 16:27:13 +0000 (13:27 -0300)]
BlueZ connection configuration done

16 years agoAdds SBC Codec to pa tree
João Paulo Rechi Vita [Mon, 11 Aug 2008 16:26:10 +0000 (13:26 -0300)]
Adds SBC Codec to pa tree

16 years agoAdd module-bt-device and dependencies to automake
João Paulo Rechi Vita [Thu, 31 Jul 2008 23:17:17 +0000 (20:17 -0300)]
Add module-bt-device and dependencies to automake

16 years agoInitial file for module-bt-device
João Paulo Rechi Vita [Thu, 31 Jul 2008 23:16:43 +0000 (20:16 -0300)]
Initial file for module-bt-device

16 years agoAdd code from bluez/audio/ipc.[ch]
João Paulo Rechi Vita [Thu, 31 Jul 2008 23:15:32 +0000 (20:15 -0300)]
Add code from bluez/audio/ipc.[ch]

16 years agoAdd sender=org.bluez to dbus add match
João Paulo Rechi Vita [Thu, 31 Jul 2008 19:17:03 +0000 (16:17 -0300)]
Add sender=org.bluez to dbus add match

16 years agoRemove modargs, since module-bt-discover doesn't have any argument
João Paulo Rechi Vita [Thu, 24 Jul 2008 17:36:01 +0000 (14:36 -0300)]
Remove modargs, since module-bt-discover doesn't have any argument

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