yvanvds / yse-soundengine

advanced 3D sound engine
Eclipse Public License 1.0
232 stars 34 forks source link

Yse 2.0 Mac/IOS port -> cmake #14

Open adderly opened 6 years ago

adderly commented 6 years ago

Hey Guys,

Great news for this year. So the code should be easily ported, @yvanvds we need a list of the libraries used/required for the engine for those without windows machines.

I am trying to get this working with Qt under Mac Os, just for testing.

yvanvds commented 6 years ago

Mac OS should not be difficult. You'd need libsndfile (for converting sound files to pcm) and portaudio (for audio output). Both are used as backend on windows, and I'm quite sure there are Mac versions in brew.

yvanvds commented 6 years ago

IOS will need some more work. I'm not sure of the libraries that can be used. There are two backends that should be implemented.

Reading audio files should inherit from internal/abstractSoundFile. the lsfSoundfile could serve as an example. It is the only implementation right now, but hopefully whatever is needed on IOS can conform to the same idiom.

For audio output you need to inherit from device/deviceManager. There are two examples here: androidDeviceManager (also depends on OpenSLImplementation) and portaudioDeviceManager.

egandro commented 3 years ago

Any progress here?