profile/ivi/pulseaudio.git
15 years agoFix match rule problems.
Luiz Augusto von Dentz [Wed, 1 Oct 2008 15:04:55 +0000 (12:04 -0300)]
Fix match rule problems.

15 years agoRemove PropertyChanged signal handler.
Luiz Augusto von Dentz [Wed, 1 Oct 2008 14:37:00 +0000 (11:37 -0300)]
Remove PropertyChanged signal handler.

15 years agoAdd signal handlers for Connected signals.
Luiz Augusto von Dentz [Wed, 1 Oct 2008 14:35:51 +0000 (11:35 -0300)]
Add signal handlers for Connected signals.

15 years agoAdd match rules for org.bluez.Headset and org.bluez.AudioSink.
Luiz Augusto von Dentz [Wed, 1 Oct 2008 14:29:50 +0000 (11:29 -0300)]
Add match rules for org.bluez.Headset and org.bluez.AudioSink.

15 years agoallow - in sample names
Lennart Poettering [Fri, 3 Oct 2008 17:49:15 +0000 (19:49 +0200)]
allow - in sample names

15 years agoincrease PA_CVOLUME_SNPRINT_MAX to a proper value and document that it is not conside...
Lennart Poettering [Fri, 3 Oct 2008 15:45:55 +0000 (17:45 +0200)]
increase PA_CVOLUME_SNPRINT_MAX to a proper value and document that it is not considered part of the ABI

15 years agowhen checking the validity of a cvolume check whether all values are not -1
Lennart Poettering [Fri, 3 Oct 2008 15:45:04 +0000 (17:45 +0200)]
when checking the validity of a cvolume check whether all values are not -1

15 years agoadd missing calls to map file
Lennart Poettering [Fri, 3 Oct 2008 15:44:17 +0000 (17:44 +0200)]
add missing calls to map file

15 years agoadd new API call pa_cvolume_compatible()
Lennart Poettering [Fri, 3 Oct 2008 15:43:40 +0000 (17:43 +0200)]
add new API call pa_cvolume_compatible()

15 years agoadd new API call pa_cvolume_snprint_dB()
Lennart Poettering [Fri, 3 Oct 2008 15:42:38 +0000 (17:42 +0200)]
add new API call pa_cvolume_snprint_dB()

15 years agoadd new API call pa_cvolume_init()
Lennart Poettering [Fri, 3 Oct 2008 15:16:55 +0000 (17:16 +0200)]
add new API call pa_cvolume_init()

15 years agoextend documentation for pa_channel_map_init()
Lennart Poettering [Fri, 3 Oct 2008 15:15:43 +0000 (17:15 +0200)]
extend documentation for pa_channel_map_init()

15 years agomake a few casts explicit to remove compiler warnings
Lennart Poettering [Fri, 3 Oct 2008 15:14:58 +0000 (17:14 +0200)]
make a few casts explicit to remove compiler warnings

15 years agoa bit of late pa_bool_t'ization
Lennart Poettering [Fri, 3 Oct 2008 15:14:35 +0000 (17:14 +0200)]
a bit of late pa_bool_t'ization

15 years agotreat a channel map only then as compatible with a sample spec if it is valid
Lennart Poettering [Fri, 3 Oct 2008 15:14:02 +0000 (17:14 +0200)]
treat a channel map only then as compatible with a sample spec if it is valid

15 years agoadd new API function pa_sample_spec_init()
Lennart Poettering [Fri, 3 Oct 2008 15:13:17 +0000 (17:13 +0200)]
add new API function pa_sample_spec_init()

15 years agoif a volume or channel map is invalid show so when printing it
Lennart Poettering [Fri, 3 Oct 2008 13:16:26 +0000 (15:16 +0200)]
if a volume or channel map is invalid show so when printing it

15 years agouser lrint() and friends in inner loops instead of normal C casts to speed up a few...
Lennart Poettering [Fri, 3 Oct 2008 00:34:59 +0000 (02:34 +0200)]
user lrint() and friends in inner loops instead of normal C casts to speed up a few things

15 years agouse PA_FLOAT32_SWAP where useful
Lennart Poettering [Fri, 3 Oct 2008 00:33:44 +0000 (02:33 +0200)]
use PA_FLOAT32_SWAP where useful

15 years agooptimize mixing routines a bit by pulling the multiplication with the global volume...
Lennart Poettering [Thu, 2 Oct 2008 23:53:34 +0000 (01:53 +0200)]
optimize mixing routines a bit by pulling the multiplication with the global volume out of the inner loop by applying it first to the per-stream volumes

15 years agomake sure we call pa_sink_process_rewind() if a rewind was requested under all circum...
Lennart Poettering [Thu, 2 Oct 2008 01:07:54 +0000 (03:07 +0200)]
make sure we call pa_sink_process_rewind() if a rewind was requested under all circumstances

