diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2013-04-23 14:21:40 -0300 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2013-04-23 10:20:02 -0500 |
commit | 275fe0df8140955fef218396e0c8c622fd1f94f9 (patch) | |
tree | aef1cf7fb462c248e8d803bf819111cbbb167e3f | |
parent | 6ef7d4fa8890e76979f90c52ee2bbf0ffeaee5a4 (diff) | |
download | ofono-275fe0df8140955fef218396e0c8c622fd1f94f9.tar.bz2 |
core: Set EchoCancelingNoiseReduction to TRUE by default
According to Bluetooth HFP spec: By default, if the AG supports its
own embedded echo canceling and/or noise reduction functions, it shall
have them activated until the AT+NREC command is received. The
configuration set by the HF shall by used by the AG while the Service
Level Connection is active.
Since there isn't a command to query the current value, it is being
assumed that Echo Canceling and Noise Reduction is enabled when the
connection is established and the gateway supports this feature.
-rw-r--r-- | src/handsfree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/handsfree.c b/src/handsfree.c index 09dd3d7c..6b15a243 100644 --- a/src/handsfree.c +++ b/src/handsfree.c @@ -358,6 +358,7 @@ struct ofono_handsfree *ofono_handsfree_create(struct ofono_modem *modem, hf->atom = __ofono_modem_add_atom(modem, OFONO_ATOM_TYPE_HANDSFREE, handsfree_remove, hf); + hf->nrec = TRUE; for (l = g_drivers; l; l = l->next) { const struct ofono_handsfree_driver *drv = l->data; |