Re: [hatari-devel] Midi code improvements

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

I was hoping that somebody could check it beforehand, but I've now pushed my changes.

I think Mac GUI should build, the main thing is does the devices view MIDI selection still work, or does it need further changes somewhere.


	- Eero

On 15.12.2021 18.03, Bob Carpenter wrote:
This is Troed’s website for automated Hatari Mac binaries:
https://troed.ddns.net/d/b90229b625/

It appears to have compiled correctly. I may be able to look briefly at the
binary tonight. However, like Nicolas, I do not use MIDI.

Bob C

On Wed, Dec 15, 2021 at 5:20 AM Nicolas Pomarède <npomarede@xxxxxxxxxxxx>
wrote:

Le 15/12/2021 à 13:34, Eero Tamminen a écrit :
Hi,

On 14.12.2021 23.28, Nicolas Pomarède wrote:
Le 14/12/2021 à 21:43, Eero Tamminen a écrit :
I've just pushed some MIDI functionality improvements.

I have some pending commits that do not change existing
functionality, just IMHO improve the code.  It needs small change in
Mac GUI code though which I cannot build/test.

Any quick comments on the attached changes?

looks fine to me, I don't have any specific opinion on the midi part
as long as it works :) (as I don't really use midi I'm glad if you
want to work on it)

Thanks!

Then the next thing is for somebody having Mac build setup to verify
that my small patch to gui-osx/PrefsController.m:

* Builds
* Mac GUI still works for MIDI


Btw. I initially did the Hatari MIDI API change in hopes that Hatari
could get run-time detection of new MIDI devices.  However, PortMidi
apparently detects new MIDI devices only after PmTerminate() &
PmInitialize() cycle, which one obviously cannot do whenever Hatari
devices dialog is opened.

I'm hoping that someday PortMidi would be capable of appending new
devices to its device list even without re-init...



Hi

just for testing the Mac version still builds, troed posted some times
ago a link to his own server where he builds daily snapshot of latest
change. Don't remember the link, you should find it somewhere in this
mailing list in an old thread.
IIRC you can see the build log and check that nothing is broken for Mac.

Nicolas


--
Sent from my iPhone




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/