Commit graph

558 commits

Author SHA1 Message Date
Lennart Poettering
a3695dd9eb port missing modules to new pa_client_new() API 2009-01-15 18:21:57 +01:00
Lennart Poettering
75119e91cd add new dont_rewind_render flag to allow quick starts of newly created streams 2009-01-15 00:40:06 +01:00
Lennart Poettering
587a08bae4 Fix a typo I know owe Marc-Andre a beer for. 2009-01-14 00:54:38 +01:00
Colin Guthrie
df564040b5 Fix a potentially non-returning function in base64 code. 2009-01-13 23:39:17 +00:00
Lennart Poettering
ab97364210 remove calc_sine() since we don't need it anymore 2009-01-14 00:07:50 +01:00
Lennart Poettering
407b4fe5be fix calculation of avail_min 2009-01-14 00:06:40 +01:00
Lennart Poettering
f67066b362 Port sine modules to pa_memchunk_sine() 2009-01-12 19:49:50 +01:00
Lennart Poettering
8a3dc57df2 make module-sine-source actually work 2009-01-10 03:33:10 +01:00
Lennart Poettering
c2002dcd1f Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio 2009-01-08 21:18:15 +01:00
Lennart Poettering
9fc726c6d7 Add new test source module-sine-source 2009-01-08 21:17:58 +01:00
Lennart Poettering
e5c093897e A few minor cleanups and updates 2009-01-08 21:13:18 +01:00
Marc-André Lureau
7e6309c77c bluetooth: Update sbc from git upstream.
It contains encoding fixes, pass the conformance tests, and is now
vectorizable. Next update might include SSE and/or Neon code.
2009-01-08 19:17:37 +02:00
Lennart Poettering
c2450501af Prefer mixer controls with volumes over switches
When we look for a mixer control prefer controls that have both volume
and a mute switch over those that have only a volume switch over those
that only have a mute switch.

Originally pointed out by Adel Gadllah.
2009-01-08 01:03:42 +01:00
Luiz Augusto von Dentz
e7e6f86bbe Fix sending wrong codec capability length. 2009-01-06 11:02:16 -03:00
Luiz Augusto von Dentz
1a96c9b0a6 Fix send and recv message sizes. 2009-01-06 11:00:44 -03:00
Luiz Augusto von Dentz
be49c92a38 Send packets with proper size. 2009-01-05 19:12:43 -03:00
Tom Bamford
fe2b8c359b Multicast SDP packets sent with same IP TTL as RTP packets
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-05 19:56:01 +01:00
Lennart Poettering
fb4c111d18 Implement base_volume for ALSA sinks/sources 2008-12-24 00:57:37 +01:00
Lennart Poettering
f24e4c19c3 Merge commit 'vudentz/master' 2008-12-23 18:31:12 +01:00
Lennart Poettering
c2bd8dc517 fix a gcc warning 2008-12-23 15:15:21 +01:00
Lennart Poettering
22c3373713 If we cannot open an ALSA device with SND_PCM_NO_AUTO_FORMAT retry without
This should fix compatibility with some sound cards which only support
24 bit packed samples.
2008-12-23 15:14:28 +01:00
Luiz Augusto von Dentz
7323e1a0a8 Update module-bluetooth-device to the new ipc. 2008-12-22 14:24:07 -03:00
Lennart Poettering
606c9caa0b Implement PA_SOURCE_MESSAGE_GET_LATENCY
The pipe source needs to implement PA_SOURCE_MESSAGE_GET_LATENCY since
we'll otherwise hit an assert.

