mirror of git://git.sysmocom.de/ofono
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.
This commit is contained in:
parent
6ef7d4fa88
commit
275fe0df81
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue