Commit Graph

59 Commits

Author SHA1 Message Date
kevin
c4d518db47 cwIo.h,cpp : Updates to include cwMidiDevice input device buffer.
Added hardwareReport().
Updates to account for change to midi::cbFunc_t.
2024-04-06 16:06:17 -04:00
kevin
d5f75f961c Added 'timeOutMs' arg. to all calls to ui::ws::exec(). 2024-03-28 19:48:46 -04:00
kevin
6b2a3db3f0 Merge branch 'dev' of gitea.larke.org:kevin/libcw into dev 2024-03-25 14:32:21 -04:00
kevin
230f3841d7 cwIo.cpp: Added call to uiRealTimeReport() in call to io::realTimeReport(). 2024-03-25 14:30:47 -04:00
kevin
0979b097ba Merge branch 'master' of gitea.larke.org:kevin/libcw 2024-03-25 11:00:12 -04:00
kevin
36826a3b66 Replace use of {0} with {}, or replace partial initialization cases with complete initialization. 2024-03-25 10:46:45 -04:00
kevin
9fd9043a2d cwIo.cpp : Set p->sockN and p->serialN to 0 when socket or serial sub-systems are disabled. 2024-03-22 13:01:08 -04:00
kevin
77695db9ad cwIo.cpp : Add 'enableFl' to each IO sub-system. 2024-03-07 11:44:48 -05:00
kevin
68e36aad6b cwIo : Added MIDI file device interface. 2024-02-21 07:50:52 -05:00
kevin
64df75d9aa Threads now take a label which can be displayed via system tools (e.g. top, ps). 2024-02-18 08:37:50 -05:00
kevin
742fc05e81 Renamed cwMidiPort.h/cpp to cwMidiDevice.h/cpp.
cwMidiDecls.h midi::msg_t now breaks out MIDI channel from status and has a new user 'uid' field to link the msg to an external entity.
Renamed midi::packet_t. cbDataPtr to cbArg.
midi::packet_t.cbFunc_t is now included in cwMidiDecls.h.
Other files effected: cwIo.cpp,cwIoAudioMidi.cpp,cwIoPresetSelApp.cpp
2024-02-14 11:15:02 -05:00
kevin
57f3d06f37 cwIoPresetSelApp.cpp,cwIo.h/cpp,cwMidiPort.h,cwMidiAlsa.cpp :
Added audio and MIDI latency reporting implementation.
2024-02-10 11:34:06 -05:00
kevin
c7cbb5f62f cwIo.h/cpp, cwPresetSel.h : Added comments. 2024-01-06 08:43:42 -05:00
kevin
82b60a873d cwIo.h : Added uiSendMsg(),audioIsEnabled(),audioActiveDeviceCount(). 2023-12-29 13:43:08 -05:00
kevin
c0cf1ca956 cwIo,cwUi : Added realTimeReport() 2023-12-03 11:18:02 -05:00
kevin
7f5ae4396c Merge branch 'master' of https://gitea.larke.org/kevin/libcw 2023-07-04 12:03:18 -04:00
kevin
e599e35469 cwSocket.cpp,cwSocketDecls.h,cwIo.cpp : Implement TCP_NODELAY. 2023-07-04 12:02:13 -04:00
kevin
92df31e591 cwIo.h/cpp : Add timerSetNextTime(). 2023-06-27 17:24:12 -04:00
kevin
64d8c8e5b0 cwIo.cpp : Added missing destroy(p->cbMutexH) in _free(). Call ui::flushCache() in exec(). 2023-05-25 16:00:11 -04:00
kevin
136d2974a9 cwIo.h/cpp : Include timer index in timer callback record. 2023-05-09 07:29:43 -04:00
kevin
ab40711eee cwIo.cpp : Added use of atomic isStartedFl 2023-03-21 08:27:32 -04:00
kevin
06a6c51f9f cwIo.cpp : Added new parameters for cwAudioDevFile 2023-02-26 13:43:39 -05:00
kevin
03061f42b7 cwAudioDevFile.h/cpp, cwIo.cpp : Implemented input cache on audio dev file. 2023-02-20 15:42:11 -05:00
kevin
47aeaabbfb cwIo.cpp : The main callback no longer indicates a failure when the mutex times out. 2023-02-19 17:13:08 -05:00
kevin
20175d29f9 cwAudioDevice*.h,cpp, cwIo.h,cpp, cwIoAudioPanel.cpp : Added deviceEnable(), deviceSeek() to audio device driver.
Change io::cwAudioDeviceIsEnabled() to cwAudioDeviceIsActive().
2023-02-19 14:16:37 -05:00
kevin
e57997a1e5 cwIo.h/cpp: Added audio device file related feature. 2023-02-14 20:55:03 -05:00
kevin
a3f14c473a cwIo.cpp : Update formatting. 2023-02-02 18:21:34 -05:00
kevin
11636a3f43 Added audio_meter and cwIo and flow support for metering.
Also updated spec_dist,pv_anl, pv_syn to use fd_real_t.
2023-01-05 07:30:57 -05:00
kevin
c693eab091 cwIo.cpp : stop() now calls stop the thread machine. 2022-12-27 18:10:26 -05:00
kevin
21697d8e82 cwIo.cpp : Fix some benign uninitialized variables. 2022-12-22 15:29:00 -05:00
kevin
f3aecb1177 cwIo.h/cpp : Added uiCreateFromRsrc(). 2022-12-13 16:53:31 -05:00
kevin
f0e6a56a60 cwIo.h/cpp : Added optional synchronous callbacks for all sub-systems.
The UI is now automatically cleared in io::stop().
2022-12-13 13:27:32 -05:00
kevin
f8dc859b87 cwIo.h/cpp : By default callbacks from cwIo are now synchronous. 2022-12-12 12:20:59 -05:00
kevin
83884b5424 Merge branch 'master' of gitea.larke.org:kevin/libcw 2022-11-14 18:34:07 -05:00
kevin
eb674c8411 cwIo.h/cpp : Added socketIsConnected(). 2022-11-14 18:32:32 -05:00
kevin
fac893d0b2 cwIo.h/cpp : Added io::threadCreate() 2022-06-12 16:50:01 -04:00
kevin
67078663be cwIo.cpp: Zero initialize 'args' in _uiConfig() 2022-05-14 10:17:15 -04:00
kevin
1a186ebbad cwIo.cpp : Minor comment change. 2022-05-06 16:05:04 -04:00
kevin
f57ac5ef3e cwIo.h/cpp : Added uiReport(). 2022-01-22 09:43:01 -05:00
kevin
321120af15 cwIo.cpp : Serial port server is now only started if a serial port is enabled.
Fixed memory leaks.
2021-12-29 21:36:16 -05:00
kevin
babda9b32d cwUi,cwIo,cwUiTest.cpp,html/uiTest/js/ui.js,html/uiTest/ui.cfg : Added 'string_disp' type. 2021-12-27 16:48:58 -05:00
kevin
ee9031342b cwIo.cpp : io::stop() now stops the audio engine. 2021-12-19 12:16:22 -05:00
kevin
869d367ed9 cwIo : added audioGroupDeviceCount(),audioGroupDeviceIndex(),audioDeviceLabel(),audioDeviceUserId() 2021-12-11 15:14:27 -05:00
kevin
40465b335c cwUi.h/cpp, cwUiDecls.h : Added set/getOrderKey(). Added set/get/clearBlob(). Added destroyElement(). 2021-11-14 11:55:09 -05:00
kevin
10e6cac8d1 cwIo.h/cpp : Changes to support cwUi API changes. 2021-11-05 22:21:44 -04:00
kevin
dd0f7a1aba cwIo.h/cpp : Changes due to changes in cwUi interface. 2021-11-04 09:34:15 -04:00
kevin
fff58a8d4c cwIo.h/cpp,cwIoAudioMidi.cpp,cwIOAudioMidiApp.cpp,cwIoAudioPanel.cpp,cwIoPresetSelApp.cpp,wcIoSocketChat.cpp: Changed due to cwUi interface changes and new non-recursive object_t.get() default policy. 2021-11-03 11:09:07 -04:00
kevin
3b593c5336 cwUi.h/cpp,cwUiTest: cppAdded uiCreateLog(),uiSetNumbRange(),uiSetProgRange(). 2021-10-12 16:52:45 -04:00
kevin
e128a1dd38 cwIo.h/cpp,cwIoTest.cpp : Fixed serial port monitor example in cwIoTest.cpp 2021-10-11 11:53:36 -04:00
kevin
c66b1f4470 cwIo.h/cpp : Added timer implementation. 2021-04-10 13:37:07 -04:00