Linux bluetooth development
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ 4/4] android/A2DP: Notify when audio state change to suspend
Date: Fri, 17 Jan 2014 15:33:07 +0200	[thread overview]
Message-ID: <1389965587-20066-4-git-send-email-luiz.dentz@gmail.com> (raw)
In-Reply-To: <1389965587-20066-1-git-send-email-luiz.dentz@gmail.com>

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

---
 android/a2dp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/android/a2dp.c b/android/a2dp.c
index 12a8a69..8ec03c8 100644
--- a/android/a2dp.c
+++ b/android/a2dp.c
@@ -1007,6 +1007,8 @@ static gboolean sep_suspend_ind(struct avdtp *session,
 		return FALSE;
 	}
 
+	bt_audio_notify_state(setup, HAL_AUDIO_SUSPEND);
+
 	return TRUE;
 }
 
-- 
1.8.4.2


  parent reply	other threads:[~2014-01-17 13:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-17 13:33 [PATCH BlueZ 1/4] android/hal-msg: Add defines for each audio state Luiz Augusto von Dentz
2014-01-17 13:33 ` [PATCH BlueZ 2/4] android/A2DP: Notify when audio state change to started Luiz Augusto von Dentz
2014-01-17 13:33 ` [PATCH BlueZ 3/4] android/A2DP: Notify when audio state change to stopped Luiz Augusto von Dentz
2014-01-17 13:33 ` Luiz Augusto von Dentz [this message]
2014-01-18 22:28 ` [PATCH BlueZ 1/4] android/hal-msg: Add defines for each audio state Luiz Augusto von Dentz

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=1389965587-20066-4-git-send-email-luiz.dentz@gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=linux-bluetooth@vger.kernel.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