summaryrefslogtreecommitdiffstats
path: root/src/modules/alsa/alsa-util.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary #includesMaarten Bosmans2011-06-221-4/+0
|
* alsa: work around slightly broken _delay implementationsWim Taymans2010-09-091-1/+1
| | | | | | Use snd_pcm_avail_delay() in pa_alsa_safe_delay() so that we can check the delay value against the avail value and patch it up when it looks invalid. Only do this for capture.
* alsa: disable timer-based scheduling inside a VMLennart Poettering2009-11-051-0/+2
| | | | | | | | | | | | | | | In virtual machines sound card clocks and OS scheduling tend to become unreliable, adding various 'uneven' latencies. The adaptive algorithm that handles drop-outs does not handle it this well: in contrast to drop-outs on real machines that are evenly distributed, small and can easily be encountered via the adpative algorithms, drop-outs in VMs tend to happen abruptly, and massively, which is not easy to counter. This patch simply disables timer based scheduling in VMs reverting to classic IO based scheduling. This should help make PA perform better in VMs. https://bugzilla.redhat.com/show_bug.cgi?id=532775
* alsa: disable period event only with tsched=1Lennart Poettering2009-10-061-1/+2
|
* alsa: rework buffer/period configurationLennart Poettering2009-09-091-5/+5
| | | | | | | | | | | | | - As discussed on alsa-devel it's probably better to initialize the buffer size first, followed by the period size. If that fails try the other way round. If that fails try to configure only buffer size. If that fails try to configure only period size. Finally, try to configure neither. - Don't require integral periods anymore. Both of these changes should help improving compatibility with various weirder sound devices, such as TV cards.
* alsa: unify alsa log handling and snd_config_update_free_global() handling ↵Lennart Poettering2009-06-181-2/+2
| | | | in one place
* alsa: allow placing device id in alsa device strings at arbitrary positionsLennart Poettering2009-06-171-3/+3
|
* alsa: rework mixer logicLennart Poettering2009-06-171-63/+53
| | | | | | | | | | | | Completely rework mixer logic. This now allows controlling a full set of elements from a single sink's volume slider/mute button. This also introduces sink and source "ports" that can be used to choose different input or output ports with the UI. (i.e. "mic"/"line-in" or "speaker"/"headphones". The mixer paths and device maps are now configered in external configuration files and can be tweaked as necessary.
* alsa: include mixer name in sink/source propertiesLennart Poettering2009-05-121-1/+3
|
* alsa: allow configuration of fallback device strings in profilesLennart Poettering2009-04-291-0/+1
| | | | | | This has the benefit that we can properly support ALSA devices where only the raw 'hw' device exists but no 'front' although it's a proper 2ch stereo device.
* alsa: properly convert return values of snd_strerror() to utf8Lennart Poettering2009-04-191-0/+2
|
* alsa: include the alsa mixer control that is used in the property listLennart Poettering2009-04-131-1/+1
|
* alsa: store mixer controls to use in profile dataLennart Poettering2009-04-131-4/+6
| | | | | This allows us to easily use different mixer controls for analog and spdif output.
* alsa: when printing warning about bogus data from alsa include snd_pcm_dump()Lennart Poettering2009-04-101-1/+2
|
* refuse to initialize on modem devicesLennart Poettering2009-04-041-0/+2
|
* Specifying ALSA mixer controlKyle Cronan2009-03-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | On Fri, Mar 27, 2009 at 7:21 AM, Lennart Poettering <lennart@poettering.net> wrote: >> I tried installing the latest git sources on my Ubuntu Jaunty box but >> it just broke sound in all my applications.  For my own purposes, I'm >> going to need to start with the Ubuntu-patched 0.9.14.  However, if >> you are willing to accept this patch I will forward port it so that it >> applies to the latest sources.  It's a completely harmless change, so >> why not apply it? > > Yes, I am happy to apply it. Could you please update it for current git? > Great. An updated patch is attached. For symmetry, I added this option to the alsa source module as well. The Ubuntu folks have customized pulse so much that it is difficult for me to get this version working on my system. For this patch I have only made sure that it compiles. But it does pretty much the same thing as the one for 0.9.14, which is working great for me. Thanks, Kyle
* don't enabled tsched on software ALSA devicesLennart Poettering2009-03-301-0/+2
|
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* add logic for initializing a useful icon nameLennart Poettering2009-03-011-1/+1
|
* get additional device data from udevLennart Poettering2009-03-011-0/+1
|
* implement device reservation schemeLennart Poettering2009-02-241-0/+2
|
* add new wrapper pa_alsa_safe_delay() around snd_pcm_delay()Lennart Poettering2009-02-231-0/+1
|
* add new function pa_alsa_get_driver_name_by_pcm()Lennart Poettering2009-02-231-0/+2
|
* big alsa module rework to make things more robust to broken sound drivers ↵Lennart Poettering2009-02-201-1/+1
| | | | and make it easier to debug them
* make profile names translatableLennart Poettering2009-02-201-1/+1
|
* simplify pa_alsa_init_proplist_pcm() a bit and include resolution bits in ↵Lennart Poettering2009-02-181-1/+2
| | | | alsa device props
* unify ALSA mixer initializationLennart Poettering2009-02-141-0/+1
|
* add new function pa_alsa_get_driver_name()Lennart Poettering2009-01-301-0/+2
|
* include a few HAL properties in our card/sink/source properties for ALSA devicesLennart Poettering2009-01-241-2/+3
|
* add new call pa_alsa_open_by_device_id_profile()Lennart Poettering2009-01-201-11/+26
|
* add priority logic to find best default profileLennart Poettering2009-01-201-0/+1
|
* Split up pa_alsa_init_proplist into two seperate functions for the card and ↵Lennart Poettering2009-01-171-1/+2
| | | | snd_pcm_t specific parts
* add card profile proberLennart Poettering2009-01-161-0/+13
|
* remvoe a bit of duplicate codeLennart Poettering2009-01-161-1/+2
|
* Add SPDIF/HDMI ALSA devices and device descriptions to device search tableLennart Poettering2009-01-151-1/+3
|
* move alsa and oss modules into their own subdirectoriesLennart Poettering2009-01-151-0/+98