a flutter plugin to use OpenALSoft.
android builds by default automatically, no additional steps required.
for ios/macos you need to manually build the library into a framework and embed it into xcode, thankfully that process is simplified into a phew steps.
- Clone openAl soft.
$ git clone https://github.com/kcat/openal-soft.git cd openal-soft
- Build using CMake. mkdir build cd build for ios: cmake .. -DCMAKE_SYSTEM_NAME=iOS -DALSOFT_OSX_FRAMEWORK=ON for macos: cmake .. -DALSOFT_OSX_FRAMEWORK=ON cmake --build .
- Copy the resulting soft_oal.framework folder/file into the ios directory found in your flutter project's main directory.
- In the ios directory open runner.xworkspace, after xcode launchs, go to the editor and select the general tab, you'll find an embeded frameworks section, click on the add button and select the other button to open the file browse, select the soft_oal.framework file/folder that you just moved, might require you to move back a folder or 2.
should work afterward.