From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH v1 5/7] include: Add EchoCancelingNoiseReduction to handsfree driver
Date: Mon, 22 Apr 2013 04:00:23 -0500 [thread overview]
Message-ID: <5174FC27.1010205@gmail.com> (raw)
In-Reply-To: <1366635523-8272-5-git-send-email-claudio.takahasi@openbossa.org>
[-- Attachment #1: Type: text/plain, Size: 1104 bytes --]
Hi Claudio,
On 04/22/2013 07:58 AM, Claudio Takahasi wrote:
> This patch extends the handsfree driver adding echo canceling and noise
> reduction callback to allow enabling or disabling this feature in the
> audio gateway.
> ---
> include/handsfree.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/include/handsfree.h b/include/handsfree.h
> index b5e0d5f..dcc4d74 100644
> --- a/include/handsfree.h
> +++ b/include/handsfree.h
> @@ -48,6 +48,9 @@ struct ofono_handsfree_driver {
> void (*voice_recognition)(struct ofono_handsfree *hf,
> ofono_bool_t enabled,
> ofono_handsfree_cb_t cb, void *data);
> + void (*echocanceling_noisereduction)(struct ofono_handsfree *hf,
> + ofono_bool_t enabled,
> + ofono_handsfree_cb_t cb, void *data);
You can use nrec here. We are only pedantic about no Acronyms in the
public D-Bus APIs.
Also note that NREC can only be turned off, not on. Hence the enabled
argument is likely not needed.
> };
>
> void ofono_handsfree_set_ag_features(struct ofono_handsfree *hf,
Regards,
-Denis
next prev parent reply other threads:[~2013-04-22 9:00 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-19 17:34 [PATCH v0 1/7] doc: Add ECNR to Handsfree Claudio Takahasi
2013-04-19 15:24 ` Denis Kenzior
2013-04-19 21:17 ` Claudio Takahasi
2013-04-19 18:01 ` Denis Kenzior
2013-04-19 17:34 ` [PATCH v0 2/7] core: Add ECNR to Handsfree Features Claudio Takahasi
2013-04-19 17:34 ` [PATCH v0 3/7] core: Add ECNR in Handsfree GetProperty Claudio Takahasi
2013-04-19 17:34 ` [PATCH v0 4/7] core: Set ECNR to TRUE by default Claudio Takahasi
2013-04-19 17:34 ` [PATCH v0 5/7] include: Add ECNR to handsfree driver Claudio Takahasi
2013-04-19 17:34 ` [PATCH v0 6/7] hfpmodem: Add ECNR implementation Claudio Takahasi
2013-04-19 17:34 ` [PATCH v0 7/7] core: Add SetProperty for ECNR Claudio Takahasi
2013-04-19 20:11 ` [PATCH v0 1/7] doc: Add ECNR to Handsfree Johan Hedberg
2013-04-19 20:43 ` Claudio Takahasi
2013-04-22 12:58 ` [PATCH v1 1/7] doc: Add EchoCancelingNoiseReduction " Claudio Takahasi
2013-04-22 9:04 ` Denis Kenzior
2013-04-22 16:46 ` Claudio Takahasi
2013-04-22 11:56 ` Denis Kenzior
2013-04-22 12:58 ` [PATCH v1 2/7] core: Add "echo-canceling-and-noise-reduction" Claudio Takahasi
2013-04-22 12:58 ` [PATCH v1 3/7] core: Add EchoCancelingNoiseReduction to GetProperties Claudio Takahasi
2013-04-22 12:58 ` [PATCH v1 4/7] core: Set EchoCancelingNoiseReduction to TRUE by default Claudio Takahasi
2013-04-22 12:58 ` [PATCH v1 5/7] include: Add EchoCancelingNoiseReduction to handsfree driver Claudio Takahasi
2013-04-22 9:00 ` Denis Kenzior [this message]
2013-04-22 12:58 ` [PATCH v1 6/7] hfpmodem: Add EchoCancelingNoiseReduction Claudio Takahasi
2013-04-22 12:58 ` [PATCH v1 7/7] core: Add SetProperty for EchoCancelingNoiseReduction Claudio Takahasi
2013-04-23 12:44 ` [PATCH v2 1/7] doc: Add EchoCancelingNoiseReduction to Handsfree Claudio Takahasi
2013-04-23 12:44 ` [PATCH v2 2/7] core: Add "echo-canceling-and-noise-reduction" Claudio Takahasi
2013-04-23 12:44 ` [PATCH v2 3/7] core: Add EchoCancelingNoiseReduction to GetProperties Claudio Takahasi
2013-04-23 12:44 ` [PATCH v2 4/7] core: Set EchoCancelingNoiseReduction to TRUE by default Claudio Takahasi
2013-04-23 12:44 ` [PATCH v2 5/7] include: Add EchoCancelingNoiseReduction to handsfree driver Claudio Takahasi
2013-04-23 12:44 ` [PATCH v2 6/7] hfpmodem: Add EchoCancelingNoiseReduction Claudio Takahasi
2013-04-23 12:44 ` [PATCH v2 7/7] core: Add SetProperty for EchoCancelingNoiseReduction Claudio Takahasi
2013-04-23 17:21 ` [PATCH v3 1/7] doc: Add EchoCancelingNoiseReduction to Handsfree Claudio Takahasi
2013-04-23 15:30 ` Denis Kenzior
2013-04-23 17:21 ` [PATCH v3 2/7] core: Add "echo-canceling-and-noise-reduction" Claudio Takahasi
2013-04-23 17:21 ` [PATCH v3 3/7] core: Add EchoCancelingNoiseReduction to GetProperties Claudio Takahasi
2013-04-23 17:21 ` [PATCH v3 4/7] core: Set EchoCancelingNoiseReduction to TRUE by default Claudio Takahasi
2013-04-23 17:21 ` [PATCH v3 5/7] include: Add EchoCancelingNoiseReduction to handsfree driver Claudio Takahasi
2013-04-23 17:21 ` [PATCH v3 6/7] hfpmodem: Add EchoCancelingNoiseReduction Claudio Takahasi
2013-04-23 17:21 ` [PATCH v3 7/7] core: Add SetProperty for EchoCancelingNoiseReduction Claudio Takahasi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5174FC27.1010205@gmail.com \
--to=denkenz@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox