Commit graph

3714 commits

Author SHA1 Message Date
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
Lennart Poettering
4e86a4c759 run make update-shave 2009-03-02 14:28:43 +01:00
Lennart Poettering
ea1d429c3b add update-shave target 2009-03-02 14:28:26 +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
Lennart Poettering
5c514aaacc make dependency on udev versioned 2009-03-02 14:06:23 +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
Xavier Conde
34cefed126 Updated catalan po
Transmitted-via: Transifex (translate.fedoraproject.org)
2009-02-27 21:42:22 +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
Piotr Drąg
90ffe2d54a Updated Polish translation
Transmitted-via: Transifex (translate.fedoraproject.org)
2009-02-24 23:36:39 +00:00
Lennart Poettering
e8d7c50c00 forgot to bump the revision 2009-02-24 23:02:56 +01:00
Lennart Poettering
3d04300c1b hide shave in gitignore 2009-02-24 22:35:13 +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
7f5fff943f Merge commit 'elmarco/shave' 2009-02-24 11:43:15 +01:00
Lennart Poettering
71263929cb ignore tags file 2009-02-24 11:35:47 +01:00
Lennart Poettering
07a45c7e12 run make update-po 2009-02-24 11:35:01 +01:00
Lennart Poettering
364786ee8c Merge commit 'origin/master-tx' 2009-02-24 11:33:05 +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