Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | alsa: make build gcc clean on 32bit | Lennart Poettering | 2009-09-20 | 1 | -1/+1 |
| | |||||
* | alsa: Give all ports a human name to allow UI tools to present the choice to ↵ | Colin Guthrie | 2009-09-18 | 1 | -3/+3 |
| | | | | users. | ||||
* | alsa: fix Surround mixer element name | Lennart Poettering | 2009-09-18 | 3 | -3/+3 |
| | | | | | | s/Sourround/Surround/ Spotted by Colin Guthrie | ||||
* | alsa: correct assumptions about channels an element lacks | Vladimir Kokarev | 2009-09-17 | 1 | -10/+2 |
| | | | | | | | If an element does not control some channels assume they are 0dB in comparison to the other elements, i.e. do not influence the volume at all. Previously we were assuming they were as high as the highest of the channels we do control. | ||||
* | alsa: properly report suspension error codes | Lennart Poettering | 2009-09-11 | 2 | -18/+27 |
| | |||||
* | 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 | 3 | -11/+4 |
| | | | | metrics so that we don't accidently set a buffer size that is suitable for tsched where we don't use tsched | ||||
* | alsa: when probing for profiles configure buffer/period sizes since some ↵ | Lennart Poettering | 2009-09-09 | 3 | -5/+22 |
| | | | | broken drivers apparently need that | ||||
* | alsa: pass SND_PCM_NONBLOCK when opening device during unsuspend, the same ↵ | Lennart Poettering | 2009-09-09 | 2 | -2/+2 |
| | | | | way we do it for initial opening | ||||
* | alsa: rework buffer/period configuration | Lennart Poettering | 2009-09-09 | 4 | -130/+217 |
| | | | | | | | | | | | | | - 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-sink: init after_avail earlier (llvm-clang-analyzer) | Lennart Poettering | 2009-09-08 | 1 | -1/+1 |
| | |||||
* | llvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixes | Lennart Poettering | 2009-09-08 | 4 | -6/+4 |
| | |||||
* | alsa: add more input sources to path set | Lennart Poettering | 2009-09-03 | 1 | -0/+8 |
| | |||||
* | alsa: by default increase watermarks only on real underruns, don't try to be ↵ | Lennart Poettering | 2009-09-01 | 2 | -2/+5 |
| | | | | smart | ||||
* | alsa: distuingish real underruns from left_to_play=0 | Lennart Poettering | 2009-09-01 | 2 | -2/+6 |
| | |||||
* | 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 |
| |