Closes #424.
2008-12-21 13:34:56 +01:00
Lennart Poettering
10cc4ba1ca Use FIONREAD instead of TIOCINQ
On Linux the two ioctls FIONREAD and TIOCINQ share the same number.
However TIOCINQ is used for terminals while FIONREAD is used (among
others) for sockets and pipes. Hence use FIONREAD here since it seems
more appropriate.
2008-12-21 13:33:32 +01:00
Lennart Poettering
d71d79cd45 downgrade a few warnings 2008-12-17 22:58:17 +01:00
Lennart Poettering
906d06bd24 it's better to always use the index of a module instead of the pa_module* 2008-12-17 21:32:40 +01:00
Lennart Poettering
f5d40fa448 unload tunnel modules from a new stack frame 2008-12-17 21:27:07 +01:00
Lennart Poettering
b95539b18b actually unload the modules from a new stack frame 2008-12-17 21:20:51 +01:00
Lennart Poettering
86c6fd85f1 Don't store pointer to pa_module
pa_module pointers might become invalid at any time, so we use the
stable uin32_t index of the module for identifying or modules instead.
2008-12-17 21:19:53 +01:00
Luiz Augusto von Dentz
dcd498c5ad Fix bug walking on module list. 2008-12-17 21:06:46 +01:00
Lennart Poettering
3f20a152be Pass GDBM_NOLOCK to gdbm
gdbm still uses BSD lockf for locking which is incompatible with NFS.
Since we don't need the locking here since the db files in question
should never be accessed by more than one process since they are
per-home-dir and per-machine we can disable locking without any ill
results.

This should fix rhbz #471279.
2008-12-17 20:22:42 +01:00
Lennart Poettering
adc2973c8d Implement new flags DONT_INHIBIT_AUTO_SUSPEND and START_UNMUTED 2008-10-26 19:32:04 +01:00
Lennart Poettering
3294c89adb warn if ALSA wakes us up and there is actually nothing to do 2008-10-22 23:55:52 +02:00
Lennart Poettering
ef9f3f6ec4 Try to catch certain driver errors
... by verifying return values of snd_pcm_avail_update() and
snd_pcm_begin_mmap() for their sanenness.
2008-10-21 20:00:36 +02:00
Lennart Poettering
c7ed771a98 fix arguments to format string 2008-10-21 18:28:19 +02:00
Lennart Poettering
4ee5e06f38 implement may_move_to for ladspa/remap sinks 2008-10-21 18:25:26 +02:00
Lennart Poettering
60c2a82462 Merge commit 'vudentz/master' 2008-10-13 19:55:11 +02:00
Colin Guthrie
d8465f2c4f Fix two typos that broke tunnels
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-10-13 19:53:45 +02:00
Lennart Poettering
5a5d2884e0 properly remove dbus matches an filters when unloading m-b-d 2008-10-13 19:52:02 +02:00
Luiz Augusto von Dentz
931cbd19f2 Fix possible invalid read while attempting to load module-bluetooth-device. 2008-10-09 19:31:43 -03:00
Lennart Poettering
8e3e88df8b Merge commit 'coling/airtunes-0.9.13' 2008-10-08 23:03:16 +02:00
Colin Guthrie
59eb64987f Follow master change r34dd4a and fix shutdown when --disallow-module-loading=1 is passed 2008-10-08 20:37:43 +01:00
Colin Guthrie
8715121755 Modularise the RAOP stuff that requires OpenSSL and make it optional at compile time 2008-10-08 20:37:43 +01:00
Colin Guthrie
c3d8bb5b34 Remove $Id$ lines left over from SVN 2008-10-08 20:36:24 +01:00
Colin Guthrie
19d2831973 Make module-raop-sink/discover work with 0.9.11 API 2008-10-08 20:36:24 +01:00
Colin Guthrie
ded09d1f9b Implement hardware volume control.
This allows near instant change of volume when controlling the hardware but the stream volume still suffers from a sizable delay.
2008-10-08 20:36:24 +01:00
Colin Guthrie
e543e04ca7 Implement a set volume function to expose this capability to higher layers 2008-10-08 20:36:24 +01:00
Colin Guthrie
36f2aad5f0 Use the new pa_namereg_make_valid_name() function. 2008-10-08 20:36:24 +01:00
Colin Guthrie
0ff75aea05 Add Lennart back in to Copyright as I copied these files from his originals and was a bit overzealous in changing things ;)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2520 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-10-08 20:35:47 +01:00
Colin Guthrie
729bbaf884 Automatic discovery of airtunes devices via Bonjour/Avahi.
This also does some minor reordering in the Makefile.am
Refs #69

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2519 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-10-08 20:35:47 +01:00