Browse Source

change attenuation distance (#5555)

pull/5561/head
Thomas Anderson 1 week ago
committed by GitHub
parent
commit
a78d575f75
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/audio/audio_sound_positioning.c

+ 1
- 1
examples/audio/audio_sound_positioning.c View File

@ -68,7 +68,7 @@ int main(void)
.z = 5.0f*sinf(th)
};
SetSoundPosition(camera, sound, spherePos, 20.0f);
SetSoundPosition(camera, sound, spherePos, 1.0f);
if (!IsSoundPlaying(sound)) PlaySound(sound);
//----------------------------------------------------------------------------------

Loading…
Cancel
Save