From: Claudio Takahasi Date: Tue, 23 Apr 2013 17:21:41 +0000 (-0300) Subject: include: Add disable_nrec to handsfree driver X-Git-Tag: 1.13~71 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c90b7032897deddb74fcb6cbf6b6dfd62c1fc417;p=platform%2Fupstream%2Fofono.git 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. --- diff --git a/include/handsfree.h b/include/handsfree.h index b5e0d5f0..dde7000f 100644 --- a/include/handsfree.h +++ b/include/handsfree.h @@ -48,6 +48,8 @@ struct ofono_handsfree_driver { void (*voice_recognition)(struct ofono_handsfree *hf, ofono_bool_t enabled, 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,