summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsamr7 <samr7@126591fb-c623-4b62-a76d-97a8e4f34109>2008-11-28 10:07:10 +0000
committersamr7 <samr7@126591fb-c623-4b62-a76d-97a8e4f34109>2008-11-28 10:07:10 +0000
commit3f4b82f065ae0e03010ee1124c78777fc83496ea (patch)
tree3d0f7f220de0ab6690bf4108409f55b83b445f64
parentbee89eacfc705bab4032590b06662581345a7847 (diff)
downloadnohands-3f4b82f065ae0e03010ee1124c78777fc83496ea.tar.gz
Report the audio gateway audio state from the CloseAudio() method.
git-svn-id: http://nohands.svn.sourceforge.net/svnroot/nohands/trunk@46 126591fb-c623-4b62-a76d-97a8e4f34109
-rw-r--r--hfpd/objects.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/hfpd/objects.cpp b/hfpd/objects.cpp
index ba2d5ce..1270581 100644
--- a/hfpd/objects.cpp
+++ b/hfpd/objects.cpp
@@ -645,6 +645,7 @@ CloseAudio(DBusMessage *msgp)
if (m_sess->SndIsAsyncStarted())
m_hf->m_sound->EpRelease();
m_sess->SndClose();
+ NotifyAudioConnection(m_sess, 0);
return SendReplyArgs(msgp, DBUS_TYPE_INVALID);
}