mirror of git://git.sysmocom.de/ofono
include: Add disable_nrec to handsfree driver
This patch extends the handsfree driver adding echo canceling and noise reduction callback to allow disabling this feature in the audio gateway.
This commit is contained in:
parent
275fe0df81
commit
c90b703289
|
@ -48,6 +48,8 @@ struct ofono_handsfree_driver {
|
||||||
void (*voice_recognition)(struct ofono_handsfree *hf,
|
void (*voice_recognition)(struct ofono_handsfree *hf,
|
||||||
ofono_bool_t enabled,
|
ofono_bool_t enabled,
|
||||||
ofono_handsfree_cb_t cb, void *data);
|
ofono_handsfree_cb_t cb, void *data);
|
||||||
|
void (*disable_nrec)(struct ofono_handsfree *hf,
|
||||||
|
ofono_handsfree_cb_t cb, void *data);
|
||||||
};
|
};
|
||||||
|
|
||||||
void ofono_handsfree_set_ag_features(struct ofono_handsfree *hf,
|
void ofono_handsfree_set_ag_features(struct ofono_handsfree *hf,
|
||||||
|
|
Loading…
Reference in New Issue