Commit graph

978 commits

Author SHA1 Message Date
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
Marc-André Lureau
b4c391ee5e bluetooth: don't crash on pa_thread_mq_done() if pa_init() fail 2009-02-18 15:20:48 +02:00
Marc-André Lureau
b51e6135e8 bluetooth: update SBC from upstream 2009-02-18 15:20:08 +02:00
Lennart Poettering
0b8a6c66dc bluetooth: fix message queue/rtpoll 2009-02-16 14:17:02 +02:00
Lennart Poettering
a571565f86 don't open the alsa devices in hw:xxx mode 2009-02-15 20:34:38 +01:00
Lennart Poettering
6790c03f91 unify ALSA mixer initialization 2009-02-14 00:21:36 +01:00
Iain Hibbert
dc590c7d0a Optionally disable IPv6
Closes #79
2009-02-13 21:58:09 +01:00
Lennart Poettering
44bca66c59 make PA_GCC_PACKED and PA_GCC_MALLOC actually work 2009-02-13 18:02:47 +01:00
Lennart Poettering
433751ff25 add a module that forwards cork/uncork requests to X11 as fake pause/resume key events 2009-02-13 02:39:07 +01:00
Lennart Poettering
4fab9bf238 add full set of argument description 2009-02-12 23:14:24 +01:00
Lennart Poettering
6bb3dc82ba don't try to recycle rtpoll objects 2009-02-12 22:52:02 +01:00