Commit 2f46f6fd authored by Jonas Stienen's avatar Jonas Stienen

Fixing index arg access error in createTTS method

parent 05fc8381
......@@ -1237,7 +1237,7 @@ void createTextToSpeechSignalSource( int nlhs, mxArray *plhs[], int nrhs, const
ConnectionHandle hHandle = GetConnectionHandle( prhs[ 0 ] );
CVAMatlabConnection* pConnection = g_vpConnections[ hHandle ];
std::string sName = matlabGetString( prhs[ 2 ], "name" );
std::string sName = matlabGetString( prhs[ 1 ], "name" );
std::string sID = pConnection->pCoreInterface->CreateTextToSpeechSignalSource( sName );
plhs[ 0 ] = mxCreateString( sID.c_str() );
}
......
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