diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-17 14:19:18 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-17 14:19:18 +0000 |
commit | ae65ef53fc8b70ebee3b43bb06ecd091aaae2a26 (patch) | |
tree | d8a2a253314e0bab54edc9ee829aee819a7860bd /src/client/client.cc | |
parent | eb075660e7cb61b138c2da337115c59857f89e17 (diff) |
engine sounds
Diffstat (limited to 'src/client/client.cc')
-rw-r--r-- | src/client/client.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/client.cc b/src/client/client.cc index a3219e6..2f60fce 100644 --- a/src/client/client.cc +++ b/src/client/client.cc @@ -11,6 +11,7 @@ #include <iomanip> #include "audio/audio.h" +#include "audio/sources.h" #include "client/chat.h" #include "client/client.h" #include "client/video.h" @@ -165,6 +166,11 @@ void Client::notify_sound(const char * name) audio::play(name); } +void Client::notify_remove_sound(size_t source) +{ + audio::Sources::remove(source); +} + void Client::notify_message(std::string const & message) { con_print << message << std::endl; |