return res;
}
-static int agent_fixup(struct ast_channel *oldchan, struct ast_channel *newchan, int needlock)
+static int agent_fixup(struct ast_channel *oldchan, struct ast_channel *newchan)
{
struct agent_pvt *p = newchan->pvt->pvt;
if (needlock)
}
#endif
-static int alsa_fixup(struct ast_channel *oldchan, struct ast_channel *newchan, int needlock)
+static int alsa_fixup(struct ast_channel *oldchan, struct ast_channel *newchan)
{
struct chan_alsa_pvt *p = newchan->pvt->pvt;
p->owner = newchan;
/* Do in-band DTMF detection */
if (p->dtmfmode & H323_DTMF_INBAND) {
- f = ast_dsp_process(p->owner,p->vad,f,0);
+ f = ast_dsp_process(p->owner,p->vad,f);
if (f->frametype == AST_FRAME_DTMF)
ast_log(LOG_DEBUG, "Got in-band digit %c.\n", f->subclass);
}
}
// FIXME: WTF is this? Do I need this???
-static int oh323_fixup(struct ast_channel *oldchan, struct ast_channel *newchan, int needlock)
+static int oh323_fixup(struct ast_channel *oldchan, struct ast_channel *newchan)
{
struct oh323_pvt *p = newchan->pvt->pvt;
ast_set_write_format(p->owner, p->owner->writeformat);
}
if (p->dtmfinband) {
- f = ast_dsp_process(p->owner,p->dsp,f,0);
+ f = ast_dsp_process(p->owner,p->dsp,f);
}
}
ast_queue_frame(p->owner, f);