summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2013-04-23 14:21:41 -0300
committerDenis Kenzior <denkenz@gmail.com>2013-04-23 10:20:22 -0500
commitc90b7032897deddb74fcb6cbf6b6dfd62c1fc417 (patch)
treefaf4bada024998a125afa01ea9a63f39f0b80ee0 /include
parent275fe0df8140955fef218396e0c8c622fd1f94f9 (diff)
downloadofono-c90b7032897deddb74fcb6cbf6b6dfd62c1fc417.tar.bz2
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.
Diffstat (limited to 'include')
-rw-r--r--include/handsfree.h2
1 files changed, 2 insertions, 0 deletions
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,