Sound? lazarus / 15-macOS - Mac OS X ---------------------------------------------------------------------- taratata · 2009-01-30 22:54 I successfully converted more than 10,000 lines of my Delphi code Everything is going surprisingly smoothly and I'm pretty happy so far. Now..is it possible to play simple sounds on the MacOs version of fpc/lazarus ? I searched but couldn't find the answer. I know there is an ACS package but it seems this is only for Windows and Linux for the moment. I don't need anything fancy, just the ability to play simple small .wav files . It's nothing overly important but I still would like to know. ---------------------------------------------------------------------- Phil · 2009-01-31 00:52 That's a good question. I'm not familiar with ACS, but you might look at MacOSAll.pas in /usr/local/share/fpcsrc/packages/univint/src. That's the complete Carbon framework API and you can potentially call anything in there that you want. Of course that would make that part of your code Mac-specific, but maybe you can separate it out into a unit that masks the differences between platforms. The part of this file you're looking for, I think, is the Sound Manager functions. Thanks. -Phil ---------------------------------------------------------------------- taratata · 2009-01-31 04:05 Thanks I'll check that file. ---------------------------------------------------------------------- Troodon · 2009-03-25 15:59 Quote from: taratata on January 30, 2009, 11:54:48 pmI don't need anything fancy, just the ability to play simple small .wav files. Any luck yet?