if (_tdm_layer_commit_possible(private_layer)) {
/* add to layer_commit_handler_list */
LIST_ADDTAIL(&layer_commit_handler->link, &private_output->layer_commit_handler_list);
- ret = tdm_output_commit_internal(private_layer->private_output, 0, NULL, NULL);
+ ret = tdm_output_commit_internal(private_layer->private_output, 0, _tdm_layer_cb_output_commit, layer_commit_handler);
TDM_GOTO_IF_FAIL(ret == TDM_ERROR_NONE, commit_failed);
if (tdm_debug_module & TDM_DEBUG_COMMIT)