Skip to content
Snippets Groups Projects
Commit fd73b6e5 authored by Ansariel's avatar Ansariel Committed by akleshchev
Browse files

Fix builds using OpenAL

parent 35c0f1a7
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
...@@ -42,6 +42,7 @@ class LLAudioEngine_OpenAL : public LLAudioEngine ...@@ -42,6 +42,7 @@ class LLAudioEngine_OpenAL : public LLAudioEngine
virtual bool init(void *user_data, const std::string &app_title); virtual bool init(void *user_data, const std::string &app_title);
virtual std::string getDriverName(bool verbose); virtual std::string getDriverName(bool verbose);
virtual LLStreamingAudioInterface* createDefaultStreamingAudioImpl() const { return nullptr; }
virtual void allocateListener(); virtual void allocateListener();
virtual void shutdown(); virtual void shutdown();
...@@ -56,7 +57,6 @@ class LLAudioEngine_OpenAL : public LLAudioEngine ...@@ -56,7 +57,6 @@ class LLAudioEngine_OpenAL : public LLAudioEngine
/*virtual*/ void updateWind(LLVector3 direction, F32 camera_altitude); /*virtual*/ void updateWind(LLVector3 direction, F32 camera_altitude);
private: private:
void * windDSP(void *newbuffer, int length);
typedef S16 WIND_SAMPLE_T; typedef S16 WIND_SAMPLE_T;
LLWindGen<WIND_SAMPLE_T> *mWindGen; LLWindGen<WIND_SAMPLE_T> *mWindGen;
S16 *mWindBuf; S16 *mWindBuf;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment