the-byte-bender / flutter_al

a flutter plugin to use OpenALSoft.
Mozilla Public License 2.0
0 stars 2 forks source link

More examples or case usages would be very helpful #2

Open wincLei opened 3 months ago

wincLei commented 3 months ago

It would be greatly appreciated if you could furnish additional examples of how this is typically used. More case usages would certainly aid in my understanding.

During the compilation process, there might be some issues. I can provide some scripts for reference to help avoid potential pitfalls.

cmake -S . -GXcode -DCMAKE_SYSTEM_NAME=iOS -DALSOFT_OSX_FRAMEWORK=ON -B build_x64 -DCMAKE_OSX_SYSROOT=iphonesimulator -DCMAKE_OSX_ARCHITECTURES=x86_64

cmake -S . -GXcode -DCMAKE_SYSTEM_NAME=iOS -DALSOFT_OSX_FRAMEWORK=ON -B build_arm -DCMAKE_OSX_SYSROOT=iphoneos -DCMAKE_OSX_ARCHITECTURES=arm64

my macos 14.2.1 (23C71) cmake version 3.30.1

wincLei commented 1 week ago

add one example

lib.zip example.zip

This is an example that allows users to experience 3D sound effects by changing the position of the listener