Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix up according to Coding Style | Maarten Bosmans | 2011-03-11 | 1 | -1/+1 |
| | | | | Only whitespace changes in here | ||||
* | alsa: disable period wakeups in tsched mode if possible | Pierre-Louis Bossart | 2011-02-01 | 1 | -0/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | This patch reflects a new capability that Lennart was wishing for. Wish granted... Re-submitting it now that alsa-lib 1.0.24 provides additional entry points to disable period wakeups in timer-scheduling mode if hardware can work without it (HDAudio, oxygen and Intel SST). Example with standard playback on HDAudio output Before change: Top causes for wakeups: 3.8% ( 5.4) [hda_intel] <interrupt> 2.8% ( 4.0) alsa-sink After change: Top causes for wakeups: 2.3% ( 3.0) alsa-sink Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@intel.com> | ||||
* | alsa: Sprinkle some PA_UNLIKELYs around error checks | Arun Raghavan | 2010-11-18 | 1 | -11/+10 |
| | | | | | This just adds a few PA_UNLIKELY macros around some error paths in frequently called code. | ||||
* | alsa: remove redundant call to snd_pcm_nonblock() | Pierre-Louis Bossart | 2010-11-16 | 1 | -2/+0 |
| | | | | | | | The PCM handle is already opened with the SND_PCM_NONBLOCK flag. This additional call is useless. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@intel.com> | ||||
* | alsa: work around slightly broken _delay implementations | Wim Taymans | 2010-09-09 | 1 | -3/+43 |
| | | | | | | 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-util: strip spaces from ALSA card/pcm names | Lennart Poettering | 2010-02-21 | 1 | -5/+7 |
| | | | | http://pulseaudio.org/ticket/778 | ||||
* | alsa: fix minor sampling rate deviations before adjusting the buffer size | Lennart Poettering | 2009-11-20 | 1 | -7/+9 |
| | |||||
* | alsa: disable timer-based scheduling inside a VM | Lennart Poettering | 2009-11-05 | 1 | -0/+24 |
| | | | | | | | | | | | | | | | 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=1 | Lennart Poettering | 2009-10-06 | 1 | -2/+2 |
| | |||||
* | alsa: make build gcc clean on 32bit | Lennart Poettering | 2009-09-20 | 1 | -1/+1 |
| | |||||
* | alsa: properly convert sample buffer sizes | Lennart Poettering | 2009-09-11 | 1 | -3/+3 |
| | |||||
* | alsa: disable tsched for software devices before we configure the buffer ↵ | Lennart Poettering | 2009-09-09 | 1 | -1/+4 |
| | | | | metrics so that we don't accidently set a buffer size that is suitable for tsched where we don't use tsched | ||||
* | alsa: rework buffer/period configuration | Lennart Poettering | 2009-09-09 | 1 | -84/+164 |
| | | | | | | | | | | | | | - 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. | ||||
* | llvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixes | Lennart Poettering | 2009-09-08 | 1 | -1/+1 |
| | |||||
* | alsa: revert to first set number of periods, then set buffer size | Lennart Poettering | 2009-07-31 | 1 | -26/+29 |
| | | | | | | | Apparently some ALSA drivers aren't happy with getting the buffer size configured first followed the period size. So swap the order again and document this for future reference so that we don't turn that around again. | ||||
* | alsa: unify alsa log handling and snd_config_update_free_global() handling ↵ | Lennart Poettering | 2009-06-18 | 1 | -3/+5 |
| | | | | in one place | ||||
* | alsa,core: include mapping name in description strings | Lennart Poettering | 2009-06-18 | 1 | -9/+12 |
| | |||||
* | alsa: allow placing device id in alsa device strings at arbitrary positions | Lennart Poettering | 2009-06-17 | 1 | -5/+5 |
| | |||||
* | alsa: rework mixer logic | Lennart Poettering | 2009-06-17 | 1 | -896/+140 |
| | | | | | | | | | | | | 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: fix bad memory access for devices that lack a mixer | Lennart Poettering | 2009-06-10 | 1 | -1/+3 |
| | |||||
* | alsa: be a bit more verbose when a hwparam call fails | Lennart Poettering | 2009-05-14 | 1 | -8/+37 |
| | |||||
* | alsa: include mixer name in sink/source properties | Lennart Poettering | 2009-05-12 | 1 | -11/+46 |
| | |||||
* | alsa: initialize buffer size before number of periods to improve compat with ↵ | Lennart Poettering | 2009-05-01 | 1 | -13/+20 |
| | | | | some backends | ||||
* | alsa: allow configuration of fallback device strings in profiles | Lennart Poettering | 2009-04-29 | 1 | -37/+89 |
| | | | | | | 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: remove debug code | Lennart Poettering | 2009-04-19 | 1 | -2/+0 |
| | |||||
* | alsa: properly convert return values of snd_strerror() to utf8 | Lennart Poettering | 2009-04-19 | 1 | -26/+57 |
| | |||||
* | alsa: include the alsa mixer control that is used in the property list | Lennart Poettering | 2009-04-13 | 1 | -1/+4 |
| | |||||
* | alsa: store mixer controls to use in profile data | Lennart Poettering | 2009-04-13 | 1 | -13/+40 |
| | | | | | This allows us to easily use different mixer controls for analog and spdif output. | ||||
* | alsa: when passing emptry mixer control name, force sw volume | Lennart Poettering | 2009-04-13 | 1 | -0/+5 |
| | |||||
* | alsa: when printing warning about bogus data from alsa include snd_pcm_dump() | Lennart Poettering | 2009-04-10 | 1 | -3/+6 |
| | |||||
* | refuse to initialize on modem devices | Lennart Poettering | 2009-04-04 | 1 | -0/+12 |
| | |||||
* | various spelling fixes | Maarten Bosmans | 2009-04-04 | 1 | -1/+1 |
| | |||||
* | downgrade a few messages | Lennart Poettering | 2009-04-03 | 1 | -1/+1 |
| | |||||
* | Specifying ALSA mixer control | Kyle Cronan | 2009-03-31 | 1 | -3/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 devices | Lennart Poettering | 2009-03-30 | 1 | -1/+14 |
| | |||||
* | fix channel mapping for a52 devices. Closes #508 | Lennart Poettering | 2009-03-20 | 1 | -3/+3 |
| | |||||
* | Use LGPL 2.1 on all files previously using LGPL 2 | Colin Guthrie | 2009-03-03 | 1 | -1/+1 |
| | |||||
* | add logic for initializing a useful icon name | Lennart Poettering | 2009-03-01 | 1 | -16/+7 |
| | |||||
* | get additional device data from udev | Lennart Poettering | 2009-03-01 | 1 | -11/+40 |
| | |||||
* | don't put both the card and the pcm name in the description of a device if ↵ | Lennart Poettering | 2009-02-24 | 1 | -3/+3 |
| | | | | one contains the other | ||||
* | implement device reservation scheme | Lennart Poettering | 2009-02-24 | 1 | -0/+21 |
| | |||||
* | if ALSA gives us nonsensical data at least try to fix it up a little | Lennart Poettering | 2009-02-24 | 1 | -4/+15 |
| | |||||
* | print driver name when we encounter driver bugs | Lennart Poettering | 2009-02-23 | 1 | -6/+14 |
| | |||||
* | add new wrapper pa_alsa_safe_delay() around snd_pcm_delay() | Lennart Poettering | 2009-02-23 | 1 | -0/+37 |
| | |||||
* | add new function pa_alsa_get_driver_name_by_pcm() | Lennart Poettering | 2009-02-23 | 1 | -0/+15 |
| | |||||
* | initialize selem index | Lennart Poettering | 2009-02-22 | 1 | -1/+2 |
| | |||||
* | print warnings about driver bugs at most once | Lennart Poettering | 2009-02-21 | 1 | -6/+12 |
| | |||||
* | Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio | Lennart Poettering | 2009-02-20 | 1 | -4/+8 |
|\ | |||||
| * | alsa-util: check if mixer_poll_descriptors_count() < 0 | Marc-André Lureau | 2009-02-19 | 1 | -2/+6 |
| | | |||||
| * | alsa-util: make sure we check an initialized cn variable | Marc-André Lureau | 2009-02-19 | 1 | -2/+2 |
| | |