SL-18837: Add OpenAL::createDefaultStreamingAudioImpl().

LLAudioEngine added a new abstract virtual method that wasn't yet implemented
for LLStreamingAudio_OpenAL.
master
Nat Goodspeed 2023-09-08 10:35:10 -04:00
parent eb84585875
commit 6cb906c449
2 changed files with 8 additions and 2 deletions

View File

@ -119,6 +119,11 @@ std::string LLAudioEngine_OpenAL::getDriverName(bool verbose)
return version.str();
}
LLStreamingAudioInterface *LLAudioEngine_OpenAL::createDefaultStreamingAudioImpl() const
{
return new LLStreamingAudio_OpenAL();
}
// virtual
void LLAudioEngine_OpenAL::allocateListener()
{

View File

@ -40,8 +40,9 @@ class LLAudioEngine_OpenAL : public LLAudioEngine
LLAudioEngine_OpenAL();
virtual ~LLAudioEngine_OpenAL();
virtual bool init(void *user_data, const std::string &app_title);
virtual std::string getDriverName(bool verbose);
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();