From c30754e2f07d987fa60950bad385261f1144471e Mon Sep 17 00:00:00 2001 From: tick Date: Tue, 4 Dec 2007 07:22:17 +0000 Subject: gsmd: Provide Current Call status (sean_chiang) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3557 99fdad57-331a-0410-800a-d7fa5415bdb3 --- src/libgsmd/libgsmd_voicecall.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/libgsmd') diff --git a/src/libgsmd/libgsmd_voicecall.c b/src/libgsmd/libgsmd_voicecall.c index d78fb3d..214ae0c 100644 --- a/src/libgsmd/libgsmd_voicecall.c +++ b/src/libgsmd/libgsmd_voicecall.c @@ -95,3 +95,8 @@ int lgsm_voice_volume_set(struct lgsm_handle *lh, int volume) /* FIXME: we need to pass along the parameter */ return lgsm_send_simple(lh, GSMD_MSG_VOICECALL, GSMD_VOICECALL_VOL_SET); } + +int lgsm_voice_get_status(struct lgsm_handle *lh) +{ + return lgsm_send_simple(lh, GSMD_MSG_VOICECALL, GSMD_VOICECALL_GET_STAT); +} -- cgit v1.2.3