4
* Header of the microphoneSensor
9
#ifndef MIRCOPHONESENSOR_H_
10
#define MIRCOPHONESENSOR_H_
12
#include <dtAudio/audiomanager.h>
13
#include "../../basic/sensors/sensorBase.h"
17
class MicrophoneSensor : public SensorBase
28
MicrophoneSensor(BodyBase* attachedTo,osg::Vec3f pos, osg::Vec3f orient,
29
const std::string &name);
30
virtual ~MicrophoneSensor();
31
void getParameter(const std::string &name, ParameterReturnValue parameter);
32
void setParameter(const std::string &name, ParameterReturnValue parameter);
34
void evaluate(ParameterReturnValue srv);
36
void resetMicrophone();
38
void getSensorValue(std::ostream& theStream) const;
42
#endif // MICROPHONESENSOR_H_