15 years agowhen we mix into a 16bit accumulator make sure we clamp before we scale with a volume...
Lennart Poettering [Thu, 2 Oct 2008 00:29:56 +0000 (02:29 +0200)]
when we mix into a 16bit accumulator make sure we clamp before we scale with a volume to avoid range faults when multiplying

15 years agoproperly parse response to pa_stream_set_buffer_attr() calls. closes #370
Lennart Poettering [Wed, 1 Oct 2008 23:15:58 +0000 (01:15 +0200)]
properly parse response to pa_stream_set_buffer_attr() calls. closes #370

15 years agoinform dsp_empty_socket() *after* we emptied the dsp socket, that it is now empty
Lennart Poettering [Wed, 1 Oct 2008 23:02:31 +0000 (01:02 +0200)]
inform dsp_empty_socket() *after* we emptied the dsp socket, that it is now empty

15 years agomake simple protocol not crash when allocating a memory block
Lennart Poettering [Wed, 1 Oct 2008 22:04:02 +0000 (00:04 +0200)]
make simple protocol not crash when allocating a memory block

15 years agowhen killing gconf helper, loop over EINTR
Lennart Poettering [Wed, 1 Oct 2008 21:42:32 +0000 (23:42 +0200)]
when killing gconf helper, loop over EINTR

15 years agoPA_WARN_REFERENCE works only for ELF targets
Lennart Poettering [Wed, 1 Oct 2008 12:49:00 +0000 (14:49 +0200)]
PA_WARN_REFERENCE works only for ELF targets

15 years agodon't hit an assert if a kernel driver reports invalid dB information, instead just...
Lennart Poettering [Wed, 1 Oct 2008 02:15:05 +0000 (04:15 +0200)]
don't hit an assert if a kernel driver reports invalid dB information, instead just warn the user

15 years agoremove useless log message
Lennart Poettering [Wed, 1 Oct 2008 01:54:01 +0000 (03:54 +0200)]
remove useless log message

15 years agoremove useless log message, re #367
Lennart Poettering [Wed, 1 Oct 2008 01:44:03 +0000 (03:44 +0200)]
remove useless log message, re #367

15 years agofix support for ALSA devices which lack dB information
Lennart Poettering [Wed, 1 Oct 2008 01:26:45 +0000 (03:26 +0200)]
fix support for ALSA devices which lack dB information

15 years agoit's --daemonize, not --daemon
Lennart Poettering [Tue, 30 Sep 2008 23:59:50 +0000 (01:59 +0200)]
it's --daemonize, not --daemon

15 years agoMerge commit 'coling/master'
Lennart Poettering [Tue, 30 Sep 2008 23:52:14 +0000 (01:52 +0200)]
Merge commit 'coling/master'

15 years agoa few FreeBSD fixes, from alexis
Lennart Poettering [Tue, 30 Sep 2008 23:31:56 +0000 (01:31 +0200)]
a few FreeBSD fixes, from alexis

Signed-off-by: Lennart Poettering <lennart@poettering.net>
15 years agoreplace module-volume-restore by module-stream-restore in system mode, too
Lennart Poettering [Tue, 30 Sep 2008 23:24:47 +0000 (01:24 +0200)]
replace module-volume-restore by module-stream-restore in system mode, too

15 years agoit might be a bit too early to initialize bluetooth by default for now, since it...
Lennart Poettering [Tue, 30 Sep 2008 23:23:35 +0000 (01:23 +0200)]
it might be a bit too early to initialize bluetooth by default for now, since it's still very rough around the edges

15 years agofix typo in default.conf, closes bug #354
Lennart Poettering [Tue, 30 Sep 2008 23:19:01 +0000 (01:19 +0200)]
fix typo in default.conf, closes bug #354

15 years agofollow PropertyChanged signals from BlueZ
Lennart Poettering [Tue, 30 Sep 2008 23:16:43 +0000 (01:16 +0200)]
follow PropertyChanged signals from BlueZ

15 years agoSome man page updates, add missing documentation, other fixes.
Lennart Poettering [Tue, 30 Sep 2008 23:15:44 +0000 (01:15 +0200)]
Some man page updates, add missing documentation, other fixes.

15 years agoMake the shared memory segment size configurable
Lennart Poettering [Tue, 30 Sep 2008 23:14:36 +0000 (01:14 +0200)]
Make the shared memory segment size configurable

This is useful only on systems where memory overcommit is not available
or disabled.

15 years agoesound auth-ip-acl fix
Nix [Fri, 26 Sep 2008 18:29:17 +0000 (19:29 +0100)]
esound auth-ip-acl fix

[...]

iv) module-protocol-stub has a one-character typo that breaks
auth-ip-acl for the esound TCP module, patch:

Unbreak esound auth-ip-acl.

Signed-off-by: Lennart Poettering <lennart@poettering.net>
15 years agohave make_random_dir respect $TMPDIR
Stelian Ionescu [Mon, 22 Sep 2008 22:26:31 +0000 (00:26 +0200)]
have make_random_dir respect $TMPDIR

