Commit 88bec16b authored by lmoesch's avatar lmoesch

Added dummy renderer for ambient sound.

parent 733067dc
#include "VABinauralRealTimeRenderer.h"
// VA Includes
#include "../../../Utils/VAUtils.h"
VABinauralRealTimeRenderer::VABinauralRealTimeRenderer( const CVAAudioRendererInitParams& oParams_ ) :
_oParams(oParams_),
_newSceneState(NULL),
_curSceneState(NULL),
_indicateReset(false),
_resetAck(false)
{
CVAConfigInterpreter conf(*_oParams.pConfig);
}
VABinauralRealTimeRenderer::~VABinauralRealTimeRenderer()
{
}
#ifndef IW_VACORE_BINAURALREALTIMERENDERER
#define IW_VACORE_BINAURALREALTIMERENDERER
#include <VA.h>
// VA includes
#include "../../VAAudioRenderer.h"
// ITA includes
#include <ITADataSourceRealization.h>
class VABinauralRealTimeRenderer : public IVAAudioRenderer, public CVAObject
{
public:
VABinauralRealTimeRenderer( const CVAAudioRendererInitParams& );
virtual ~VABinauralRealTimeRenderer();
inline void loadScene(const std::string&) {};
void processStream( const ITAStreamInfo* pStreamInfo );
void updateScene(CVASceneState*);
// Resets the renderer to it's initial state
void reset();
// Returns the renderers output stream datasource
ITADatasource* GetOutputDatasource();
private:
const CVAAudioRendererInitParams _oParams;
CVASceneState* _newSceneState;
CVASceneState* _curSceneState;
ITAAtomicBool _indicateReset, _resetAck;
};
#endif // IW_VACORE_BINAURALREALTIMERENDERER
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment