| Re: [hatari-devel] (raw) MIDI connection reliability? | 
[ Thread Index | 
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
] 
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
 
- Subject: Re: [hatari-devel] (raw) MIDI connection reliability?
 
- From: Thomas Huth <th.huth@xxxxxxxxx>
 
- Date: Sat, 18 Jun 2022 04:18:01 +0000
 
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017;	t=1655525884; bh=TUOHW1HJ/bX5OLJv1r7tsvSQviD2l8Rka8uEUJOXaxs=;	h=Date:From:To:Subject:From;	b=e7UYoXvnAGS7cRujGUX+qylnkF1j14Y6nx/em2xN2DNfhuoJ6kRGtbhBNxAs19ZB8	 Yi8VbRe1bFrjne3pNFSXiLZXqq7wfeddph1PEIn8ndQvmVlNfRJfnW8KXB2AiNQMdS	 9zLnyz9MYSDjETYA/44jTrJJhyWbgGLY3R2cPOICXZWQKyXZXefa9Pz1VPE5lCj3ju	 zZowKmSczuafd3PudXyCeBBOFoZmBf4SHSTUXnmX6ED4keXvK25RDjtiGp2kE9HyOQ	 Pa+VneL5DOsgnnsy04drpfp+kFu1kjreI2N607XN/QmbhNEdPNADxj3vc+liPOyAxp	 1jKoRlJlFvYUw==
 
Am Fri, 17 Jun 2022 21:51:28 +0300
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
....
> 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).
I don't think that change wrt EOF was really necessary.
Midi_Host_ReadByte() only returns EOF on errors, and that's
also what the comment in front of the function says.
 Thomas