summaryrefslogtreecommitdiff
path: root/libs/backends/alsa/zita-alsa-pcmi.cc
AgeCommit message (Collapse)Author
2020-05-03Cont'd work on ALSA nperiods (amend 2326fb163)Robin Gareus
2020-05-01ALSA: only read/clear user-requested nperiods before snd_pcm_startRobin Gareus
This should fix excessive latency with the RayDay that has a fixed buffersize of 16384 samples.
2020-04-30ALSA: set start threshold to zeroRobin Gareus
2020-04-30Another step towards nperiod fixes for the RayDayRobin Gareus
2020-04-29Tweak ALSA nperiod setting, fallback to nearestRobin Gareus
This is mainly for RME RayDAT that has a fixed buffersize of 16k: dev_name : hw:HDSPMxc2f6c5,0 channels : 36 min_rate : 32000 max_rate : 192000 min_bufz : 16384 max_bufz : 16384 min_nper : 4 max_nper : 512 However nperiod configuration determines the effective latency regardless. This is similar to https://github.com/jackaudio/jack1/blob/master/drivers/alsa/alsa_driver.c#L476-L486
2020-04-28Add flag to allow ALSA backend to fall back to nearest avail. nperiodsRobin Gareus
2020-03-30Tweak engine startup, initial silenceRobin Gareus
This can help when running with very low latency and the initial process callback is [indirectly] expensive. E.g. load a heavy session the a RPi4, initial setup can pull in a lot of data, which blocks the bus. In particular with the ALSA backend this can lead to poll timeout which effectively stops the backend.
2020-03-28ALSA backend: try to recover from poll errorsRobin Gareus
When recover() successfully re-initializes the device, processing can continue just like after an x-run. This can happen during initial session load of "expensive" sessions (in particular on slow systems, e.g. Raspberry Pi) usually with synths. Worker thread pulls in many external files in the background which blocks the bus for a long time. resulting in a poll-timeout.
2016-10-17spelling corrections from Jaromír Mikeš <mira.mikes@seznam.cz>Paul Davis
Corresponds to https://anonscm.debian.org/cgit/pkg-multimedia/ardour.git/tree/debian/patches/0070-spelling.patch
2016-10-04NetBSD ships with pollts(2) similar to Linux specific ppoll()Kamil Rytarowski
2016-10-04NetBSD ships with <sys/endian.h> not <endian.h>Kamil Rytarowski
2015-12-05update ALSA backend: separate playback/capture periodsRobin Gareus
fixed: 2 for capture, configurable 2,3 for playback.
2015-10-01ALSA: update error-codes for HW initialization.Robin Gareus
2015-06-14prepare ALSA backend for half-duplexRobin Gareus
2015-01-28ALSA-Backend prefer ppoll()Robin Gareus
2014-06-05ALSA backend: require both in+output.Robin Gareus
2014-06-04ALSABackend: elaborate on start-up error casesRobin Gareus
2014-06-02ALSA backend (based on Dummy backend and zita-alsa-pcmi)Robin Gareus