profile/ivi/pulseaudio-panda.git
15 years agobluetooth-device: Add safe guard against BT streaming irregularities.
Jyri Sarha [Fri, 8 May 2009 10:25:21 +0000 (13:25 +0300)]
bluetooth-device: Add safe guard against BT streaming irregularities.

Some bad quality BT-headsets block bluez socket sometimes for hundreds
of milliseconds, especially when changing mode. When the module tries
catch up the lost time it may SBC encode up to half a second of audio
without yielding. On slow machine this may cause maximum RT time slice
to be exceeded. Cleaned out the minor fix that slipped into first version
of the patch.

15 years agocore: liberalize 99a6a4 a bit
Lennart Poettering [Fri, 8 May 2009 00:16:10 +0000 (02:16 +0200)]
core: liberalize 99a6a4 a bit

While flags should generally be initialized by passing them to
pa_{sink|source}_new() we make an exception for the volume related flags
which may be initilized afterwards, but before _put().

15 years agocore: cache requested latency only when we are running, not while we are still constr...
Lennart Poettering [Fri, 8 May 2009 00:02:36 +0000 (02:02 +0200)]
core: cache requested latency only when we are running, not while we are still constructing

15 years agocore: make sure we fix up flags/monitor flags already in pa_sink_new() instead of...
Lennart Poettering [Fri, 8 May 2009 00:02:06 +0000 (02:02 +0200)]
core: make sure we fix up flags/monitor flags already in pa_sink_new() instead of pa_sink_put()

15 years agocore: introduce pa_{sink,source}_set_fixed_latency()
Lennart Poettering [Thu, 7 May 2009 23:56:21 +0000 (01:56 +0200)]
core: introduce pa_{sink,source}_set_fixed_latency()

This allows us to forward the fixed latency directly from the sink to
the monitor source withut having to wait for pa_sink_put().

15 years agomacro: add macros for initializing memory
Lennart Poettering [Thu, 7 May 2009 20:03:04 +0000 (22:03 +0200)]
macro: add macros for initializing memory

15 years agosconv: fix a few minor conversion issues
Lennart Poettering [Fri, 1 May 2009 02:22:08 +0000 (04:22 +0200)]
sconv: fix a few minor conversion issues

15 years agoresampler-test: add tests for 24bit sample formats
Lennart Poettering [Fri, 1 May 2009 02:18:21 +0000 (04:18 +0200)]
resampler-test: add tests for 24bit sample formats

15 years agoresampler-test: use global PA_FLOAT32_SWAP implementation
Lennart Poettering [Fri, 1 May 2009 02:17:34 +0000 (04:17 +0200)]
resampler-test: use global PA_FLOAT32_SWAP implementation

15 years agoalsa: initialize buffer size before number of periods to improve compat with some...
Lennart Poettering [Fri, 1 May 2009 02:16:17 +0000 (04:16 +0200)]
alsa: initialize buffer size before number of periods to improve compat with some backends

15 years agosample-util: fix iteration loop when adjusting volume of s24 samples
Lennart Poettering [Fri, 1 May 2009 02:14:40 +0000 (04:14 +0200)]
sample-util: fix iteration loop when adjusting volume of s24 samples

15 years agosample-util: properly allocate silence block for s24-32 formats
Lennart Poettering [Fri, 1 May 2009 02:14:02 +0000 (04:14 +0200)]
sample-util: properly allocate silence block for s24-32 formats

15 years agoendian: fix LE/BE order for 24 bit accessor functions
Lennart Poettering [Fri, 1 May 2009 02:13:15 +0000 (04:13 +0200)]
endian: fix LE/BE order for 24 bit accessor functions

15 years agozeroconf: properly unref native protocol object
Lennart Poettering [Fri, 1 May 2009 02:12:45 +0000 (04:12 +0200)]
zeroconf: properly unref native protocol object

15 years agosample: correctly pass s24-32 formats
Lennart Poettering [Fri, 1 May 2009 02:12:24 +0000 (04:12 +0200)]
sample: correctly pass s24-32 formats

