Commit graph

978 commits

Author SHA1 Message Date
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
Lennart Poettering
f204c0fe43 mark null sink as support dynamic latency 2009-04-07 00:48:09 +02:00
Lennart Poettering
298bd0b0c6 adjust max_rewind/max_request whenever the latency changes 2009-04-07 00:47:55 +02:00
Lennart Poettering
e976034063 send the source latency based on the MTU size 2009-04-07 00:47:13 +02:00
Lennart Poettering
886ddc33d8 make sure we don't apply sampling rate fixes that bring the sampling freq > PA_RATE_MAX
Fixes #525
2009-04-06 23:02:50 +02:00
Lennart Poettering
daa945aa32 don't fail device reservation if the D-Bus connection is dead 2009-04-06 04:21:26 +02:00
Lennart Poettering
6ba3333030 Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio 2009-04-05 03:05:51 +02:00
Lennart Poettering
d035f4a3f3 Modify smoothing code to make cubic interpolation optional and allow 'quick fixups' on resuming
The primary reason for this change is to allow time graphs that do not
go through the origin and hence smoothing starting from the origin is
not desired. This change will allow passing time data into the smoother
while paused and then abruptly use that data without smoothing using the
'quick fixup' flag when resuming.

Primary use case is allowing recording time graphs where the data
recorded originates from a time before the stream was created. The
resulting graft will be shifted and should not be smoothened to go
through the origin.
2009-04-05 02:26:02 +02:00
Lennart Poettering
ca39fa2c6f initialize sound cards only after the 'control' object appeared 2009-04-04 04:13:58 +02:00
Lennart Poettering
77a1e3876b refuse to initialize on modem devices 2009-04-04 04:12:42 +02:00
Maarten Bosmans
8bcb9c6910 various spelling fixes 2009-04-04 02:27:13 +02:00