diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-04-17 20:43:59 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-04-17 20:43:59 (GMT) |
commit | bd394cdb9f78715cf92ddaaef026b6b00d3d2bd9 (patch) | |
tree | 2ecf830f7e343af4d8f0439f43ae0cbdafd7b3ba /src/uscxml/plugins/invoker/modality/miles/SpatialAudio.h | |
parent | 1c10bc4bf19c5ce73e3e10380e613da8bf93a1b0 (diff) | |
download | uscxml-bd394cdb9f78715cf92ddaaef026b6b00d3d2bd9.zip uscxml-bd394cdb9f78715cf92ddaaef026b6b00d3d2bd9.tar.gz uscxml-bd394cdb9f78715cf92ddaaef026b6b00d3d2bd9.tar.bz2 |
Fixed setConfiguration and started MMI arch
Diffstat (limited to 'src/uscxml/plugins/invoker/modality/miles/SpatialAudio.h')
-rw-r--r-- | src/uscxml/plugins/invoker/modality/miles/SpatialAudio.h | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/src/uscxml/plugins/invoker/modality/miles/SpatialAudio.h b/src/uscxml/plugins/invoker/modality/miles/SpatialAudio.h deleted file mode 100644 index 7632f52..0000000 --- a/src/uscxml/plugins/invoker/modality/miles/SpatialAudio.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef SPATIALAUDIO_H_EH11SAQC -#define SPATIALAUDIO_H_EH11SAQC - -#include <map> - -#include "../MMIComponent.h" - -extern "C" { -# include "miles/audio.h" -# include "miles/audio_codec.h" -# include "miles/audio_device.h" -} - -namespace uscxml { - -class Interpreter; - -class SpatialAudio : public MMIComponent { -public: - SpatialAudio(); - virtual ~SpatialAudio(); - virtual Invoker* create(Interpreter* interpreter); - - virtual std::set<std::string> getNames() { - std::set<std::string> names; - names.insert("spatial-audio"); - names.insert("audio"); - names.insert("http://www.smartvortex.eu/mmi/spatial-audio"); - names.insert("http://www.smartvortex.eu/mmi/spatial-audio/"); - return names; - } - - virtual Data getDataModelVariables(); - virtual void send(SendRequest& req); - virtual void cancel(const std::string sendId); - virtual void invoke(InvokeRequest& req); - virtual void sendToParent(SendRequest& req); - - void getPosFromParams(std::map<std::string, std::list<std::string> >& params, float* position); - static float posToRadian(std::string& position); - -protected: - std::string _invokeId; - Interpreter* _invokedInterpreter; - - std::stringstream _dataStream; - - float* _pos; - float* _listener; - bool _audioDevOpen; - int _audioDevIndex; - struct miles_audio_device* _audioDev; - -}; - -} - -#endif /* end of include guard: SPATIALAUDIO_H_EH11SAQC */ |