That's modem_next_sample in the above.
?
You can read online about Flex cw keying issues in a $4500 radio.?
?
I have a Peaberry V2.?? David the designer actually wrote a little windows driver program that operated the radio in CW mode only to address CW timing issues with HDSDR ( in that HDSDR is not used in CW mode any longer ).?? So a long term solution may be a stripped down SDR that is CW only that processes audio in blocks of 128 bytes if that is possible.
?