linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Brad Midgley <bmidgley@xmission.com>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] A2DP Profile Certification
Date: Sun, 18 Jun 2006 23:33:23 -0600	[thread overview]
Message-ID: <44963723.4040807@xmission.com> (raw)
In-Reply-To: <447C7330.9000303@xmission.com>

Fr=E9d=E9ric,

>> We must be very careful here : The ICS says the Source must accept =

>> connection establishment, this is different from the sink role because =

>> the source will accept the connection and then send its audio stream!
> =

> ok. yes, we're missing a lot of stuff here that we need to handle.

I put code in a2play so it will listen on the control link for
suspend/resume from a2dp headset (*if* you use -p for pthreads). This
should be a decent model for getting it into the alsa plugin if you want
to look at that.

This is how we find out a combo headset is taking a voice call.

Frankly it may be messy getting those signals to the media player. It
would be easier to make the alsa plugin just throw away audio it gets
while the set wants things suspended.

We're still missing something here... we don't listen for new control
connections from the set. You could look at a2recv.c for code that will
listen for new connections. This will be more complicated since you may
want to use dbus to start up the media player in response.

Brad


_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  parent reply	other threads:[~2006-06-19  5:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-30 15:19 [Bluez-devel] A2DP Profile Certification Frédéric DALLEAU
2006-05-30 15:32 ` Brad Midgley
2006-05-30 15:50   ` Frédéric DALLEAU
2006-05-30 16:30     ` Brad Midgley
2006-05-30 16:33       ` Marcel Holtmann
2006-06-19  5:33       ` Brad Midgley [this message]
2006-06-19  7:59         ` Frédéric DALLEAU
2006-06-19 14:49           ` Brad Midgley
2006-06-19 15:20             ` Frédéric DALLEAU
2006-06-21 16:50           ` Frédéric DALLEAU
2006-06-21 17:24             ` Brad Midgley

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=44963723.4040807@xmission.com \
    --to=bmidgley@xmission.com \
    --cc=bluez-devel@lists.sourceforge.net \
    /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;
as well as URLs for NNTP newsgroup(s).