From 319922f04483e48695ff975d98cac1d803477cfd Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Thu, 5 Nov 2015 15:33:06 +0100 Subject: [PATCH] Add the option to set the reference name afterwards (but before calling play() --- simgear/sound/sample_openal.hxx | 1 + 1 file changed, 1 insertion(+) diff --git a/simgear/sound/sample_openal.hxx b/simgear/sound/sample_openal.hxx index fd9216d8..1266c249 100644 --- a/simgear/sound/sample_openal.hxx +++ b/simgear/sound/sample_openal.hxx @@ -458,6 +458,7 @@ public: * @return Sample name */ inline std::string get_sample_name() const { return _refname; } + inline void set_sample_name(const std::string& refname) { _refname = refname; } inline virtual bool is_queue() const { return false; } -- 2.39.5