How exactly do i set the max distance at which the sound can be heard? i checked out AL_MAX_DISTANCE, but the default constant for that is max float which makes little sense to me, i just want to make the sound play in 1:1 gain at distance up to 1, and then fade out completely at distance of 2, how is this stuff set up in openal?
Bookmarks