public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "João Paulo Rechi Vita" <jprvita@gmail.com>
To: linux-bluetooth@vger.kernel.org
Cc: luiz.dentz@gmail.com, "João Paulo Rechi Vita" <jprvita@gmail.com>
Subject: [PATCH 4/4] Add Sink role support to audio IPC.
Date: Mon, 13 Jul 2009 12:28:53 -0300	[thread overview]
Message-ID: <1247498933-30609-5-git-send-email-jprvita@gmail.com> (raw)
In-Reply-To: <1247498933-30609-4-git-send-email-jprvita@gmail.com>

---
 audio/unix.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/audio/unix.c b/audio/unix.c
index f241a83..2646302 100644
--- a/audio/unix.c
+++ b/audio/unix.c
@@ -882,6 +882,7 @@ static void start_open(struct audio_device *dev, struct unix_client *client)
 
 	switch (client->type) {
 	case TYPE_SINK:
+	case TYPE_SOURCE:
 		a2dp = &client->d.a2dp;
 
 		if (!a2dp->session)
@@ -957,6 +958,7 @@ static void start_config(struct audio_device *dev, struct unix_client *client)
 
 	switch (client->type) {
 	case TYPE_SINK:
+	case TYPE_SOURCE:
 		a2dp = &client->d.a2dp;
 
 		if (!a2dp->session)
@@ -1023,6 +1025,7 @@ static void start_resume(struct audio_device *dev, struct unix_client *client)
 
 	switch (client->type) {
 	case TYPE_SINK:
+	case TYPE_SOURCE:
 		a2dp = &client->d.a2dp;
 
 		if (!a2dp->session)
@@ -1091,6 +1094,7 @@ static void start_suspend(struct audio_device *dev, struct unix_client *client)
 
 	switch (client->type) {
 	case TYPE_SINK:
+	case TYPE_SOURCE:
 		a2dp = &client->d.a2dp;
 
 		if (!a2dp->session)
-- 
1.6.0.4


  reply	other threads:[~2009-07-13 15:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-13 15:28 A2DP Sink implementation João Paulo Rechi Vita
2009-07-13 15:28 ` [PATCH 1/4] Adapt A2DP functions to support the Sink role João Paulo Rechi Vita
2009-07-13 15:28   ` [PATCH 2/4] Create A2DP Source interface João Paulo Rechi Vita
2009-07-13 15:28     ` [PATCH 3/4] Create one SBC Sink when registering A2DP server João Paulo Rechi Vita
2009-07-13 15:28       ` João Paulo Rechi Vita [this message]
2009-07-13 16:38   ` [PATCH 1/4] Adapt A2DP functions to support the Sink role Luiz Augusto von Dentz
2009-07-13 21:02     ` Johan Hedberg

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=1247498933-30609-5-git-send-email-jprvita@gmail.com \
    --to=jprvita@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    /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