summaryrefslogtreecommitdiff
path: root/libs/backends/portaudio
AgeCommit message (Collapse)Author
2020-04-23Consolidate stack-size and priority of rt-threadsRobin Gareus
2020-04-07improved port cleanup as backend is destroyedPaul Davis
2020-04-07fix portaudio backend to use shared_ptrPaul 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-03-30Reset DSP load on backend re-start and after freewheelingRobin Gareus
2019-09-18NO-OP: fix some Wimplicit-fallthroughRobin Gareus
gcc can recognize various regexps in comments. Since C++17 provides [[fallthrough]], using /* fallthrough */ consistently seems appropriate until we switch to C++17. see also https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
2019-08-03Update backend GPL boilerplate and (C) from git logRobin Gareus
2018-11-28Remove ambiguous API implementationRobin Gareus
* PortEngine::available() implementation * AudioEngine::connected() wrapper Eventually we may re-introduce PortEngine::available along with a libardour internal port-engine.
2018-10-18Fix copy/edit in e047b01aa256Robin Gareus
2018-10-17add new API for retrieving port flags from backendPaul Davis
2017-09-23amend ab3889ff: portaudio backend uses a vector for connectionsRobin Gareus
2017-09-23Propagate Latency to backend/system portsRobin Gareus
Set accumulated capture-latency for physical-outputs and accumulated playback-latency for physical-inputs after Ardour is done setting all non-physical port latencies. This will be needed for latency-compensation of the complete graph.
2017-09-18globally change all use of "frame" to refer to audio into "sample".Paul Davis
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible
2017-09-16Namespace PBD::RingBufferRobin Gareus
class RingBuffer<> is a very generic name and should not pollute the global namespace.
2017-08-29Abstract definition of rt-scheduler policyRobin Gareus
pthread-w32 does not support pthread_setschedparam() with SCHED_FIFO and bails out. While pthread_create() simply ignores the policy and sets the priority regadless. This only affects ctrl-surface event-loops & AutomationWatch on Windows.
2017-08-29Consolidate _realtime_pthread_create() into libpbd.Robin Gareus
2017-08-07Fix non-buffered PA backend. Wait for backend to become activeRobin Gareus
This hopefully fixes an issue with port-registration (new session) being skipped because PortAudioBackend::available() still false until the first callback.
2017-08-07PortAudio: skip process callbacks until ports are establishedRobin Gareus
2017-08-05amend bc46a7e2e9; fix blind coding typosRobin Gareus
2017-08-05PortAudio backend RT-safe MIDI buffer allocationRobin Gareus
2017-08-05Update backend API: read-only MIDI input buffersRobin Gareus
2017-08-05Reduce DSP thread priority (main-i/o > midi i/o > computation)Robin Gareus
2017-08-03Some more assert() debuggingRobin Gareus
2017-04-08Retain order of concurrent MIDI eventsRobin Gareus
This fixes an issue with FaderPort8 (and maybe other surfaces or synths).
2016-11-27revert 335debfa for the PA backendRobin Gareus
The same device may have different names for input + output
2016-11-26Add API to enforce valid device selection.Robin Gareus
2016-11-15Fix intermittent hang when stopping PortaudioBackendTim Mayberry
This issue is not always reproducible but when it does occur it happens somewhat consistently on both 32bit and 64bit builds(Tested on Windows 7). The midiOutReset call does not return (or it takes so long that it might as well be indefinite) and as it is not strictly necessary just remove it. Resolves: http://tracker.ardour.org/view.php?id=7095
2016-11-10Use better debug output in PortaudioBackendTim Mayberry
When failing to open audio stream in callback mode
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-05-06add missing includeRobin Gareus
2016-05-06convert WinMME Device names to UTF-8Robin Gareus
2016-04-18implement metadata-set for remaining backendsRobin Gareus
2016-02-28prepare for update to waf 1.8Robin Gareus
uselib is no longer implicit (inherited by .use). This is still incomplete, some uselibs for non-linux variants may be missing. bld.is_defined("HAVE_XXX") also no longer works and will have to be changed (I think to bld.env["HAVE_XXX"]) in countless places.
2016-02-27fix hang at exit (after freewheeling) with PA-nonblocking backendRobin Gareus
2016-02-11Add debugging output for WinMME midi device namesTim Mayberry
2016-02-11Only build one version of the Portaudio backend that supports both blocking ↵Tim Mayberry
and callback API
2016-02-11Implement new AudioBackend API in PA backend to choose between callback and ↵Tim Mayberry
blocking API
2016-02-11Add a missing include from portaudio WINMME source fileTim Mayberry
Apparently this is now required by my version of gcc/mingw
2016-02-11Implement MIDI device enumeration and latency offset/calibration in ↵Tim Mayberry
portaudio backend
2015-12-21ship both blocking and callback PA backends (for debug purposes)Robin Gareus
this just works (no symbol conflicts)
2015-12-08standardize port-namesRobin Gareus
2015-12-08fix previous commit.Robin Gareus
2015-12-08portaudio connect & graph-changed callbacks (untested)Robin Gareus
2015-12-02Fix latency compensation for audio data in portaudio backendTim Mayberry
For drivers that correctly report latency values(ASIO) this should result a much closer alignment of audio in a loopback test. Measurement and adjustment may still be needed, especially for non-ASIO drivers. Testing with the RME HDSP Multiface and Yamaha AG06 using ASIO drivers results in maximum offset of a couple of samples.
2015-12-02Use portaudio callback API by default in portaudio backendTim Mayberry