|
ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
|
Distance settings for positional sounds, in world units (pixels). More...
#include <sound.h>
Public Attributes | |
| float | min_distance { 100.0F } |
| Full volume at this distance or closer. | |
| float | max_distance { 1000.0F } |
| Silent at this distance or further. | |
| Rolloff | rolloff { Rolloff::Inverse } |
| Shape of the fall off between the two. | |
Distance settings for positional sounds, in world units (pixels).
| float asw::sound::Attenuation::max_distance { 1000.0F } |
| float asw::sound::Attenuation::min_distance { 100.0F } |
| Rolloff asw::sound::Attenuation::rolloff { Rolloff::Inverse } |