Projekat

Općenito

Profil

Podrška #17168 » hernad_mISDN_no_dtmf.diff

Ernad Husremović, 10.05.2009 13:27

Pregled razlika:

drivers/isdn/mISDN/dsp_core.c
/* change volume if requested */
if (dsp->rx_volume)
dsp_change_volume(skb, dsp->rx_volume);
/* check if dtmf soft decoding is turned on */
/* check if dtmf soft decoding is turned on
if (dsp->dtmf.software) {
digits = dsp_dtmf_goertzel_decode(dsp, skb->data,
skb->len, (dsp_options&DSP_OPT_ULAW)?1:0);
}
/* we need to process receive data if software */
*/
/* we need to process receive data if software */
if (dsp->conf && dsp->conf->software) {
/* process data from card at cmx */
dsp_cmx_receive(dsp, skb);
......
spin_unlock_irqrestore(&dsp_lock, flags);
/* send dtmf result, if any */
/* send dtmf result, if any
if (digits) {
while (*digits) {
int k;
......
digits++;
}
}
*/
if (dsp->rx_disabled) {
/* if receive is not allowed */
break;
(1-1/2)