Commit graph

1255 commits

Author SHA1 Message Date
Lennart Poettering
3e8c7ac65f Ignore HAL NoSuchProperty errors when looking for capabilities field. Closes rhbz #489394 2009-03-19 12:38:36 +01:00
Marc-André Lureau
9e93b9ce0b bluetooth: stream also when source is suspended 2009-03-05 18:19:39 +02:00
Marc-André Lureau
018cadd337 bluetooth: restart timer when write begin 2009-03-05 18:19:13 +02:00
Marc-André Lureau
362d196093 bluetooth: accept temporarily unavailable error 2009-03-05 17:04:39 +02:00
Marc-André Lureau
2d903bae9a bluetooth: s/handled/not_yet_handled for signals 2009-03-05 16:16:38 +02:00
Marc-André Lureau
12ea5707b5 bluetooth: reset read/write index when starting to stream 2009-03-05 15:47:13 +02:00
Marc-André Lureau
7a8be7f91e bluetooth: don't init profile when off 2009-03-04 17:16:10 +02:00
Marc-André Lureau
683548e8bc bluetooth: service_fd could be 0 2009-03-04 17:07:45 +02:00
Marc-André Lureau
fa736887f4 bluetooth: hsp case, check l for appropriate error message 2009-03-04 17:07:45 +02:00
Lennart Poettering
656fc6660f never try to suspend monitor sources, suspend the sinks they belong to instead 2009-03-04 05:32:26 +01:00
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
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
Colin Guthrie
86dee05aec Use LGPL 2.1 on all files previously using LGPL 2 2009-03-03 20:23:02 +00:00
Lennart Poettering
7794108d17 Merge commit 'coling/master' 2009-03-02 16:28:08 +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
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
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
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
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
fb49399a0c Merge commit 'coling/master' 2009-02-24 00:26:07 +01:00
Lennart Poettering
023ba8975b use pa_alsa_safe_delay() where appropriate 2009-02-23 22:56:34 +01:00
Lennart Poettering
33601afbb1 print driver name when we encounter driver bugs 2009-02-23 22:56:09 +01:00
Lennart Poettering
557a90c487 add new wrapper pa_alsa_safe_delay() around snd_pcm_delay() 2009-02-23 22:55:33 +01:00
Lennart Poettering
5cc9d970c8 add new function pa_alsa_get_driver_name_by_pcm() 2009-02-23 22:54:28 +01:00
Colin Guthrie
4ebc6cf86e Remove references to trademarked terms.
According to http://www.apple.com/legal/trademark/appletmlist.html we could run into
problems for using these terms without also displaying a corresponding disclaimer/attribution
notice. This is difficult in the context of a headless server, so simply don't use such terms.

In GUI apps which can enable this functionality we should use the relevant terminology, and
display the appropriate attribution notices.
2009-02-22 16:08:43 +00:00
Lennart Poettering
2d9ae496c9 rework suspending/resuming 2009-02-22 02:00:25 +01:00
Lennart Poettering
504384a041 initialize selem index 2009-02-22 00:45:34 +01:00
Lennart Poettering
194d8991d7 make sure we don't choke on overly long lines in .desktop files 2009-02-21 23:47:08 +01:00
Lennart Poettering
1a45569b3e prefer profiles that match the default channel map 2009-02-21 16:36:48 +01:00
Lennart Poettering
14ee8d471a print warnings about driver bugs at most once 2009-02-21 16:33:46 +01:00
Lennart Poettering
4505bc9cc6 introduce default channel map in addition to the default sample spec 2009-02-21 16:32:42 +01:00
Marc-André Lureau
9f89907bfa bluetooth: fix suspend on a2dp (to do on HSP non SCO over PCM)
- s/setup_stream_fd/start_stream_fd

 - introduce stop_stream_fd to suspend properly the stream_fd (does
   not seem necessary when shuting down)

 - move {start,stop}_stream_fd to IO thread, it is also a good idea
   because it takes about 1s to setup.
2009-02-20 03:32:25 +01:00
Lennart Poettering
7bc1847596 Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio 2009-02-20 03:21:46 +01:00