with the attached patch, make_random_dir first tries to use $TMPDIR,
then $TMP finally defaulting to "/tmp"

Signed-off-by: Lennart Poettering <lennart@poettering.net>
15 years agomake module-bluetooth-discover actually load modules and smaller other fixes
Lennart Poettering [Mon, 29 Sep 2008 19:45:00 +0000 (21:45 +0200)]
make module-bluetooth-discover actually load modules and smaller other fixes

15 years agoall kinds of minor type, memory leak, initializatio fixes
Lennart Poettering [Mon, 29 Sep 2008 19:43:28 +0000 (21:43 +0200)]
all kinds of minor type, memory leak, initializatio fixes

15 years agoinstead of failing when the requested sampling rate is not available find the next...
Lennart Poettering [Mon, 29 Sep 2008 19:42:29 +0000 (21:42 +0200)]
instead of failing when the requested sampling rate is not available find the next one that is higher

15 years agoUse the same module parameter names for module-bluetooth-device as for most other...
Lennart Poettering [Mon, 29 Sep 2008 19:40:52 +0000 (21:40 +0200)]
Use the same module parameter names for module-bluetooth-device as for most other modules

15 years agouse TRUE for pa_bool_t arguments
Lennart Poettering [Mon, 29 Sep 2008 19:36:42 +0000 (21:36 +0200)]
use TRUE for pa_bool_t arguments

15 years agoremove a few compiler warnings in BlueZ code
Lennart Poettering [Mon, 29 Sep 2008 19:34:18 +0000 (21:34 +0200)]
remove a few compiler warnings in BlueZ code

15 years agofix compilation errors in priority queue code
Lennart Poettering [Sat, 27 Sep 2008 14:31:56 +0000 (16:31 +0200)]
fix compilation errors in priority queue code

15 years agoignore bt proximity helper
Lennart Poettering [Fri, 26 Sep 2008 16:51:25 +0000 (09:51 -0700)]
ignore bt proximity helper

15 years agoadd a generic priority queue implementation
Lennart Poettering [Fri, 26 Sep 2008 16:49:52 +0000 (09:49 -0700)]
add a generic priority queue implementation

15 years agomake pa_idxset_trivial_compare_func() do a full compare instea of just equakity check
Lennart Poettering [Fri, 26 Sep 2008 16:35:49 +0000 (09:35 -0700)]
make pa_idxset_trivial_compare_func() do a full compare instea of just equakity check

15 years agosome minor fixes and cleanups in the bt code
Lennart Poettering [Fri, 26 Sep 2008 16:35:00 +0000 (09:35 -0700)]
some minor fixes and cleanups in the bt code

15 years agomake sure ~/.pulse exists before we create the runtime dir link beneath it
Lennart Poettering [Fri, 12 Sep 2008 14:39:08 +0000 (17:39 +0300)]
make sure ~/.pulse exists before we create the runtime dir link beneath it

15 years agoreplace Makefile stub copies by symlinks
Lennart Poettering [Wed, 10 Sep 2008 22:41:08 +0000 (01:41 +0300)]
replace Makefile stub copies by symlinks

15 years agoenable bluetooth by default
Lennart Poettering [Wed, 10 Sep 2008 22:40:40 +0000 (01:40 +0300)]
enable bluetooth by default

15 years agodowngrade a D-Bus log message to debug
Lennart Poettering [Wed, 10 Sep 2008 22:40:18 +0000 (01:40 +0300)]
downgrade a D-Bus log message to debug

15 years agoadd trivial redirecting makefile to bt dir
Lennart Poettering [Wed, 10 Sep 2008 22:39:20 +0000 (01:39 +0300)]
add trivial redirecting makefile to bt dir

15 years agoMove bluetooth proximity module to src/modules/bluetooth/
João Paulo Rechi Vita [Sun, 31 Aug 2008 12:22:36 +0000 (09:22 -0300)]
Move bluetooth proximity module to src/modules/bluetooth/

15 years agoChange all int vars that doesn't allow negative values to uint
João Paulo Rechi Vita [Sat, 30 Aug 2008 20:41:00 +0000 (17:41 -0300)]
Change all int vars that doesn't allow negative values to uint

15 years agoMove bluetooth discover and device modules to src/modules/bluetooth
João Paulo Rechi Vita [Fri, 29 Aug 2008 23:22:14 +0000 (20:22 -0300)]
Move bluetooth discover and device modules to src/modules/bluetooth

15 years agoCleanup some code
João Paulo Rechi Vita [Fri, 29 Aug 2008 14:56:12 +0000 (11:56 -0300)]
Cleanup some code

15 years agoRemove some warnings
João Paulo Rechi Vita [Fri, 29 Aug 2008 14:46:02 +0000 (11:46 -0300)]
Remove some warnings

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

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

15 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

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

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

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

15 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

15 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

15 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

15 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

15 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