summaryrefslogtreecommitdiff
path: root/libs/backends
AgeCommit message (Collapse)Author
2020-05-12Dummy Backend: remove hardcoded MTC sequenceRobin Gareus
2020-05-12Dummy Backend: add a MTC generatorRobin Gareus
2020-05-11Double dummy MTC sequence durationRobin Gareus
2020-05-10ALSA: Use same period for in+out #8075Robin Gareus
Since the input is never flushed, capture latency is still only one cycle.
2020-05-09ALSA backend: ignore idempotent latency settingsRobin Gareus
2020-05-05Fix potential malloc(0) issueRobin Gareus
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-29Allow to refresh ALSA device list - #8051Robin Gareus
2020-04-28Con't work on ALSA nperiod selection (see also d3d120fa)Robin Gareus
2020-04-28Prepare to allow using ALSA backend with nperiods > 3Robin Gareus
This will still need an update for Alsa_pcmi::set_hwpar() capture channel (which is fixed at 2, unless FRAG_NEAR is used).
2020-04-28Add flag to allow ALSA backend to fall back to nearest avail. nperiodsRobin Gareus
2020-04-23Consolidate stack-size and priority of rt-threadsRobin Gareus
2020-04-16Tweak engine startup, shorten initial silence timeoutRobin Gareus
see also 23baeee8293
2020-04-10add port connect/add/remove callbacks to CoreAudio backendPaul Davis
2020-04-10add port connect/add/remove callbacks to the ALSA backendPaul Davis
This fixes issues with new ports not (always) appearing in port matrices (and presumably elsewhere too)
2020-04-10ALSA: allow to select different I/O devicesRobin Gareus
This adds a basic support to use multiple sound-cards, currently limited to two devices: In/Out with shared settings. Advanced setups still have to resort to using the ARDOUR_ALSA_EXT environment variable
2020-04-10Fix ALSA slave-device half-duplex modeRobin Gareus
2020-04-10ALSA: ignore systemic MIDI latencies during measurementRobin Gareus
2020-04-09ALSA backend: fix incorrect pointer cast (fixes #7998)Paul Davis
2020-04-08use RCU to manage JACK backend's container of portsPaul Davis
2020-04-08fix return valuePaul Davis
2020-04-08add required ::clear_ports() call to Dummy backend destructorPaul Davis
2020-04-07improved port cleanup as backend is destroyedPaul Davis
2020-04-07fix another explicit return val for ::get_port_by_name() if JACK has diedPaul Davis
2020-04-07fix explicit return val for ::get_port_by_name() if JACK has diedPaul Davis
2020-04-07fix portaudio backend to use shared_ptrPaul Davis
2020-04-07fix CoreAudio backend to use shared_ptrPaul Davis
2020-04-07fix up shared_ptr<> use in JACK backendPaul Davis
2020-04-07use shared_ptr to manage backend port lifetimes (Pulse,ALSA,Dummy,JACK)Paul Davis
JACK is not yet finished. Changes also include minor reformatting and a spelling correction (latecies to latencies)
2020-04-02fix another iterator typePaul Davis
2020-04-02fix iterator typePaul Davis
2020-04-02use clear_ports()Paul Davis
2020-04-02fix header namePaul Davis
2020-04-02initial try (not compiled) of PortAudio backend using PortEngineSharedImplPaul Davis
2020-04-02use PortEngineSharedImpl with PulseAudio backendPaul Davis
2020-04-02use PortEngineSharedImpl with DummyAudioBackendPaul Davis
2020-04-02buildable version of CoreAudio backend using PortEngineSharedImplPaul Davis
2020-04-02tentative changes to extend port engine shared impl to coreaudioPaul Davis
2020-04-02use new PortEngineSharedImpl in AlsaAudioBackendPaul Davis
2020-04-02add RCU to manage _ports and _portmap in AlsaAudioBackendPaul Davis
This is intended to prevent crashes when unregister_port() modifies the contents of these two members at the same time that something else is iterating over them.
2020-03-30Reset DSP load on backend re-start and after freewheelingRobin Gareus
2020-03-30Remove duplicate callsRobin 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-29Set thread-names (libs)Robin Gareus
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.
2020-03-26Only show the Sun driver on NetBSD and sun-ish systems.nia