From c68a2899dc63850d77f79eaa65125f6d503fc83a Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 17 Nov 2013 15:17:04 +0000 Subject: Added support for explosion sounds, updated list of attributions, updated starsystem roadmap. --- src/audio/audio.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/audio/audio.h') diff --git a/src/audio/audio.h b/src/audio/audio.h index bab3402..f95e872 100644 --- a/src/audio/audio.h +++ b/src/audio/audio.h @@ -54,6 +54,9 @@ size_t loop(size_t source_index, const char *name, float pitch = 1.0f, float gai /// play a looping sound from a specified buffer on a specified source size_t loop(size_t source_index, size_t buffer_index, float pitch, float gain); +/// stop playback of a specific source +size_t stop(size_t source_index); + /// update source parameters void update_source(size_t source_index, math::Vector3f const & location, math::Vector3f const & velocity, float pitch = 1.0f, float gain = 1.0f); -- cgit v1.2.3