Question about Attenuation in Miniaudio. #809
-
The documentation for Miniaudio suggests that the attenuation model can be changed on a per sound basis, however when looking into I started working on playing 2D sounds and was just starting work on 3D/Spacial audio when I noticed this. for context I am trying to use it in a 3D game engine I am working on, and will need per sound attenuation settings. I am just looking at making sure that Miniaudio will still work for what i am trying to do or if I will need to either roll my own high level audio API or switch backends entirely. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes it's per sound. The (Converting this to a discussion.) |
Beta Was this translation helpful? Give feedback.
Yes it's per sound. The
ma_spatializer
object is per sound, not global. The "engineNode" thing doesn't refer toma_engine
, but is just the wording I used for the generic internal node that's shared between bothma_sound
andma_sound_group
.(Converting this to a discussion.)