15 years agoalsa: don't hit an assert when invalid module arguments are passed
Lennart Poettering [Fri, 1 May 2009 02:11:30 +0000 (04:11 +0200)]
alsa: don't hit an assert when invalid module arguments are passed

15 years agozeroconf: use pa_get_{user|host}_name_malloc() where applicable
Lennart Poettering [Thu, 30 Apr 2009 00:37:05 +0000 (02:37 +0200)]
zeroconf: use pa_get_{user|host}_name_malloc() where applicable

15 years agozeroconf: copy more sink/source properties into DNS-SD TXT data
Lennart Poettering [Thu, 30 Apr 2009 00:36:40 +0000 (02:36 +0200)]
zeroconf: copy more sink/source properties into DNS-SD TXT data

15 years agozeroconf: computer native protocol port automatically
Lennart Poettering [Thu, 30 Apr 2009 00:36:02 +0000 (02:36 +0200)]
zeroconf: computer native protocol port automatically

15 years agoheaders: minor cleanups
Lennart Poettering [Thu, 30 Apr 2009 00:33:49 +0000 (02:33 +0200)]
headers: minor cleanups

15 years agorygel: get rid of forgotten debug trap
Lennart Poettering [Wed, 29 Apr 2009 23:39:02 +0000 (01:39 +0200)]
rygel: get rid of forgotten debug trap

15 years agorygel: instead of always handing out wildcard address find out the actual address...
Lennart Poettering [Wed, 29 Apr 2009 23:36:05 +0000 (01:36 +0200)]
rygel: instead of always handing out wildcard address find out the actual address we are listening on

15 years agohttp: export information about currently active server strings
Lennart Poettering [Wed, 29 Apr 2009 23:35:18 +0000 (01:35 +0200)]
http: export information about currently active server strings

15 years agostrlist: add new calls pa_strlist_{next|data}()
Lennart Poettering [Wed, 29 Apr 2009 23:33:56 +0000 (01:33 +0200)]
strlist: add new calls pa_strlist_{next|data}()

15 years agoparseaddr: add new call pa_is_ip_address()
Lennart Poettering [Wed, 29 Apr 2009 23:33:21 +0000 (01:33 +0200)]
parseaddr: add new call pa_is_ip_address()

15 years agorygel: make server name configurable
Lennart Poettering [Wed, 29 Apr 2009 21:48:40 +0000 (23:48 +0200)]
rygel: make server name configurable

15 years agorygel: add module that interfaces with Rygel UPnP
Lennart Poettering [Wed, 29 Apr 2009 21:23:25 +0000 (23:23 +0200)]
rygel: add module that interfaces with Rygel UPnP

15 years agohttp: split out mime type handling calls
Lennart Poettering [Wed, 29 Apr 2009 21:22:08 +0000 (23:22 +0200)]
http: split out mime type handling calls

15 years agoprotocol-http: allow listening into sinks/sources via HTTP
Lennart Poettering [Wed, 29 Apr 2009 02:15:24 +0000 (04:15 +0200)]
protocol-http: allow listening into sinks/sources via HTTP

15 years agoioline: add new calls pa_ioline_detach_iochannel() and pa_ioline_is_drained()
Lennart Poettering [Wed, 29 Apr 2009 02:14:52 +0000 (04:14 +0200)]
ioline: add new calls pa_ioline_detach_iochannel() and pa_ioline_is_drained()

15 years agoioline: add callback that can be called when the ioline object is fully drained
Lennart Poettering [Wed, 29 Apr 2009 02:14:23 +0000 (04:14 +0200)]
ioline: add callback that can be called when the ioline object is fully drained

15 years agosimple-protocol: don't hit an assert when we call connection_unlink() early
Lennart Poettering [Wed, 29 Apr 2009 02:13:07 +0000 (04:13 +0200)]
simple-protocol: don't hit an assert when we call connection_unlink() early

15 years agoprotocol-http: substantial modernizations
Lennart Poettering [Wed, 29 Apr 2009 00:00:19 +0000 (02:00 +0200)]
protocol-http: substantial modernizations

15 years agoalsa: allow configuration of fallback device strings in profiles
Lennart Poettering [Tue, 28 Apr 2009 23:58:18 +0000 (01:58 +0200)]
alsa: allow configuration of fallback device strings in profiles

