Re: [hatari-devel] (raw) MIDI connection reliability? |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
Hi, On 12.6.2022 16.18, Thomas Huth wrote:
Am Sat, 11 Jun 2022 18:32:45 +0300 schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>: [...]Looking at midi.c and Midi_Host_WriteByte(), it uses *buffered* fputc() to do MIDI byte writes, but only fflush() call is in Midi_InterruptHandler_Update(), *and* commented out...Both, Midi and RS232 code use setvbuf() to disable buffering, so this can't be the issue ... it must be something else.
I added output to MIDI trace on whether buffering disabling actually succeeded, and fixed issue in
read error handling (it handled other errors than EOF as valid input). - Eero
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |