15 Commits

Author SHA1 Message Date
d50dd35745 Silence warnings from portaudio ALSA backend during device enumeration. Do device enumeration on background thread 2024-03-27 13:45:13 +01:00
83c7aa6ade More subtle locking and unlocking of mutexes in stopstream 2024-03-14 08:25:47 +01:00
3c16e33453 Removed deadlock in output stream deletion 2024-03-13 13:29:29 +01:00
e973f14884 Weak refs to Recording methods. Made the mutexes more simple for stream manager. Added extra guards and statements here and there. Code passes a sever stress test. 2024-03-13 12:19:24 +01:00
bf06402b11 BUGfix of segfault. Very subtle. ThreadedInDataHandler could be deleted, while a task was just pushed to the thread pool. Then, when the task is finally run, the object could be deleted, as the _thread_running flag was not set. Besides this, we made some fixes that makes sure that the handles to a Recording class are stored as a weakref inside of the C++ code. This makes it easier to garbage-collect a recording, even when the IndataHandler is still running. 2024-03-06 21:41:04 +01:00
0841dbd73b Create InDataHandler only from the moment startThread() is called. This is safer, and might fix a segfault 2024-03-04 14:44:00 +01:00
6bda124196 Allow duplex mode for PortAudio ALSA devices 2024-02-06 15:02:25 +01:00
7ce45e9c82 Some comment improvements, and portaudio API improvements. Also, disabled PortAudio PulseAudio backend as it is not working properly. 2024-02-06 14:59:51 +01:00
6b337df2a9 Bugfix in channel counter for getHighestEnabledOutChannel, added Api -subapis for Portaudio backend. Switch to defaulting Portaudio as audio backend. Added PulseAudio as extra sub-api to default compile in portaudio 2024-01-25 15:31:53 +01:00
08010e56dd From now on build default LASP with Portaudio backend. Also on Linux. Code cleanup of Portaudio glue code 2024-01-20 11:52:16 +01:00
292a9d5938 Merge branch 'RtAudioV6' into develop 2024-01-19 12:37:16 +01:00
373dcfb60f Bugfixes (that could potentially segfault) in PortAudio backend. 2024-01-19 12:35:56 +01:00
0d152f6c14 Maded API changes to match RtAudio V6 2024-01-19 12:32:03 +01:00
514ed1aa32 Added physicalOutputQty for daq devices, added possibility to inspect from Python whether device has monitor. Added unit for equation in Qtys. Version bump 1.3.0 2024-01-10 12:26:38 +01:00
790eb41a26 Switch to pyproject build structure 2023-07-14 16:40:57 +02:00