I seem to be having trouble with ofSetVolume() on an ofSoundPlayer instance. It is only working for zero, or else seems to be playing any other fractional value between 0 and 1 at full volume.
Following are the snippets I am including in my setup and update functions:
I’m on Catalina (10.15.7) as well.
I have OF 0.10.1 on my laptop, but I’m having some XCode signing issues at the moment
I tried your code as well of 0.11.0 which works
I’ll try to fix this XCode stuff and see if it works on 0.10.1 as well
To be able to compile of_v0.10.1 with XCode 12.1 I had to replace of_v0.10.1_osx_release/libs/fmodex/lib/osx/libfmodex.dylib with the one found in of_v0.11.0 (see the link in my previous post).
After this XCode doesn’t complain and the soundPlayer-example compiles, and the setVolume() works.
But I just replace libfmodex.dylib which has to do with audio I think…
“fmodex.dll is a file that is provided with the game. (It’s part of Firelight’s FMOD audio library, which the game uses” from this forum
So basicly I think this invalidates my testing, since I replaced a lib that has to do with audio.
My best bet would be: try to compile your project on of_v0.11.0 if that’s an option.