This has the benefit that we can properly support ALSA devices where
only the raw 'hw' device exists but no 'front' although it's a proper
2ch stereo device.

15 years agoprotocol-native,proplist-util: port to pa_get_{user|host}_name_malloc()
Lennart Poettering [Tue, 28 Apr 2009 23:56:02 +0000 (01:56 +0200)]
protocol-native,proplist-util: port to pa_get_{user|host}_name_malloc()

15 years agocore-util: introduce pa_get_host_name_malloc() and pa_get_user_name_malloc()
Lennart Poettering [Tue, 28 Apr 2009 23:54:44 +0000 (01:54 +0200)]
core-util: introduce pa_get_host_name_malloc() and pa_get_user_name_malloc()

15 years agomemtrap: implicitly page align memory areas
Lennart Poettering [Tue, 28 Apr 2009 23:53:28 +0000 (01:53 +0200)]
memtrap: implicitly page align memory areas

15 years agomacro: make pa_page_align roung up instead of down
Lennart Poettering [Tue, 28 Apr 2009 23:52:28 +0000 (01:52 +0200)]
macro: make pa_page_align roung up instead of down

15 years agomacro: add new macro pa_align_ptr()
Lennart Poettering [Tue, 28 Apr 2009 23:52:11 +0000 (01:52 +0200)]
macro: add new macro pa_align_ptr()

15 years agoshm: minor modernizations
Lennart Poettering [Tue, 28 Apr 2009 23:49:22 +0000 (01:49 +0200)]
shm: minor modernizations

15 years agoshm: page align shm size when mmap()ing it
Lennart Poettering [Tue, 28 Apr 2009 23:49:02 +0000 (01:49 +0200)]
shm: page align shm size when mmap()ing it

15 years agostrbuf: add new call pa_strbuf_putc()
Lennart Poettering [Tue, 28 Apr 2009 23:46:51 +0000 (01:46 +0200)]
strbuf: add new call pa_strbuf_putc()

15 years agoidxset: add enumeration macro PA_IDXSET_FOREACH
Lennart Poettering [Tue, 28 Apr 2009 23:46:12 +0000 (01:46 +0200)]
idxset: add enumeration macro PA_IDXSET_FOREACH

15 years agobuild-system: move x11 and jack modules into subdirectories
Lennart Poettering [Tue, 28 Apr 2009 00:29:01 +0000 (02:29 +0200)]
build-system: move x11 and jack modules into subdirectories

15 years agobuild-system: hide .version from git
Lennart Poettering [Fri, 24 Apr 2009 15:51:43 +0000 (17:51 +0200)]
build-system: hide .version from git

15 years agobuild-system: run make update-shave
Lennart Poettering [Fri, 24 Apr 2009 15:51:00 +0000 (17:51 +0200)]
build-system: run make update-shave

15 years agobuild: there is no such thing as SHAVE_OUTPUT anymore
Marc-André Lureau [Thu, 23 Apr 2009 15:09:07 +0000 (18:09 +0300)]
build: there is no such thing as SHAVE_OUTPUT anymore

15 years agobuild: generate git tarball using git describe
Marc-André Lureau [Thu, 23 Apr 2009 16:23:11 +0000 (19:23 +0300)]
build: generate git tarball using git describe

15 years agostart-pulseaudio-x11: don't start a local sound server if a remote sound server is...
Lennart Poettering [Wed, 22 Apr 2009 20:05:20 +0000 (22:05 +0200)]
start-pulseaudio-x11: don't start a local sound server if a remote sound server is configured

15 years agomemtrap,aupdate: split atomic update from memtrap into seperate aupdate framework
Lennart Poettering [Wed, 22 Apr 2009 17:10:09 +0000 (19:10 +0200)]
memtrap,aupdate: split atomic update from memtrap into seperate aupdate framework

15 years agoi18n: run make update-po
Lennart Poettering [Tue, 21 Apr 2009 21:04:18 +0000 (23:04 +0200)]
i18n: run make update-po

