Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | alsa: automatically decrease watermark after a time of stability | Lennart Poettering | 2009-08-24 | 2 | -68/+223 |
| | |||||
* | alsa: increase interval between smoother updates exponentially for alsa ↵ | Lennart Poettering | 2009-08-23 | 2 | -7/+21 |
| | | | | sources, following the scheme for sinks | ||||
* | Merge commit 'wtay/optimize' | Lennart Poettering | 2009-08-23 | 1 | -4/+22 |
|\ | |||||
| * | alsa-sink: reduce the amount of smoother updates | Wim Taymans | 2009-08-20 | 1 | -4/+22 |
| | | | | | | | | | | | | | | Exponentially increase the amount of time between smoother updates. We start with a 2ms interval and increase up to 200ms intervals. Smoother updates and the resulting linear regression take a fair amount of CPU so we want to reduce the amount of updates. | ||||
* | | alsa: leave headphone jack enabled in normal mixer paths | Lennart Poettering | 2009-08-21 | 3 | -6/+15 |
| | | |||||
* | | adjust various data/library paths automatically if we are run from a build tree | Lennart Poettering | 2009-08-21 | 1 | -3/+13 |
|/ | |||||
* | sink: volume handling rework, new flat volume logic | Lennart Poettering | 2009-08-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | - We now implement a logic where the sink maintains two distinct volumes: the 'reference' volume which is shown to the users, and the 'real' volume, which is configured to the hardware. The latter is configured to the max of all streams. Volume changes on sinks are propagated back to the streams proportional to the reference volume change. Volume changes on sink inputs are forwarded to the sink by 'pushing' the volume if necessary. This renames the old 'virtual_volume' to 'real_volume'. The 'reference_volume' is now the one exposed to users. By this logic the sink volume visible to the user, will always be the "upper" boundary for everything that is played. Saved/restored stream volumes are measured relative to this boundary, the factor here is always < 1.0. - introduce accuracy for sink volumes, similar to the accuracy we already have for source volumes. - other cleanups. | ||||
* | udev: allow passing of ignore_dB= parameter to alsa modules | Lennart Poettering | 2009-08-19 | 1 | -13/+24 |
| | |||||
* | source: rework volume handling | Lennart Poettering | 2009-08-19 | 1 | -13/+24 |
| | | | | | | | | | | | | | - drop the 'virtual_' prefix from s->virtual_volume since we don't distuingish between reference and real volumes for sources - introduce an accuracy for source volumes: if the hardware can control the volume "close enough" don't necessarily adjust the rest in software unless it is beyond a certain threshold. This should save a little bit of CPU at the expensive of a bit of accuracy in volume handling. - other minor cleanups | ||||
* | log: place more rate limit invocations | Lennart Poettering | 2009-08-15 | 1 | -1/+2 |
| | |||||
* | alsa: enable ext. amplifier by default | Lennart Poettering | 2009-08-12 | 1 | -2/+2 |
| | |||||
* | alsa: adjust priority bonus of mappings that match the configured default ↵ | Lennart Poettering | 2009-08-12 | 1 | -2/+2 |
| | | | | | | | | | | channel map We need to make sure that having both input and output weighs more for selecting the default profile than a channel map that matches the default channel map has. https://bugzilla.redhat.com/show_bug.cgi?id=496320 | ||||
* | alsa: properly treat ESTRPIPE as system suspend | Lennart Poettering | 2009-08-04 | 2 | -2/+5 |
| | |||||
* | Recover stream when it's suspended upon rewind | Lubomir Rintel | 2009-08-03 | 1 | -1/+7 |
| | | | | | | | | | | | | | Error from snd_pcm_rewind() might mean we just woke up from suspend and didn't have a chance to try to recover the stream since we didn't write to it in between. Call try_recover() in such cases. Note that for this to work kernel must return ESTRPIPE instead of EBADF for rewind/forward attempts on suspended streams, so that snd_pcm_recover() can recognize it should snd_pcm_resume() the stream. This is not the case yet (2.6.31-rc5), patch is available. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> | ||||
* | 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: throw timing data away after device resume | Lennart Poettering | 2009-07-24 | 2 | -2/+8 |
| | |||||
* | alsa: handle correctly if alsa returns us 0 or EAGAIN on snd_pcm_mmap_begin ↵ | Lennart Poettering | 2009-07-24 | 2 | -11/+39 |
| | | | | if we didn't call snd_pcm_avail immediately before | ||||
* | alsa: don't reset volume/mute when selecting path | Lennart Poettering | 2009-07-23 | 1 | -2/+2 |
| | |||||
* | build-sys: add a couple of stub Makefiles | Lennart Poettering | 2009-07-23 | 3 | -0/+3 |
| | |||||
* | alsa: control 'Speaker' element as well | Lennart Poettering | 2009-07-23 | 4 | -0/+22 |
| | |||||
* | alsa: deal properly with IO functions asking us to write 0 bytes | Lennart Poettering | 2009-07-22 | 2 | -2/+12 |
| | |||||
* | alsa: fix a few comments | Lennart Poettering | 2009-07-01 | 1 | -2/+1 |
| | |||||
* | Merge most of elmarco/rtclock2 | Lennart Poettering | 2009-06-22 | 3 | -21/+23 |
|\ | | | | | | | Merge commit 'e4d914c945c13d23b131d7ba75fbdd03cb6d0043' | ||||
| * | pulse: move pa_rtclock_now in pulsecommon | Marc-André Lureau | 2009-06-20 | 3 | -9/+11 |
| | | |||||
| * | perl -p -i -e 's/pa_rtclock_usec/pa_rtclock_now/g' `find . -name '*.[ch]'` | Marc-André Lureau | 2009-06-19 | 2 | -12/+12 |
| | | |||||
* | | core: get rid of rt sig/timer handling since modern Linux' ppooll() is ↵ | Lennart Poettering | 2009-06-19 | 2 | -2/+0 |
|/ | | | | finally fixed for granularity | ||||
* | alsa: synthesize volume values more sensibly for channels that are not ↵ | Lennart Poettering | 2009-06-19 | 1 | -3/+21 |
| | | | | controllable in hw | ||||
* | alsa: document alsa mixer path/profile sets a bit more | Lennart Poettering | 2009-06-19 | 2 | -3/+23 |
| | |||||
* | alsa: add copyright blobs and comments to all mixer paths/profile sets | Lennart Poettering | 2009-06-19 | 19 | -62/+430 |
| | |||||
* | alsa: move udev rules file behind the other sound related rules | Lennart Poettering | 2009-06-18 | 1 | -0/+0 |
| | |||||
* | alsa: document default profile set a bit better | Lennart Poettering | 2009-06-18 | 1 | -17/+39 |
| | |||||
* | alsa: add profile set for Native Instruments 4 DJ | Lennart Poettering | 2009-06-18 | 2 | -0/+90 |
| | |||||
* | alsa: unify alsa log handling and snd_config_update_free_global() handling ↵ | Lennart Poettering | 2009-06-18 | 7 | -20/+13 |
| | | | | in one place | ||||
* | alsa: merge mic boost into volume slider | Lennart Poettering | 2009-06-18 | 1 | -0/+2 |
| | |||||
* | alsa,core: include mapping name in description strings | Lennart Poettering | 2009-06-18 | 1 | -9/+12 |
| | |||||
* | alsa: add profile set for Native Instruments Audio 8 DJ sound card | Lennart Poettering | 2009-06-18 | 2 | -0/+169 |
| | |||||
* | alsa: properly count mappings of manually defined profiles | Lennart Poettering | 2009-06-18 | 1 | -0/+6 |
| | |||||
* | alsa: fix duplicate mapping detection | Lennart Poettering | 2009-06-18 | 1 | -2/+2 |
| | |||||
* | alsa: when creating alsa sinks/sources include mapping name in device name ↵ | Lennart Poettering | 2009-06-18 | 2 | -6/+14 |
| | | | | to allow profiles mit multiple sinks or multiple sources | ||||
* | alsa: allow placing device id in alsa device strings at arbitrary positions | Lennart Poettering | 2009-06-17 | 4 | -22/+22 |
| | |||||
* | alsa: rework mixer logic | Lennart Poettering | 2009-06-17 | 37 | -1590/+6471 |
| | | | | | | | | | | | | 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 |
| | |||||
* | core: make sure soft mute status stays in sync with hw mute status | Lennart Poettering | 2009-06-08 | 2 | -2/+2 |
| | | | | | | This should close rhbz #494851, mandriva bz #51234. Probably the same as our own #572, launchpad #352732. | ||||
* | alsa: monitor device reservation status and resume automatically when device ↵ | Lennart Poettering | 2009-06-05 | 2 | -6/+124 |
| | | | | becomes unused | ||||
* | core: add a suspend cause flags field | Lennart Poettering | 2009-06-05 | 2 | -2/+2 |
| | |||||
* | modules: add {sink|source|card}_properties argument to all modules | Lennart Poettering | 2009-05-28 | 5 | -3/+31 |
| | |||||
* | alsa: fix wording, we are speaking of card profiles, not output profiles | Lennart Poettering | 2009-05-26 | 1 | -1/+1 |
| | |||||
* | 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 | 4 | -14/+63 |
| | |||||
* | core: introduce pa_{sink,source}_set_fixed_latency() | Lennart Poettering | 2009-05-08 | 2 | -4/+4 |
| | | | | | This allows us to forward the fixed latency directly from the sink to the monitor source withut having to wait for pa_sink_put(). |