Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2019-01

Having Issues with MIDIPACKET using Cocoa

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

admin-pembrokeshiretalent.com

Hi

I am having an issue retrieving midi packets on cocoa, when the packet is triggered the actual packet contains invalid/null data.

The same routines on carbon are working fine.

I suspect I am doing something wrong for cocoa to work, but I have spent many hrs now trying to track it down, as the adding breakpoints in the callback routine is being Fired and processed, but the data coming in is wrong.

Attached sample small project, you need a midi device, click the button list and connect first device, then press a button on midi device/controller to send a midi cc/pc message. On carbon all is ok, on cocoa invalid data.

Hope someone has cocoa and a midi controller that can test this, also the send midi data is not working on cocoa.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Archive.zip
Type: application/zip
Size: 72754 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190115/a594e2f6/attachment-0001.zip>

Reply by email