Commit 583943ab authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

WorkflowRenderer: Updating unlock callback to match imem callback prototype

parent 8d78ef81
......@@ -173,7 +173,7 @@ int
WorkflowRenderer::lockAudio( EsHandler *handler, qint64 *pts, size_t *bufferSize, void **buffer )
{
qint64 ptsDiff;
uint32_t nbSample;
quint32 nbSample;
AudioClipWorkflow::AudioSample *renderAudioSample;
if ( m_stopping == false && m_paused == false )
......@@ -207,7 +207,7 @@ WorkflowRenderer::lockAudio( EsHandler *handler, qint64 *pts, size_t *bufferSize
return 0;
}
void WorkflowRenderer::unlock( void*, size_t, void* )
void WorkflowRenderer::unlock( void*, const char*, size_t, void* )
{
}
......
......@@ -198,10 +198,11 @@ class WorkflowRenderer : public GenericRenderer
* \brief unlock callback for the imem module
*
* \param data The callback data, this is most likely to be an EsHandler
* \param cookie The imem cookie.
* \param buffSize The size of the buffer
* \param buffer The buffer to be released
*/
static void unlock( void *data, size_t buffSize, void *buffer );
static void unlock( void *data, const char* cookie, size_t buffSize, void *buffer );
/**
* \brief Return the renderer specific width
*
......
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