Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ratelimit: fix log levels of log suppression messages | Lennart Poettering | 2011-01-22 | 1 | -2/+2 |
| | | | | | When logging a suppression message do so on the same log level as the suppressed messages. | ||||
* | alsa-source: fix enum types | Lennart Poettering | 2010-11-25 | 1 | -2/+2 |
| | |||||
* | alsa: make defines for smoother configuration | Wim Taymans | 2010-09-14 | 1 | -2/+5 |
| | | | | | | | | | | | | Make new defines for the smoother window size and adjust time constants instead of reusing some unrelated constant. Increase the smoother window size even more because the bigger it is, the better. Since we have a 200ms max update interval and the max smoother history is 64 entries, 10seconds is a good default. Decrease the smoother adjust time to 1 second. The previous value of 4 seconds was too much to adapt quickly after a resume. | ||||
* | alsa: work around slightly broken _delay implementations | Wim Taymans | 2010-09-14 | 1 | -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-source: refactor smoother and device start | Wim Taymans | 2010-09-14 | 1 | -8/+18 |
| | | | | | | | Move the code to start the capture and the smoother closer together to improve smoother accuracy. Rework things to look more like the alsa sink where the device is started in only one place. | ||||
* | alsa: don't make use of tsched related variables when tsched is disabled | Lennart Poettering | 2010-09-04 | 1 | -11/+17 |
| | |||||
* | alsa: increase the smoother window | Wim Taymans | 2010-09-03 | 1 | -2/+2 |
| | | | | | 40ms for the smoother window is too small. Increase the size to 4 seconds, like we do for the sinks. | ||||
* | alsa: resume smoother after unsuspend | Wim Taymans | 2010-08-23 | 1 | -1/+1 |
| | | | | | | The smoother is paused when the device is suspended but never resumed on unsuspend. Pass the paused = FALSE flag to the pa_smoother_reset() call to make it unpause when unsuspending. This patch improves source timings quite a bit. | ||||
* | thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm | Lennart Poettering | 2010-05-03 | 1 | -1/+1 |
| | |||||
* | alsa: ignore volume changes from the hw if we are not on the active console | Lennart Poettering | 2010-01-13 | 1 | -0/+3 |
| | |||||
* | alsa: fix log output when the audio device refuses to give us again the same ↵ | Lennart Poettering | 2009-11-23 | 1 | -1/+1 |
| | | | | period settings we had before | ||||
* | alsa: disable timer-based scheduling inside a VM | Lennart Poettering | 2009-11-11 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | 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-11-11 | 1 | -1/+1 |
| | |||||
* | alsa: properly report suspension error codes | Lennart Poettering | 2009-09-11 | 1 | -9/+13 |
| | |||||
* | alsa: disable tsched for software devices before we configure the buffer ↵ | Lennart Poettering | 2009-09-09 | 1 | -5/+0 |
| | | | | metrics so that we don't accidently set a buffer size that is suitable for tsched where we don't use tsched | ||||
* | alsa: pass SND_PCM_NONBLOCK when opening device during unsuspend, the same ↵ | Lennart Poettering | 2009-09-09 | 1 | -1/+1 |
| | | | | way we do it for initial opening | ||||
* | alsa: rework buffer/period configuration | Lennart Poettering | 2009-09-09 | 1 | -21/+24 |
| | | | | | | | | | | | | | - 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 | -2/+1 |
| | |||||
* | alsa: by default increase watermarks only on real underruns, don't try to be ↵ | Lennart Poettering | 2009-09-01 | 1 | -1/+1 |
| | | | | smart | ||||
* | alsa: distuingish real underruns from left_to_play=0 | Lennart Poettering | 2009-09-01 | 1 | -1/+3 |
| | |||||
* | alsa: automatically decrease watermark after a time of stability | Lennart Poettering | 2009-08-24 | 1 | -34/+111 |
| | |||||
* | alsa: increase interval between smoother updates exponentially for alsa ↵ | Lennart Poettering | 2009-08-23 | 1 | -2/+18 |
| | | | | sources, following the scheme for sinks | ||||
* | 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 | ||||
* | alsa: properly treat ESTRPIPE as system suspend | Lennart Poettering | 2009-08-04 | 1 | -0/+3 |
| | |||||
* | alsa: throw timing data away after device resume | Lennart Poettering | 2009-07-24 | 1 | -1/+3 |
| | |||||
* | alsa: handle correctly if alsa returns us 0 or EAGAIN on snd_pcm_mmap_begin ↵ | Lennart Poettering | 2009-07-24 | 1 | -7/+21 |
| | | | | if we didn't call snd_pcm_avail immediately before | ||||
* | alsa: deal properly with IO functions asking us to write 0 bytes | Lennart Poettering | 2009-07-22 | 1 | -1/+7 |
| | |||||
* | Merge most of elmarco/rtclock2 | Lennart Poettering | 2009-06-22 | 1 | -10/+11 |
|\ | | | | | | | Merge commit 'e4d914c945c13d23b131d7ba75fbdd03cb6d0043' | ||||
| * | pulse: move pa_rtclock_now in pulsecommon | Marc-André Lureau | 2009-06-20 | 1 | -4/+5 |
| | | |||||
| * | perl -p -i -e 's/pa_rtclock_usec/pa_rtclock_now/g' `find . -name '*.[ch]'` | Marc-André Lureau | 2009-06-19 | 1 | -6/+6 |
| | | |||||
* | | core: get rid of rt sig/timer handling since modern Linux' ppooll() is ↵ | Lennart Poettering | 2009-06-19 | 1 | -1/+0 |
|/ | | | | finally fixed for granularity | ||||
* | alsa: unify alsa log handling and snd_config_update_free_global() handling ↵ | Lennart Poettering | 2009-06-18 | 1 | -2/+0 |
| | | | | in one place | ||||
* | alsa: when creating alsa sinks/sources include mapping name in device name ↵ | Lennart Poettering | 2009-06-18 | 1 | -3/+7 |
| | | | | to allow profiles mit multiple sinks or multiple sources | ||||
* | alsa: rework mixer logic | Lennart Poettering | 2009-06-17 | 1 | -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 status | Lennart Poettering | 2009-06-08 | 1 | -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 Poettering | 2009-06-05 | 1 | -3/+62 |
| | | | | becomes unused | ||||
* | core: add a suspend cause flags field | Lennart Poettering | 2009-06-05 | 1 | -1/+1 |
| | |||||
* | modules: add {sink|source|card}_properties argument to all modules | Lennart Poettering | 2009-05-28 | 1 | -0/+6 |
| | |||||
* | alsa: include mixer name in sink/source properties | Lennart Poettering | 2009-05-12 | 1 | -1/+7 |
| | |||||
* | core: introduce pa_{sink,source}_set_fixed_latency() | Lennart Poettering | 2009-05-08 | 1 | -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 passed | Lennart Poettering | 2009-05-01 | 1 | -1/+2 |
| | |||||
* | alsa: properly convert return values of snd_strerror() to utf8 | Lennart Poettering | 2009-04-19 | 1 | -12/+12 |
| | |||||
* | alsa: include the alsa mixer control that is used in the property list | Lennart Poettering | 2009-04-13 | 1 | -1/+1 |
| | |||||
* | alsa: store mixer controls to use in profile data | Lennart Poettering | 2009-04-13 | 1 | -1/+1 |
| | | | | | This allows us to easily use different mixer controls for analog and spdif output. | ||||
* | make sure we never overflow when calculating sleep time | Lennart Poettering | 2009-04-13 | 1 | -2/+14 |
| | | | | Issue pointed out by Jaroslav Kysela | ||||
* | set fixed latencies at more places where appropriate | Lennart Poettering | 2009-04-10 | 1 | -3/+4 |
| | |||||
* | alsa: when printing warning about bogus data from alsa include snd_pcm_dump() | Lennart Poettering | 2009-04-10 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio | Lennart Poettering | 2009-04-05 | 1 | -0/+5 |
|\ | |||||
| * | refuse to initialize on modem devices | Lennart Poettering | 2009-04-04 | 1 | -0/+5 |
| | | |||||
* | | Modify smoothing code to make cubic interpolation optional and allow 'quick ↵ | Lennart Poettering | 2009-04-05 | 1 | -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. |