Commit graph

1038 commits

Author SHA1 Message Date
Marc-André Lureau
4c3aef367b suspend-on-idle: add per-device timeout property 2009-05-12 01:33:37 +02:00
Lennart Poettering
37c36202c6 upnp: rework property handling 2009-05-11 20:01:05 +02:00
Lennart Poettering
35b7ce56ed upnp: use new rygel @HOSTNAME@ wildcard for server name 2009-05-11 20:00:43 +02:00
Lennart Poettering
dc5dce50ea upnp: properly issue method not found exception when we don't now it 2009-05-11 20:00:02 +02:00
Lennart Poettering
98a6454166 upnp: update to newest spec, generate 'Updated' signal 2009-05-11 19:59:14 +02:00
Lennart Poettering
6c4c61de2c upnp: fix URL of MediaServer spec 2009-05-11 19:57:00 +02:00
Jyri Sarha
44e566ade8 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.
2009-05-08 22:49:42 +02:00
Lennart Poettering
3766850c8b 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().
2009-05-08 02:04:48 +02:00
Lennart Poettering
4bffc7849f alsa: initialize buffer size before number of periods to improve compat with some backends 2009-05-01 04:16:17 +02:00
Lennart Poettering
947bf5de6c zeroconf: properly unref native protocol object 2009-05-01 04:12:45 +02:00
Lennart Poettering
4129f51194 alsa: don't hit an assert when invalid module arguments are passed 2009-05-01 04:11:30 +02:00
Lennart Poettering
5a2898db8a zeroconf: use pa_get_{user|host}_name_malloc() where applicable 2009-04-30 02:37:05 +02:00
Lennart Poettering
3522b7d150 zeroconf: copy more sink/source properties into DNS-SD TXT data 2009-04-30 02:36:40 +02:00
Lennart Poettering
407a8105d0 zeroconf: computer native protocol port automatically 2009-04-30 02:36:02 +02:00
Lennart Poettering
5326f5f3bd rygel: get rid of forgotten debug trap 2009-04-30 01:39:02 +02:00
Lennart Poettering
93db3cba60 rygel: instead of always handing out wildcard address find out the actual address we are listening on 2009-04-30 01:36:05 +02:00
Lennart Poettering
8dfdfd4e1b http: export information about currently active server strings 2009-04-30 01:35:18 +02:00
Lennart Poettering
d5f9057558 rygel: make server name configurable 2009-04-29 23:48:40 +02:00
Lennart Poettering
c95cc9e55f rygel: add module that interfaces with Rygel UPnP 2009-04-29 23:23:25 +02:00
Lennart Poettering
d8710711fb 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.
2009-04-29 01:58:18 +02:00
Lennart Poettering
0368d6e22b build-system: move x11 and jack modules into subdirectories 2009-04-28 02:29:01 +02:00
Lennart Poettering
ad2a0ab40b alsa: remove debug code 2009-04-19 19:25:42 +02:00
Lennart Poettering
98a25c506e alsa: properly convert return values of snd_strerror() to utf8 2009-04-19 19:22:51 +02:00
Erich Boleyn
b03a650160 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.
2009-04-19 02:06:33 +02:00
Finn Thain
1c0667de21 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
2009-04-18 23:54:34 +02:00
Marc-André Lureau
099b3284ec bluetoth-device: be less strict on CONNECTED state to switch profile 2009-04-17 22:41:36 +02:00
Lennart Poettering
d775cf6fd4 rescue-streams: when one stream move fails try to continue with the remaining ones 2009-04-17 20:30:09 +02:00
Lennart Poettering
ca9cd14659 add a few missing initializations 2009-04-14 01:23:07 +02:00
Lennart Poettering
40d71e1f49 explcitly ignore return values of some functions marked with gcc's warn_unused_result attribute 2009-04-14 01:22:42 +02:00
Lennart Poettering
fe8b10cc05 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
2009-04-13 22:56:25 +02:00
Lennart Poettering
49dcf0940e alsa: include the alsa mixer control that is used in the property list 2009-04-13 22:56:25 +02:00
Lennart Poettering
6fd8fd18c2 alsa: store mixer controls to use in profile data
This allows us to easily use different mixer controls for analog and
spdif output.
2009-04-13 22:56:19 +02:00
Lennart Poettering
89f74cb858 alsa: when passing emptry mixer control name, force sw volume 2009-04-13 22:45:31 +02:00
Lennart Poettering
0ac038e591 client-conf-x11: unbreak autospawn due to stale X11 properties
If the X11 property data is from the same session than the client the
client may do autospawning in case the X11 property data is stale.

Closes #518.
2009-04-13 22:28:35 +02:00
Lennart Poettering
17f1784cb7 cork-music-on-phone: make sure that we don't check the refcnt of pa_core when the daemon goes down 2009-04-13 05:12:11 +02:00
Lennart Poettering
62db10c952 lirc: fix logic behind mute buttons 2009-04-13 04:44:27 +02:00
Lennart Poettering
66d21849e6 mmkbd: get rid of support for ancient kernels 2009-04-13 04:43:11 +02:00
Lennart Poettering
f1d3dfb118 mmkbd,lirc: make use of pa_assert_not_reached() 2009-04-13 04:42:33 +02:00
Lennart Poettering
270a6981f7 lirc, mmkbd: extend controllable volume range to PA_VOLUME_MAX 2009-04-13 04:41:51 +02:00
Lennart Poettering
e9dd7a504e lirc: drop lirc_in_use, it's made redundant by PA_MODULE_LOAD_ONCE 2009-04-13 04:38:57 +02:00
Lennart Poettering
d8de5d374e make sure we never overflow when calculating sleep time
Issue pointed out by Jaroslav Kysela
2009-04-13 03:40:46 +02:00
Lennart Poettering
991cb06134 set fixed latencies at more places where appropriate 2009-04-10 02:26:59 +02:00
Lennart Poettering
5388b44b9a alsa: when printing warning about bogus data from alsa include snd_pcm_dump() 2009-04-10 01:58:39 +02:00
Lennart Poettering
ee6657aa9a bluetooth: when starting up HSP stream, send 2 packets first, only afterwards enter one-read-one-write logic 2009-04-10 01:31:30 +02:00
Lennart Poettering
d77b28cb4b bluetooth: rework timing logic, properly implement latency callbacks 2009-04-10 01:30:50 +02:00
Lennart Poettering
e9a4dec81e bluetooth: be a bit more verbose if we exit due to bad poll() revents flag 2009-04-10 01:29:46 +02:00
Lennart Poettering
48cff5b55d bluetooth: rename sco to hsp also for the user 2009-04-10 01:28:21 +02:00
Lennart Poettering
9ee6a41491 bluetooth: memory leak, actually free discovery struct itself 2009-04-10 01:12:12 +02:00
Lennart Poettering
6c04a1c903 bluetooth: make sure to set max_request 2009-04-08 04:15:42 +02:00
Lennart Poettering
2c2713a72c make use of SO_TIMESTAMP timestamp for accuracy and leave smoother paused until we have data 2009-04-07 00:50:47 +02:00