Commit Graph

29 Commits

Author SHA1 Message Date
e542f805e9 Removed old unused Fir filterbank code. 2024-07-02 10:56:42 +02:00
838a0f7cc1 Silence portaudio alsa errors when querying device info AND when starting stream. Do not know whether this solves the problem of its verbosity, but at least the code is where it belongs 2024-06-26 12:17:43 +02:00
41e748c2f5 Made code to compile and probably work with 32-bits floating point. This requires quite some testing to be done 2024-06-03 17:28:51 +02:00
1f7deca3fd Updated scripts for building. Documentation follows 2024-03-29 04:34:24 -07:00
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
e24cac2805 Some more bugfixes: weak references stored in indatahandler, to avoid calling destructor from wrong thread. Removed some unneccessary include statements on the way 2024-03-12 21:13:13 +01:00
ab080910fc Made power correction in smoothing algorithm optional. Window decreases in size symmetrically around the edged of the frequency spectrum 2024-03-12 11:19:52 +01:00
6799ee9287 Bugfix new smoother, including ac signal power correction 2024-03-12 09:21:07 +01:00
f9cf059c90 Forgot to actually commit the Cpp files of the smoother 2024-03-11 16:33:28 +01:00
3ec15ec645 New smoothing implementation, that runs a bit faster 2024-03-11 16:04:24 +01:00
48d262fbf0 Bugfix in sensitivity correction of realtime spectra 2024-03-07 09:36:50 +01:00
204e431d79 Bugfix on GIL release 2024-03-06 22:12:42 +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
26eef040a4 More locks on signal generator. 2024-03-04 15:49:29 +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
628ba898c9 Merged in develop. 2023-08-30 21:44:20 +02:00
9f81db8eeb Bla 2023-07-18 17:12:34 +02:00
790eb41a26 Switch to pyproject build structure 2023-07-14 16:40:57 +02:00