diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-08-29 09:52:14 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-08-29 09:52:14 (GMT) |
commit | 442204d0f510cb033cb75a542b010f4f90cbd2a3 (patch) | |
tree | a243159f780aa77d53d2523a0dea7a365613ae21 /src/uscxml/plugins/invoker/audio/OpenALInvoker.h | |
parent | afda86c8ba1f2ce3dc89a56bf9bccc62c52ff240 (diff) | |
download | uscxml-442204d0f510cb033cb75a542b010f4f90cbd2a3.zip uscxml-442204d0f510cb033cb75a542b010f4f90cbd2a3.tar.gz uscxml-442204d0f510cb033cb75a542b010f4f90cbd2a3.tar.bz2 |
Some bug-fixes and enhancements to build-process
Diffstat (limited to 'src/uscxml/plugins/invoker/audio/OpenALInvoker.h')
-rw-r--r-- | src/uscxml/plugins/invoker/audio/OpenALInvoker.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/uscxml/plugins/invoker/audio/OpenALInvoker.h b/src/uscxml/plugins/invoker/audio/OpenALInvoker.h index 2ef567b..9b71d95 100644 --- a/src/uscxml/plugins/invoker/audio/OpenALInvoker.h +++ b/src/uscxml/plugins/invoker/audio/OpenALInvoker.h @@ -31,7 +31,7 @@ public: bool finished; int read; int written; - float pos[3]; + ALfloat pos[3]; URL file; PCMConverter* transform; }; @@ -66,7 +66,10 @@ protected: bool _isStarted; bool _isRunning; - float _listenerPos[3]; + ALfloat _listenerPos[3]; + ALfloat _listenerVel[3]; + ALfloat _listenerOrient[6]; + float _maxPos[3]; static void fillBuffers(void* userdata); void start(); |