Skip to content

Commit a78d575

Browse files
authored
change attenuation distance (#5555)
1 parent 8f1421e commit a78d575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/audio/audio_sound_positioning.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ int main(void)
6868
.z = 5.0f*sinf(th)
6969
};
7070

71-
SetSoundPosition(camera, sound, spherePos, 20.0f);
71+
SetSoundPosition(camera, sound, spherePos, 1.0f);
7272

7373
if (!IsSoundPlaying(sound)) PlaySound(sound);
7474
//----------------------------------------------------------------------------------

0 commit comments

Comments
 (0)