diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llaudio/audioengine.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/llaudio/audioengine.h')
-rw-r--r-- | linden/indra/llaudio/audioengine.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/linden/indra/llaudio/audioengine.h b/linden/indra/llaudio/audioengine.h index 8994703..e38413f 100644 --- a/linden/indra/llaudio/audioengine.h +++ b/linden/indra/llaudio/audioengine.h | |||
@@ -36,10 +36,6 @@ | |||
36 | #include <list> | 36 | #include <list> |
37 | #include <map> | 37 | #include <map> |
38 | 38 | ||
39 | #ifndef LL_FMOD | ||
40 | # define LL_FMOD 1 | ||
41 | #endif | ||
42 | |||
43 | #include "listener.h" | 39 | #include "listener.h" |
44 | #include "v3math.h" | 40 | #include "v3math.h" |
45 | #include "v3dmath.h" | 41 | #include "v3dmath.h" |
@@ -136,14 +132,14 @@ public: | |||
136 | LLAudioData *getAudioData(const LLUUID &audio_uuid); | 132 | LLAudioData *getAudioData(const LLUUID &audio_uuid); |
137 | 133 | ||
138 | 134 | ||
139 | virtual void startInternetStream(const char* url) = 0; | 135 | virtual void startInternetStream(const std::string& url) = 0; |
140 | virtual void stopInternetStream() = 0; | 136 | virtual void stopInternetStream() = 0; |
141 | virtual void pauseInternetStream(int pause) = 0; | 137 | virtual void pauseInternetStream(int pause) = 0; |
142 | virtual int isInternetStreamPlaying() = 0; | 138 | virtual int isInternetStreamPlaying() = 0; |
143 | virtual void getInternetStreamInfo(char* artist, char* title) { artist[0] = 0; title[0] = 0; } | 139 | virtual void getInternetStreamInfo(char* artist, char* title) { artist[0] = 0; title[0] = 0; } |
144 | // use a value from 0.0 to 1.0, inclusive | 140 | // use a value from 0.0 to 1.0, inclusive |
145 | virtual void setInternetStreamGain(F32 vol) { mInternetStreamGain = vol; } | 141 | virtual void setInternetStreamGain(F32 vol) { mInternetStreamGain = vol; } |
146 | virtual const char* getInternetStreamURL() { return ""; } | 142 | virtual const std::string& getInternetStreamURL() { return LLStringUtil::null; } |
147 | 143 | ||
148 | // For debugging usage | 144 | // For debugging usage |
149 | virtual LLVector3 getListenerPos(); | 145 | virtual LLVector3 getListenerPos(); |
@@ -416,7 +412,7 @@ class LLAudioBuffer | |||
416 | { | 412 | { |
417 | public: | 413 | public: |
418 | virtual ~LLAudioBuffer() {}; | 414 | virtual ~LLAudioBuffer() {}; |
419 | virtual BOOL loadWAV(const char *filename) = 0; | 415 | virtual BOOL loadWAV(const std::string& filename) = 0; |
420 | virtual U32 getLength() = 0; | 416 | virtual U32 getLength() = 0; |
421 | 417 | ||
422 | friend class LLAudioEngine; | 418 | friend class LLAudioEngine; |