summaryrefslogtreecommitdiffstats
path: root/audio/telephony-dummy.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-11-27 18:38:03 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-11-27 18:38:03 +0200
commita04f48420ffc2c1a33e743d5075f24809161b2fd (patch)
tree14f017095e84aeb5f01189cc09de2f7df731cec2 /audio/telephony-dummy.c
parent7fa0fd3049a4034fc347d7035d56ca1682a24856 (diff)
Implement support for AT+NREC
This patch adds support for the AT+NREC command which can be used for disabling noice reduction and echo canceling features on the AG side.
Diffstat (limited to 'audio/telephony-dummy.c')
-rw-r--r--audio/telephony-dummy.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/audio/telephony-dummy.c b/audio/telephony-dummy.c
index b857183f..0c7ff9d9 100644
--- a/audio/telephony-dummy.c
+++ b/audio/telephony-dummy.c
@@ -196,6 +196,12 @@ void telephony_call_hold_req(void *telephony_device, const char *cmd)
telephony_call_hold_rsp(telephony_device, CME_ERROR_NONE);
}
+void telephony_disable_nr_and_ec_req(void *telephony_device)
+{
+ debug("telephony-dummy: got disable NR and EC request");
+ telephony_disable_nr_and_ec_rsp(telephony_device, CME_ERROR_NONE);
+}
+
/* D-Bus method handlers */
static DBusMessage *outgoing_call(DBusConnection *conn, DBusMessage *msg,
void *data)