profile/ivi/pulseaudio.git
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

15 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

15 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

15 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

15 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

15 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

15 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]

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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>
15 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>
15 years agofix S32 validity check
Lennart Poettering [Wed, 10 Sep 2008 09:18:05 +0000 (12:18 +0300)]
fix S32 validity check

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

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

15 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

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

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

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

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

15 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 <=.

15 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

15 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

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

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

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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

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

15 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

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

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

15 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

15 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

15 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

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

15 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

15 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

15 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>
15 years agoreindent comments a bit
Lennart Poettering [Wed, 3 Sep 2008 16:51:46 +0000 (18:51 +0200)]
reindent comments a bit

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

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

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

15 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

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

15 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

15 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 _

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

15 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

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

15 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

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

15 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

15 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

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

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

15 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

15 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

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

15 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

15 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

15 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