15 years agoi18n: add missing file to LINGUAS ... again
Lennart Poettering [Tue, 21 Apr 2009 21:04:04 +0000 (23:04 +0200)]
i18n: add missing file to LINGUAS ... again

15 years agoMerge commit 'origin/master-tx'
Lennart Poettering [Tue, 21 Apr 2009 21:02:25 +0000 (23:02 +0200)]
Merge commit 'origin/master-tx'

15 years agomemtrap: add a bit of documentation for memtrap
Lennart Poettering [Tue, 21 Apr 2009 21:02:17 +0000 (23:02 +0200)]
memtrap: add a bit of documentation for memtrap

15 years agomemtrap: fix parameter type
Lennart Poettering [Tue, 21 Apr 2009 21:02:02 +0000 (23:02 +0200)]
memtrap: fix parameter type

15 years agomemtrap: hook up core to memtrap system
Lennart Poettering [Tue, 21 Apr 2009 20:56:08 +0000 (22:56 +0200)]
memtrap: hook up core to memtrap system

15 years agomemtrap: make installation of SIGBUS handler explicit to ease integration into libraries
Lennart Poettering [Tue, 21 Apr 2009 20:54:44 +0000 (22:54 +0200)]
memtrap: make installation of SIGBUS handler explicit to ease integration into libraries

15 years agomemtrap: when we fail to handle sigbus say so
Lennart Poettering [Tue, 21 Apr 2009 19:36:29 +0000 (21:36 +0200)]
memtrap: when we fail to handle sigbus say so

15 years agomemtrap: add new logic to trap and handle SIGBUS
Lennart Poettering [Tue, 21 Apr 2009 19:33:32 +0000 (21:33 +0200)]
memtrap: add new logic to trap and handle SIGBUS

15 years agosemaphore: introduce static semaphores
Lennart Poettering [Tue, 21 Apr 2009 19:25:27 +0000 (21:25 +0200)]
semaphore: introduce static semaphores

15 years agomutex: add initializer for static mutexes
Lennart Poettering [Tue, 21 Apr 2009 19:25:01 +0000 (21:25 +0200)]
mutex: add initializer for static mutexes

15 years agomutex: when we fail to fill in mutex into static mutex ptr free it again
Lennart Poettering [Tue, 21 Apr 2009 19:24:33 +0000 (21:24 +0200)]
mutex: when we fail to fill in mutex into static mutex ptr free it again

15 years agollist: add PA_LLIST_FOREACH
Lennart Poettering [Tue, 21 Apr 2009 19:23:53 +0000 (21:23 +0200)]
llist: add PA_LLIST_FOREACH

15 years agoSending translation for Italian
marionline [Mon, 20 Apr 2009 20:33:02 +0000 (20:33 +0000)]
Sending translation for Italian

15 years agoSending translation for po/uk.po
mvdz [Sun, 19 Apr 2009 20:21:59 +0000 (20:21 +0000)]
Sending translation for po/uk.po

15 years agoobject: revert to old unref() behaviour
Lennart Poettering [Sun, 19 Apr 2009 18:09:03 +0000 (20:09 +0200)]
object: revert to old unref() behaviour

This mostly reverts these two commits:

eb04d0fda6f6ee7998bcf290750a299c566fbb19
12c5afe0382ded41de5283e0a8711155adf7ee64

15 years agoobject: fix ref counting of objects on destruction
Lennart Poettering [Sun, 19 Apr 2009 17:33:15 +0000 (19:33 +0200)]
object: fix ref counting of objects on destruction

15 years agoalsa: remove debug code
Lennart Poettering [Sun, 19 Apr 2009 17:25:42 +0000 (19:25 +0200)]
alsa: remove debug code

15 years agoalsa: properly convert return values of snd_strerror() to utf8
Lennart Poettering [Sun, 19 Apr 2009 17:22:51 +0000 (19:22 +0200)]
alsa: properly convert return values of snd_strerror() to utf8

15 years agolog: use pa_logl() instead of pa_log_level()
Lennart Poettering [Sun, 19 Apr 2009 17:05:25 +0000 (19:05 +0200)]
log: use pa_logl() instead of pa_log_level()

