summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-08-24 08:23:25 +0800
committerErik Kundiman <erik@megapahit.org>2023-08-24 08:23:25 +0800
commitb6574337ed3fd7749db6185501cd444305d44905 (patch)
tree21536e4404aae84a0db92b0f98519de6478c8804 /indra
parent7f354c70ba623b591c36dadd0f6616b349be4fc7 (diff)
OpenAL createDefaultStreamingAudioImpl stub
In llstartup, it says if the audio engine hasn't set up its own preferred handler for streaming audio, then the generic streaming audio implementation which uses media plugins will be used. The comparison is with NULL, so it's safe to return NULL (but probably not nullptr).
Diffstat (limited to 'indra')
-rw-r--r--indra/llaudio/llaudioengine_openal.cpp5
-rw-r--r--indra/llaudio/llaudioengine_openal.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/indra/llaudio/llaudioengine_openal.cpp b/indra/llaudio/llaudioengine_openal.cpp
index 0a79614424..bd262f253b 100644
--- a/indra/llaudio/llaudioengine_openal.cpp
+++ b/indra/llaudio/llaudioengine_openal.cpp
@@ -119,6 +119,11 @@ std::string LLAudioEngine_OpenAL::getDriverName(bool verbose)
return version.str();
}
+LLStreamingAudioInterface *LLAudioEngine_OpenAL::createDefaultStreamingAudioImpl() const
+{
+ return NULL;
+}
+
// virtual
void LLAudioEngine_OpenAL::allocateListener()
{
diff --git a/indra/llaudio/llaudioengine_openal.h b/indra/llaudio/llaudioengine_openal.h
index a3cab97cd2..49ff484809 100644
--- a/indra/llaudio/llaudioengine_openal.h
+++ b/indra/llaudio/llaudioengine_openal.h
@@ -42,6 +42,7 @@ class LLAudioEngine_OpenAL : public LLAudioEngine
virtual bool init(void *user_data, const std::string &app_title);
virtual std::string getDriverName(bool verbose);
+ virtual LLStreamingAudioInterface* createDefaultStreamingAudioImpl() const;
virtual void allocateListener();
virtual void shutdown();