Commit Graph

833 Commits

Author SHA1 Message Date
kevin
66c1f08c16 Merge branch 'dev' of gitea.larke.org:kevin/libcw into dev 2024-04-06 16:08:07 -04:00
kevin
e49df496e6 cwFlow* : Added MIDI input and output devices to 'flow' framework. 2024-04-06 16:07:46 -04:00
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
374d3ad8a8 cwMidiDeviceTest.cpp,cwMidiFileDev.cpp,cwMidiParser.cpp : Updates to account for change of MIDI callback signature in cwMidiDecls.h. 2024-04-06 16:04:42 -04:00
kevin
3526b2c807 cwMidiAlsa.cpp : Ports that do not qualify based on READ/WRITE attributes are now dropped.
Ports without names are now given the default name '<None>'.
2024-04-06 16:02:52 -04:00
kevin
a6f518ed54 cwMidiDevice.h/cpp,cwMidiDecls.h : Added getBuffer(),clearBuffer(),maxBufferMsgCount() to cwMidiDevice.
Changed the MIDI device callback function to move the user arg outside of the 'packet_t'.
Added midi::ch_msg_t
2024-04-06 15:44:43 -04:00
kevin
7d3be5ebc6 cwIoPresetSelApp.cpp, ui.cfg : Add 'RT' and 'Hw' reports buttons. 2024-04-06 15:41:59 -04:00
kevin
97da536504 cwIoPresetSelApp.cpp : beg_loc,end_loc is now applied to midi player from meta.cfg on file load. 2024-03-30 18:01:08 -04:00
kevin
d5f75f961c Added 'timeOutMs' arg. to all calls to ui::ws::exec(). 2024-03-28 19:48:46 -04:00
kevin
98ed33d2cc cwUi.h/cpp : Add queueBlkCnt and queueBlkByteCnt to websock based API's.
Removed websockTimeOutMs from UI cfg. and replace it as an argument to ui::ws::exec().
2024-03-28 19:47:29 -04:00
kevin
60e6c2f772 cwWebSock.h/cpp : Optimize exec() to decrease cwIoPresetSelApp GUI startup time.
Added _timed_exec_0/1/2()
2024-03-28 19:45:40 -04:00
kevin
475cf5e541 cwNbMpScQueue.h/c : Fixed bug where the tail was not correctly updated in advance().
Added peek_reset().
2024-03-28 19:43:40 -04:00
kevin
73b433feae cwPresetSel.cpp : Fix problem where there were two version of delete_fragment() - one of which allowed a memory leak. 2024-03-27 20:19:06 -04:00
kevin
89a4b83c45 cwUi.cpp :
1. Add one to hashA[] to prevent a hash index of 0xffff from going past the end of the array.
2. Fix bug where hash table buckets were not released.
2024-03-25 22:17:40 -04:00
kevin
43c5be958a cwFileSys.cpp : Fixed failure to free expanded path on path not existing in isFile(),isDir(),isLink(). 2024-03-25 22:14:42 -04:00
kevin
6b2a3db3f0 Merge branch 'dev' of gitea.larke.org:kevin/libcw into dev 2024-03-25 14:32:21 -04:00
kevin
488648a967 cwWebSock.cpp : Added report(). 2024-03-25 14:31:03 -04:00
kevin
230f3841d7 cwIo.cpp: Added call to uiRealTimeReport() in call to io::realTimeReport(). 2024-03-25 14:30:47 -04:00
kevin
55aed815e1 cwUi.h/cpp : Added ui::ws::realTimeReport(). 2024-03-25 14:29:58 -04:00
kevin
c9281603de cwNbMpScQueue.h/cpp: Added count(). 2024-03-25 14:29:25 -04:00
kevin
5f3f986db6 Merge branch 'master' into dev 2024-03-25 13:45:59 -04:00
kevin
693c87d598 cwWebSock.cpp : Now uses cwNbMpScQueue to cache outgoing messages. 2024-03-25 13:32:46 -04:00
kevin
99871c5bef cwNbMpScQueue.h/cpp :
1. Added peek().
2. blockL is now made from individual allocated blocks to ease memory alignment.
3. node_t and blob length is now padded out to a multiple of 8 bytes to guarantee memory alignment.
4. advance() now returns the next blob.
2024-03-25 13:31:58 -04:00
kevin
1c678700b7 cwMidiAlsa.cpp : Fixed _cmMpAllocStruct() to correctly report failure on send_seq_subscribe_port(). 2024-03-25 11:45:42 -04:00
kevin
68bcf7306c cwWebSock.cpp : Changed initialization of _event_loop_ops_custom() to avoid warnings. 2024-03-25 11:44:37 -04:00
kevin
521a513ba3 cwSfScore.cpp : Removed incorrect assert in _calc_score_tempo(). 2024-03-25 11:43:26 -04:00
kevin
ec418f1d28 cwCommonImpl.h : Changed cwAssert() param named 'cond' to 'C' to fix warning. 2024-03-25 11:42:22 -04:00
kevin
0979b097ba Merge branch 'master' of gitea.larke.org:kevin/libcw 2024-03-25 11:00:12 -04:00
kevin
ad5efbaa77 cwMidiDevice.h : Changed file guards to cwMidiDevice_h from cwMidiPort_h. 2024-03-25 10:59:55 -04:00
kevin
542ceafe8a cwDataSets.cpp : test() Write 5 rather than 0 images for each batch to an SVG. 2024-03-25 10:58:43 -04:00
kevin
9a4fed6d64 cwMidiFile.cpp : calcNoteDurations() turn off warning and write comments in 'missing note-off for note-on' case. 2024-03-25 10:57:54 -04:00
kevin
70b147007e cwPresetSel.cpp : Rewrote _validate_preset_id() to clarify logic. 2024-03-25 10:56:32 -04:00
kevin
b354b29581 cwCsv.cpp : Mark [[fallthrough]] in 'case kBeforeField'. 2024-03-25 10:54:02 -04:00
kevin
a2aa26754b cwVariant.cpp : Fix bad initialization in _variantDescArray[] sentinel. 2024-03-25 10:53:25 -04:00
kevin
e04c293856 cwUiTest.cpp : Fix missing break in 'case kFloatId'. 2024-03-25 10:52:08 -04:00
kevin
8ed15267a5 Fix signed/unsigned warnings with explicit casts. 2024-03-25 10:50:11 -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
6f2444b8d7 cwNbMpScQueue.h/cpp : Verified with -fsanitize thread added comments. 2024-03-11 19:21:03 -04:00
kevin
e63abddb5d Merge branch 'master' of gitea.larke.org:kevin/libcw 2024-03-09 18:18:09 -05:00
kevin
5de1851c66 cwVectOps.h : Added 'scale_add()' 2024-03-09 15:13:54 -05:00
kevin
2d0c59a8fa cwIoPresetSelApp.cpp,cwPresetSel.h/cpp,ui.cfg,cwFlowDecl.h : Added 'Allow All' for uniform prob. preset selection. Add 'loc location' flag to UI. 2024-03-09 15:12:56 -05:00
kevin
63faf6a6d2 cwFlow.cpp : comment out interpolation value print statement. 2024-03-09 15:10:46 -05:00
kevin
77695db9ad cwIo.cpp : Add 'enableFl' to each IO sub-system. 2024-03-07 11:44:48 -05:00
kevin
72701c79af Merge branch 'master' of gitea.larke.org:kevin/libcw 2024-03-06 09:27:38 -05:00
kevin
e5b74f3a40 cwScoreFollower.h/cpp, cwSfTrack.h : Updates to comments. No functional changes. 2024-03-06 09:27:31 -05:00
kevin
fbd057bd9a cwScoreFollowTest.cpp : Output directory now is taken from MIDI input filename. 2024-03-03 16:37:19 -05:00
kevin
68b92212c2 cwNbMpScQueue.h/cpp : Added use of 'cleanBlkN' and 'cleanProcN'.
Updates to test function.
2024-03-03 16:35:23 -05:00
kevin
a052f2623c Merge branch 'master' of gitea.larke.org:kevin/libcw 2024-02-25 16:20:28 -05:00
kevin
f0d87b903e cwNbMpScQueue.h/cpp,Makefile : Initial commit 2024-02-25 16:19:59 -05:00