diff options
author | Stijn Buys <ingar@osirion.org> | 2008-06-18 21:42:38 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-06-18 21:42:38 +0000 |
commit | fd6f22924fd0d85ee20fb1d5e4588ac441675ea9 (patch) | |
tree | 8a3db75e46390c3801a820589ffe628323bb46ab /src/audio | |
parent | c5dddd62db3e070b89cb774abfd90cc3387a6d52 (diff) |
ui sounds
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/audio.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/audio/audio.cc b/src/audio/audio.cc index 842395f..729f3d2 100644 --- a/src/audio/audio.cc +++ b/src/audio/audio.cc @@ -71,6 +71,8 @@ void shutdown() void play(const char *name) { + Buffers::load(std::string(name)); + if (Sources::available(0)) { alSourceRewind(Sources::ui()); Buffers::bind(Sources::ui(), std::string(name)); |