diff options
author | Stijn Buys <ingar@osirion.org> | 2013-11-17 15:17:04 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2013-11-17 15:17:04 +0000 |
commit | c68a2899dc63850d77f79eaa65125f6d503fc83a (patch) | |
tree | 8fdb2d522736744c766ea2de30d38097b7644491 /src/audio/audio.h | |
parent | 302f11ce816ffe4b51f48c42972bb58475bcca5d (diff) |
Added support for explosion sounds,
updated list of attributions,
updated starsystem roadmap.
Diffstat (limited to 'src/audio/audio.h')
-rw-r--r-- | src/audio/audio.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |