Commit graph

1038 commits

Author SHA1 Message Date
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
Lennart Poettering
26a270a934 big alsa module rework to make things more robust to broken sound drivers and make it easier to debug them 2009-02-20 03:21:17 +01:00
Lennart Poettering
9f813dd5b3 Make sure we actually call _() for translating profile names 2009-02-20 03:18:17 +01:00
Lennart Poettering
fdca6edf20 make profile names translatable 2009-02-20 01:18:37 +01:00
Lennart Poettering
2e250aaebb Merge commit '38ded3bb31' 2009-02-19 05:17:08 +01:00
Marc-André Lureau
7c78c3f658 alsa-util: check if mixer_poll_descriptors_count() < 0 2009-02-19 05:00:37 +01:00
Marc-André Lureau
4722fecb99 rtp: remove unused variable a 2009-02-19 04:58:16 +01:00
Marc-André Lureau
0684b236f0 stream-resotre: don't leak a name 2009-02-19 04:57:51 +01:00
Marc-André Lureau
4512a2ce9c rtp-recv: remove unused variable assignment 2009-02-19 04:55:01 +01:00
Marc-André Lureau
01f81d6973 card-restore: it's not useful to check an array, let's check the length 2009-02-19 04:49:58 +01:00
Marc-André Lureau
83cdcf2f53 alsa-util: make sure we check an initialized cn variable 2009-02-19 04:46:56 +01:00
Marc-André Lureau
7737b10ac6 hal-detect: make sure r is initialized, so we don't take random path 2009-02-19 04:46:42 +01:00
Marc-André Lureau
7d16dcb6cc dbus-util: avoid double free 2009-02-19 04:46:30 +01:00
Lennart Poettering
205b0ba08e split out mixer setup into seperate functions to make things more readable 2009-02-19 04:04:42 +01:00
Lennart Poettering
07333f8cae refer folks to the ALSA devs, not us 2009-02-18 21:50:27 +01:00
Lennart Poettering
dc1ad08a65 minor optimizations 2009-02-18 21:50:09 +01:00
Lennart Poettering
ff58fa8870 simplify pa_alsa_init_proplist_pcm() a bit and include resolution bits in alsa device props 2009-02-18 21:49:31 +01:00
Marc-André Lureau
38ded3bb31 bluetooth: print SBC encoder implementation info
The encoder initialization is done lazily, so we can only get the
information once encoding start. This is abit annoying..
2009-02-18 15:20:48 +02:00