Commit dbd59392 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Applying API changes

parent 753e5330
......@@ -98,13 +98,13 @@ public:
* | | *
* +----------------------------------------------------------+ */
int GetRenderingModuleInfos( lua_State* );
int GetRenderingModules( lua_State* );
int SetRenderingModuleMuted( lua_State *L );
int IsRenderingModuleMuted( lua_State *L );
int SetRenderingModuleGain( lua_State *L );
int GetRenderingModuleGain( lua_State *L );
int GetReproductionModuleInfos( lua_State* );
int GetReproductionModules( lua_State* );
int SetReproductionModuleMuted( lua_State *L );
int IsReproductionModuleMuted( lua_State *L );
int SetReproductionModuleGain( lua_State *L );
......@@ -1069,13 +1069,13 @@ int CVALuaCoreObject::SetCoreClock(lua_State *L) {
* | | *
* +----------------------------------------------------------+ */
int CVALuaCoreObject::GetRenderingModuleInfos( lua_State *L )
int CVALuaCoreObject::GetRenderingModules( lua_State *L )
{
/* core:GetRenderingModuleInfos() */
VALUASHELL_TRY();
std::vector< CVAAudioRenderingModuleInfo > voRenderer;
std::vector< CVAAudioRendererInfo > voRenderer;
m_pCore->GetRenderingModules( voRenderer );
//@todo implemet
......@@ -1146,6 +1146,24 @@ int CVALuaCoreObject::GetRenderingModuleGain( lua_State *L )
VALUASHELL_CATCH();
}
int CVALuaCoreObject::GetReproductionModules( lua_State *L )
{
/* core:GetReproductionModules() */
VALUASHELL_TRY();
std::vector< CVAAudioReproductionInfo > voRepros;
m_pCore->GetReproductionModules( voRepros );
//@todo implemet
VA_EXCEPT0( NOT_IMPLEMENTED );
return 0;
VALUASHELL_CATCH();
}
int CVALuaCoreObject::SetReproductionModuleMuted( lua_State *L )
{
/* core:SetReproductionModuleMuted( id, muted ) */
......
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