diff options
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)); |