Commit 0a5df732 authored by Jonas Stienen's avatar Jonas Stienen
Browse files

Starting implementation of interface changes from VABase

parent d7968039
......@@ -4672,12 +4672,13 @@ bool CVACoreImpl::IsReproductionModuleMuted( const std::string& sModuleID ) cons
return true;
}
void CVACoreImpl::GetRenderingModules( std::vector< CVAAudioRenderingModuleInfo >& vRenderers ) const
void CVACoreImpl::GetRenderingModules( std::vector< CVAAudioRendererInfo >& vRenderers, bool bFilterEnabled /* = true */ ) const
{
vRenderers.clear();
for( size_t i=0; i<m_vRenderers.size(); i++ )
{
const CVAAudioRendererDesc& oRenderer( m_vRenderers[i] );
CVAAudioRenderingModuleInfo oRendererInfo;
CVAAudioRendererInfo oRendererInfo;
oRendererInfo.sID = oRenderer.sID;
oRendererInfo.sClass = oRenderer.sClass;
vRenderers.push_back( oRendererInfo );
......@@ -4686,12 +4687,13 @@ void CVACoreImpl::GetRenderingModules( std::vector< CVAAudioRenderingModuleInfo
return;
}
void CVACoreImpl::GetReproductionModules( std::vector< CVAAudioReproductionModuleInfo >& vRepros ) const
void CVACoreImpl::GetReproductionModules( std::vector< CVAAudioRendererInfo >& vRepros, bool bFilterEnabled /* = true */ ) const
{
vRepros.clear();
for( size_t i=0; i<m_vReproductionModules.size(); i++ )
{
const CVAAudioReproductionModuleDesc& oRepro( m_vReproductionModules[i] );
CVAAudioReproductionModuleInfo oRepInfo;
CVAAudioRendererInfo oRepInfo;
oRepInfo.sID = oRepro.sID;
oRepInfo.sClass = oRepro.sClass;
vRepros.push_back( oRepInfo );
......
......@@ -96,7 +96,7 @@ public:
void RegisterModule(CVAObject*);
void EnumerateModules(std::vector<CVAModuleInfo>& m_viModuleInfos) const;
void CallModule(const std::string& sModuleName, const CVAStruct& oArgs, CVAStruct& oReturn);
void CallModule( const std::string& sModuleName, const CVAStruct& oArgs, CVAStruct& oReturn );
/* +----------------------------------------------------------+ *
* | | *
......@@ -493,7 +493,7 @@ private:
// --= Rendering & Reproduction =-----------------------------------
class CVAAudioRendererDesc : public CVAAudioRenderingModuleInfo
class CVAAudioRendererDesc : public CVAAudioRendererInfo
{
public:
std::shared_ptr< IVAAudioRenderer > pInstance;
......@@ -505,7 +505,7 @@ private:
};
std::vector< CVAAudioRendererDesc > m_vRenderers;
class CVAAudioReproductionModuleDesc : public CVAAudioReproductionModuleInfo
class CVAAudioReproductionModuleDesc : public CVAAudioRendererInfo
{
public:
std::shared_ptr< IVAAudioReproductionModule > pInstance;
......
Supports Markdown
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