15 years agolog: print file name only when we have it
Lennart Poettering [Sun, 19 Apr 2009 17:04:50 +0000 (19:04 +0200)]
log: print file name only when we have it

15 years agoutil: if NULL is passed to pa_path_get_filename() just hand it through
Lennart Poettering [Sun, 19 Apr 2009 17:02:16 +0000 (19:02 +0200)]
util: if NULL is passed to pa_path_get_filename() just hand it through

15 years agoreserve-device: allow building without D-Bus
Erich Boleyn [Thu, 16 Apr 2009 06:02:59 +0000 (23:02 -0700)]
reserve-device: allow building without D-Bus

Lennart Poettering <lennart@poettering.net> wrote:

> On Wed, 15.04.09 16:26, Erich Boleyn (erich@uruk.org) wrote:
>
> > Just noticed the new 0.9.15 release, got it building on Gentoo, and then
> > found that the non-dbus build's ALSA modules appear to be broken:
...
> > Is this something that can stubbed out (relatively) safely?
>
> Hmm, yes. As it seems I broke the build for non-dbus builds. Should be
> easy to fix. Best way is probably to make the reserver wrapper mostly
> a noop if D-Bus is not available.
>
> Please understand that I don't really focus on making every weird
> combination of build deps work. So I won't fix this for you. But I am
> happy to merge good patches!

No problem, I was mainly looking for a hint that to your knowledge there
should be no wierd side-effects from stubbing out the reserve and dbus
functions inside reserve_wrapper.  Thanks for said hint.  ;-)

Attached is a patch to include "reserve_wrapper.[ch]" in the non-dbus
builds, and do said stubbing when HAVE_DBUS is not defined.  It has
passed moderate testing:  built both versions, both pass
"pulseaudio --dump-modules" with no weird messages, and the
"--disable-dbus" build works and produces audio as expected in some
simple tests including RTP.

15 years agosolaris: 0.9.15 solaris module build failure
Finn Thain [Fri, 17 Apr 2009 12:58:30 +0000 (22:58 +1000)]
solaris: 0.9.15 solaris module build failure

Lennart wrote,

>
> Hmm, yes. As it seems I broke the build for non-dbus builds.

Well, you also broke the solaris module between 0.9.15-test8 and 0.9.15.

Have you considered release candidates?

Patch follows. It would be nice if API changes could be made without
breaking things when the effort to avoid that is trivial.

Finn

15 years agoobject: keep refcount at 1 while destructing objects
Lennart Poettering [Sat, 18 Apr 2009 21:24:36 +0000 (23:24 +0200)]
object: keep refcount at 1 while destructing objects

15 years agocore-util: handle EINTR already inside of pa_read/pa_write
Lennart Poettering [Sat, 18 Apr 2009 21:21:05 +0000 (23:21 +0200)]
core-util: handle EINTR already inside of pa_read/pa_write

15 years agoSending translation for Spanish
beckerde [Sat, 18 Apr 2009 17:30:04 +0000 (17:30 +0000)]
Sending translation for Spanish

15 years agoSending translation for po/LINGUAS
fab [Sat, 18 Apr 2009 11:02:08 +0000 (11:02 +0000)]
Sending translation for po/LINGUAS

15 years agoSending translation for po/de_CH.po
fab [Sat, 18 Apr 2009 10:56:13 +0000 (10:56 +0000)]
Sending translation for po/de_CH.po

15 years agoSending translation for German
fab [Sat, 18 Apr 2009 10:45:06 +0000 (10:45 +0000)]
Sending translation for German

15 years agobluetoth-device: be less strict on CONNECTED state to switch profile
Marc-André Lureau [Sat, 4 Apr 2009 14:56:36 +0000 (17:56 +0300)]
bluetoth-device: be less strict on CONNECTED state to switch profile

15 years agopulse/context: when NOFAIL, don't try_next_connection() if c->client
Marc-André Lureau [Fri, 17 Apr 2009 12:47:27 +0000 (15:47 +0300)]
pulse/context: when NOFAIL, don't try_next_connection() if c->client

