From 90fbc4c5caf5afd54920894319448b74967399ba Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 25 Feb 2010 19:28:14 +0000 Subject: added initial support for model sound tags, moved sound code from client/targets.cc to client/soundext.cc, added master volume cvar snd_volume --- src/audio/audio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/audio/audio.h') diff --git a/src/audio/audio.h b/src/audio/audio.h index 72a8fa4..ecfdf3e 100644 --- a/src/audio/audio.h +++ b/src/audio/audio.h @@ -57,7 +57,7 @@ size_t loop(size_t source_index, size_t buffer_index, float pitch, float gain); void update_source(size_t source_index, math::Vector3f const & location, math::Vector3f const & velocity, float pitch = 1.0f, float gain = 1.0f); /// update listener parameters -void update_listener(math::Vector3f const &location, math::Axis const &axis, math::Vector3f const & velocity); +void update_listener(math::Vector3f const &location, math::Axis const &axis, math::Vector3f const & velocity, float gain = 1.0f); } #endif // __INCLUDED_AUDIO_AUDIO_H__ -- cgit v1.2.3