Commit graph

108 commits

Author SHA1 Message Date
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
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
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
Lennart Poettering
504384a041 initialize selem index 2009-02-22 00:45:34 +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
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
Marc-André Lureau
7c78c3f658 alsa-util: check if mixer_poll_descriptors_count() < 0 2009-02-19 05:00:37 +01:00
Marc-André Lureau
83cdcf2f53 alsa-util: make sure we check an initialized cn variable 2009-02-19 04:46:56 +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
Lennart Poettering
6790c03f91 unify ALSA mixer initialization 2009-02-14 00:21:36 +01:00
Lennart Poettering
3d33172791 rate limit underrun messages 2009-02-04 20:55:30 +01:00
Lennart Poettering
e6f4586f7b include ALSA driver in properties for cards/sink 2009-01-30 02:24:58 +01:00
Lennart Poettering
4bd654542e add new function pa_alsa_get_driver_name() 2009-01-30 02:24:40 +01:00
Lennart Poettering
fc3ff11418 fix two typos 2009-01-28 01:39:19 +01:00
Lennart Poettering
98821c783d print the right software volume 2009-01-28 01:31:54 +01:00
Lennart Poettering
64b0543588 when changing volume, store whether it is worth remembering or no 2009-01-27 23:40:03 +01:00
Lennart Poettering
0ca16caff7 add new paramter ignore_dB= to alsa modules 2009-01-27 17:55:50 +01:00
Lennart Poettering
d5f46e824e move flat volume logic into the core. while doing so add n_volume_steps field to sinks/sources 2009-01-27 04:39:07 +01:00
Lennart Poettering
a365c8212d include a few HAL properties in our card/sink/source properties for ALSA devices 2009-01-24 01:25:11 +01:00
Lennart Poettering
54dad91f07 use pa_log_ratelimit() at a few places 2009-01-24 00:12:12 +01:00
Lennart Poettering
db27c6347e make module-alsa-card move streams between the old and new sink/source, allowing 'hot' switching between profiles 2009-01-23 22:40:32 +01:00
Lennart Poettering
b2ef19acc5 include PA_SINK_INVALID_STATE in all switch/case statements to make gcc shut up 2009-01-22 00:26:34 +01:00
Lennart Poettering
4b2a682741 fix minor memleak in prober 2009-01-22 00:26:34 +01:00
Lennart Poettering
b606c0940a rework logic how alsa sinks/sources/cards are named 2009-01-22 00:26:34 +01:00
Lennart Poettering
bdfec1feba mark a few more ALSA dB values as 'valid' for valgrind 2009-01-22 00:16:28 +01:00
Lennart Poettering
e8f93b125e make implementation of module-alsa-card complete 2009-01-21 02:02:30 +01:00
Lennart Poettering
7ca0e00a2c fill in dev_id properly 2009-01-21 02:01:44 +01:00
Lennart Poettering
28f05e0435 remove leftover define 2009-01-21 01:59:59 +01:00
Lennart Poettering
16d200e369 add an API to create arbitrary alsa sinks/sources dynamically without having to load/unload modules 2009-01-21 00:23:18 +01:00
Lennart Poettering
b88b89a676 add new call pa_alsa_open_by_device_id_profile() 2009-01-20 21:37:30 +01:00
Lennart Poettering
04e9214065 export pa_channel_map_superset() 2009-01-20 21:37:23 +01:00
Lennart Poettering
7368a6e6be add priority logic to find best default profile 2009-01-20 20:35:18 +01:00
Lennart Poettering
b3a043fd31 always add 'disabled' profile 2009-01-20 20:34:46 +01:00
Lennart Poettering
67fcc76093 fix profile names to include input/output specifier 2009-01-20 03:23:32 +01:00
Lennart Poettering
b987e5eeb8 fix bad free() 2009-01-19 22:02:40 +01:00
Lennart Poettering
c06e43d7ff actually create pa_card object in module-alsa-card 2009-01-17 02:03:35 +01:00
Lennart Poettering
c560aea4c9 Don't enumerate invalid profile 2009-01-17 02:01:37 +01:00