Lennart Poettering
869341729f
various smaller cleanups
2009-03-04 02:55:34 +01:00
Lennart Poettering
c8abe64040
pa_xnew cannot fail -- that's what the x is in the name
2009-03-04 02:52:11 +01:00
Lennart Poettering
946d07211b
document more closely from which context certain functions may be called
2009-03-04 02:51:30 +01:00
Lennart Poettering
f3de61edf6
fix device reservation for system mode
2009-03-03 22:27:05 +01:00
Finn Thain
0329edd179
revive solaris module
...
Hi All,
This patch fixes the solaris audio device source and sink, and fixes some
portability issues that break the build on solaris. Questions and comments
welcomed.
I've tested this patch only with OpenSolaris Express snv 103. Eventually I
hope to be able to test a few older releases and older hardware (though it
is hard to say whether there is much interest in those).
This is my first brush with pulseaudio and so I read the wiki docs and
some of the source code but I'm still unsure of a few things. In
particular I'm wondering about rewind processing, corking and what (if
anything) the module needs for those. I'm also unclear on the implications
of thread_info.buffer_size, .fragment_size and .max_request, and whether
my code is correct or not.
This patch disables link map/library versioning unless ld is GNU ld.
Another approach for solaris would be to use that linker's -M option, but
I couldn't make that work (due to undefined mainloop, browse and simple
symbols when linking pacat. I can post the errors if anyone is intested.)
Thanks,
Finn Thain
2009-03-03 22:27:00 +01:00
Lennart Poettering
ff38eaf677
Merge commit 'coling/lgpl21'
2009-03-03 21:44:56 +01:00
Colin Guthrie
86dee05aec
Use LGPL 2.1 on all files previously using LGPL 2
2009-03-03 20:23:02 +00:00
Lennart Poettering
297515a39e
pass profile priority value to clients
2009-03-03 00:32:10 +01:00
Lennart Poettering
f8a085f5cf
properly handle directed card info requests
2009-03-02 18:11:49 +01:00
Lennart Poettering
7794108d17
Merge commit 'coling/master'
2009-03-02 16:28:08 +01:00
Lennart Poettering
45ae4abe23
run make update-ffmpeg
2009-03-02 14:33:36 +01:00
Lennart Poettering
505df22add
run make update-sbc
2009-03-02 14:32:36 +01:00
Lennart Poettering
e435241290
run update-reserve
2009-03-02 14:31:52 +01:00
Colin Guthrie
c08317772b
Use pa_assert_se() when the containing code has side effects.
...
As reported by rantala. Closes #502 and #503
2009-03-02 13:11:29 +00:00
Lennart Poettering
77514c1c4c
Merge commit 'coling/master'
2009-03-02 14:08:11 +01:00
Colin Guthrie
8a00c00943
raop: Handle the reponse header memory allocation more sensibly.
...
In theory the callback called after reading headers could free our whole object, so we should not
take it upon ourselves to free the headers after the call to the callback.
2009-03-01 23:19:31 +00:00
Colin Guthrie
b75a4b437a
raop: Log teardown explicitly
2009-03-01 23:19:31 +00:00
Colin Guthrie
d293f08442
raop: Allow for nice sink descriptions to be set (interpolated from avahi)
2009-03-01 23:19:31 +00:00
Lennart Poettering
ba4765a0dc
For now don't list icon property (in favour of icon name property) since icon negotiation is probably much more complex (i.e. sizes...) than just putting icon data somewhere.
2009-03-01 21:38:27 +01:00
Lennart Poettering
671b927955
add logic for initializing a useful icon name
2009-03-01 21:38:27 +01:00
Lennart Poettering
784ac5b0da
get additional device data from udev
2009-03-01 21:38:22 +01:00
Lennart Poettering
cc8d51ad62
rename PA_PROP_DEVICE_CONNECTOR to PA_PROP_DEVICE_BUS
2009-03-01 20:32:32 +01:00
Lennart Poettering
cce56ab343
revise form factor list a bit, simplify and use singular everywhere
2009-03-01 20:30:37 +01:00
Lennart Poettering
e00833399f
introduce seperate vendor/product id fields
2009-03-01 20:28:58 +01:00
Lennart Poettering
abdffe9cbe
make example code a bit more robust/change-proof
2009-03-01 20:27:55 +01:00
Colin Guthrie
8fc9b19cb3
Don't assume that device reservation is enabled.
...
In the case when the alsa 'device' is not a physical card, it wont have an index and thus
the reservation name will be NULL and therefore we will not initialise the reservation system.
Fixes #498
2009-02-28 23:51:12 +00:00
Lennart Poettering
116b38c972
Merge commit 'coling/master'
2009-02-27 01:18:04 +01:00
Lennart Poettering
798e39a5b6
when alsa tweaks our sample_spec make sure we adjust the watermark accordingly
2009-02-27 01:15:29 +01:00
Lennart Poettering
1c86267e1f
when an underrun happens, increase watermark by 10ms instead of doubling it
2009-02-27 01:15:06 +01:00
Lennart Poettering
0d8f67b826
revise list of form factors a little
2009-02-27 00:32:32 +01:00
Colin Guthrie
07f98425ba
bluetooth: Fix under linked module-bluetooth-device
2009-02-26 09:02:52 +00:00
Colin Guthrie
dd3c96dede
Fix a very strange 'file not found' error in module-alsa-card.
...
This fixes a regression introduced by commit c341010304
2009-02-26 00:55:01 +00:00
Lennart Poettering
620bf84573
try to vacuum a little when nothing is going on
2009-02-25 09:13:19 +01:00
Lennart Poettering
00839ddaa6
make sure we check the sink status for PA_SINK_INPUT_FAIL_ON_SUSPEND only after module-suspend-on-idle had the chance to resume the device
2009-02-24 22:27:25 +01:00
Lennart Poettering
71263929cb
ignore tags file
2009-02-24 11:35:47 +01:00
Lennart Poettering
8314858183
set reserve interface application device name
2009-02-24 11:29:35 +01:00
Lennart Poettering
03ac71bcad
don't put both the card and the pcm name in the description of a device if one contains the other
2009-02-24 11:29:11 +01:00
Lennart Poettering
ba3c7668a4
update reserve.c from upstream git
2009-02-24 06:36:42 +01:00
Lennart Poettering
c341010304
implement device reservation scheme
2009-02-24 06:13:39 +01:00
Lennart Poettering
3c73025bf5
in case alsa lies to use don't spin forever
2009-02-24 06:11:42 +01:00
Lennart Poettering
ec9f8f10f3
if ALSA gives us nonsensical data at least try to fix it up a little
2009-02-24 06:06:04 +01:00
Lennart Poettering
9eb50701b6
introduce new well-known role 'a11y'
2009-02-24 01:44:46 +01:00
Lennart Poettering
fb49399a0c
Merge commit 'coling/master'
2009-02-24 00:26:07 +01:00
Lennart Poettering
c73887d229
update gitignore
2009-02-24 00:24:31 +01:00
Kelemen Gábor
9372733c98
Make .desktop and .policy file in src/daemon translatable
2009-02-24 00:10:07 +01:00
Kelemen Gábor
1ddf64a481
Make pulseaudio.desktop and org.pulseaudio.policy translatable.
2009-02-24 00:09:45 +01:00
Lennart Poettering
998aa40875
fix handling of stereo
2009-02-23 23:55:16 +01:00
Lennart Poettering
e0b550710a
it's probably more appropriate to return the configured latency instead of the actual latency
2009-02-23 23:55:05 +01:00
Lennart Poettering
385a560c82
complete esd suspend/resume implementation
2009-02-23 23:51:53 +01:00
Lennart Poettering
2e9479b1f3
implement esd sample panning. closes #428
2009-02-23 23:51:29 +01:00