summaryrefslogtreecommitdiffstats
path: root/src/modules/alsa/alsa-source.c
Commit message (Collapse)AuthorAgeFilesLines
* alsa: automatically decrease watermark after a time of stabilityLennart Poettering2009-08-241-34/+111
|
* alsa: increase interval between smoother updates exponentially for alsa ↵Lennart Poettering2009-08-231-2/+18
| | | | sources, following the scheme for sinks
* source: rework volume handlingLennart Poettering2009-08-191-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
* alsa: properly treat ESTRPIPE as system suspendLennart Poettering2009-08-041-0/+3
|
* alsa: throw timing data away after device resumeLennart Poettering2009-07-241-1/+3
|
* alsa: handle correctly if alsa returns us 0 or EAGAIN on snd_pcm_mmap_begin ↵Lennart Poettering2009-07-241-7/+21
| | | | if we didn't call snd_pcm_avail immediately before
* alsa: deal properly with IO functions asking us to write 0 bytesLennart Poettering2009-07-221-1/+7
|
* Merge most of elmarco/rtclock2Lennart Poettering2009-06-221-10/+11
|\ | | | | | | Merge commit 'e4d914c945c13d23b131d7ba75fbdd03cb6d0043'
| * pulse: move pa_rtclock_now in pulsecommonMarc-André Lureau2009-06-201-4/+5
| |
| * perl -p -i -e 's/pa_rtclock_usec/pa_rtclock_now/g' `find . -name '*.[ch]'`Marc-André Lureau2009-06-191-6/+6
| |
* | core: get rid of rt sig/timer handling since modern Linux' ppooll() is ↵Lennart Poettering2009-06-191-1/+0
|/ | | | finally fixed for granularity
* alsa: unify alsa log handling and snd_config_update_free_global() handling ↵Lennart Poettering2009-06-181-2/+0
| | | | in one place
* alsa: when creating alsa sinks/sources include mapping name in device name ↵Lennart Poettering2009-06-181-3/+7
| | | | to allow profiles mit multiple sinks or multiple sources
* alsa: rework mixer logicLennart Poettering2009-06-171-259/+217
| | | | | | | | | | | | 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.
* core: make sure soft mute status stays in sync with hw mute statusLennart Poettering2009-06-081-1/+1
| | | | | | 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 Poettering2009-06-051-3/+62
| | | | becomes unused
* core: add a suspend cause flags fieldLennart Poettering2009-06-051-1/+1
|
* modules: add {sink|source|card}_properties argument to all modulesLennart Poettering2009-05-281-0/+6
|
* alsa: include mixer name in sink/source propertiesLennart Poettering2009-05-121-1/+7
|
* core: introduce pa_{sink,source}_set_fixed_latency()Lennart Poettering2009-05-081-2/+2
| | | | | This allows us to forward the fixed latency directly from the sink to the monitor source withut having to wait for pa_sink_put().
* alsa: don't hit an assert when invalid module arguments are passedLennart Poettering2009-05-011-1/+2
|
* alsa: properly convert return values of snd_strerror() to utf8Lennart Poettering2009-04-191-12/+12
|
* 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-1/+1
| | | | | This allows us to easily use different mixer controls for analog and spdif output.
* make sure we never overflow when calculating sleep timeLennart Poettering2009-04-131-2/+14
| | | | Issue pointed out by Jaroslav Kysela
* set fixed latencies at more places where appropriateLennart Poettering2009-04-101-3/+4
|
* alsa: when printing warning about bogus data from alsa include snd_pcm_dump()Lennart Poettering2009-04-101-1/+1
|
* Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudioLennart Poettering2009-04-051-0/+5
|\
| * refuse to initialize on modem devicesLennart Poettering2009-04-041-0/+5
| |
* | Modify smoothing code to make cubic interpolation optional and allow 'quick ↵Lennart Poettering2009-04-051-3/+9
|/ | | | | | | | | | | | | | | fixups' on resuming The primary reason for this change is to allow time graphs that do not go through the origin and hence smoothing starting from the origin is not desired. This change will allow passing time data into the smoother while paused and then abruptly use that data without smoothing using the 'quick fixup' flag when resuming. Primary use case is allowing recording time graphs where the data recorded originates from a time before the stream was created. The resulting graft will be shifted and should not be smoothened to go through the origin.
* 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/+5
|
* use u->use_tsched everywhereLennart Poettering2009-03-251-1/+1
|
* set latency range only in tsched modeLennart Poettering2009-03-251-9/+8
|
* introduce new flag that marks sinks/sources which can adjust the latency ↵Lennart Poettering2009-03-251-1/+1
| | | | dynamically
* simplify latency range by not allowing stored 'wildcard' ranges anymoreLennart Poettering2009-03-241-1/+1
|
* various smaller cleanupsLennart Poettering2009-03-041-1/+1
|
* fix device reservation for system modeLennart Poettering2009-03-031-0/+3
|
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* Merge commit 'coling/master'Lennart Poettering2009-03-021-1/+1
|\
| * Don't assume that device reservation is enabled.Colin Guthrie2009-02-281-1/+1
| | | | | | | | | | | | | | In the case when the alsa 'device' is not a physical card, it wont have an index and thus the reservation name will be NULL and therefore we will not initialise the reservation system. Fixes #498
* | add logic for initializing a useful icon nameLennart Poettering2009-03-011-1/+1
| |
* | get additional device data from udevLennart Poettering2009-03-011-0/+2
|/
* when alsa tweaks our sample_spec make sure we adjust the watermark accordinglyLennart Poettering2009-02-271-2/+3
|
* when an underrun happens, increase watermark by 10ms instead of doubling itLennart Poettering2009-02-271-3/+18
|
* set reserve interface application device nameLennart Poettering2009-02-241-0/+15
|
* implement device reservation schemeLennart Poettering2009-02-241-0/+81
|
* in case alsa lies to use don't spin foreverLennart Poettering2009-02-241-0/+18
|
* use pa_alsa_safe_delay() where appropriateLennart Poettering2009-02-231-1/+1
|
* print driver name when we encounter driver bugsLennart Poettering2009-02-231-6/+12
|