15 years agorescue-streams: when one stream move fails try to continue with the remaining ones
Lennart Poettering [Fri, 17 Apr 2009 18:30:09 +0000 (20:30 +0200)]
rescue-streams: when one stream move fails try to continue with the remaining ones

15 years agoSending translation for Dutch
warrink [Wed, 15 Apr 2009 19:05:06 +0000 (19:05 +0000)]
Sending translation for Dutch

15 years agoSending translation for Dutch
warrink [Tue, 14 Apr 2009 17:35:24 +0000 (17:35 +0000)]
Sending translation for Dutch

15 years agoSending translation for Polish
raven [Tue, 14 Apr 2009 15:11:38 +0000 (15:11 +0000)]
Sending translation for Polish

15 years agoadd a few missing initializations
Lennart Poettering [Mon, 13 Apr 2009 23:23:07 +0000 (01:23 +0200)]
add a few missing initializations

15 years agoexplcitly ignore return values of some functions marked with gcc's warn_unused_result...
Lennart Poettering [Mon, 13 Apr 2009 23:22:42 +0000 (01:22 +0200)]
explcitly ignore return values of some functions marked with gcc's warn_unused_result attribute

15 years agobump version for final 0.9.15 release
Lennart Poettering [Mon, 13 Apr 2009 23:10:47 +0000 (01:10 +0200)]
bump version for final 0.9.15 release

15 years agocore: when applying delay memblockq take monitored sink latency into account
Lennart Poettering [Mon, 13 Apr 2009 23:04:17 +0000 (01:04 +0200)]
core: when applying delay memblockq take monitored sink latency into account

15 years agopacat: add missing newline
Lennart Poettering [Mon, 13 Apr 2009 23:03:34 +0000 (01:03 +0200)]
pacat: add missing newline

15 years agocore: use pa_{source|sink}_get_latency_within_thread() at one more place
Lennart Poettering [Mon, 13 Apr 2009 23:03:10 +0000 (01:03 +0200)]
core: use pa_{source|sink}_get_latency_within_thread() at one more place

15 years agosort LINGUAS
Lennart Poettering [Mon, 13 Apr 2009 21:41:05 +0000 (23:41 +0200)]
sort LINGUAS

15 years agorun make update-po
Lennart Poettering [Mon, 13 Apr 2009 21:10:08 +0000 (23:10 +0200)]
run make update-po

15 years agoupdate LINGUAS
Lennart Poettering [Mon, 13 Apr 2009 21:08:05 +0000 (23:08 +0200)]
update LINGUAS

15 years agoMerge commit 'origin/master-tx'
Lennart Poettering [Mon, 13 Apr 2009 21:07:27 +0000 (23:07 +0200)]
Merge commit 'origin/master-tx'

15 years agocore: introduce new 'reference' volume for sinks
Lennart Poettering [Mon, 13 Apr 2009 20:50:24 +0000 (22:50 +0200)]
core: introduce new 'reference' volume for sinks

The reference volume is to be used as reference volume for stored stream
volumes. Previously if a new stream was created the relative volume was
taken relatively to the virtual device volume. Due to the flat volume
logic this could then be fed back to the virtual device volume.
Repeating the whole story over and over would result in a device volume
that would go lower, and lower and lower.

This patch introduces a 'reference' volume for each sink which stays
unmodified by stream volume changes even if flat volumes are used. It is
only modified if the sink volumes are modified directly by the user.

For further explanations see http://pulseaudio.org/wiki/InternalVolumes

15 years agoalsa: include the alsa mixer control that is used in the property list
Lennart Poettering [Mon, 13 Apr 2009 20:48:29 +0000 (22:48 +0200)]
alsa: include the alsa mixer control that is used in the property list

15 years agoalsa: store mixer controls to use in profile data
Lennart Poettering [Mon, 13 Apr 2009 20:46:39 +0000 (22:46 +0200)]
alsa: store mixer controls to use in profile data

This allows us to easily use different mixer controls for analog and
spdif output.

15 years agoalsa: when passing emptry mixer control name, force sw volume
Lennart Poettering [Mon, 13 Apr 2009 20:45:31 +0000 (22:45 +0200)]
alsa: when passing emptry mixer control name, force sw volume