Guys, please, I'm trying to figure out why the following code is crashing only with Logic MAC 64 bits version. EnergyXT 32 bits MAC works. And Windows both 32 and 64 bits works.
The code is trying to load a WusikSND file, 16 bits and 2 Channels (Stereo).
Sadly I don't have Logic to debug, only eXT and it works without problems. Is there any VST/AU free 64 bit native host I could use on the MAC?
I was wondering on the tHeader structure, if somehow is translating wrong for MAC 64 bit native. Another thing would be the way I'm using HeapBlock, but it works on Win 32/64 and MAC 32... so I'm not sure.
The code starts at line 146 of the file below.
Any advice would be much appreciated.
Thank you all in advance.