From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] New A2DP support : HOWTO ?
Date: Fri, 17 Aug 2007 16:02:59 +0200 [thread overview]
Message-ID: <1187359379.6698.388.camel@violet> (raw)
In-Reply-To: <1187358839.6257.28.camel@ubuntu.mpl.access-company.com>
Hi Frederic,
> > >> Maybe the start command could be used to launch the
> > >> audio player and start playback. Then rejecting should only occur if
> > >> launching failed.
> > >
> > > Won't happen. It's just not how the architecture is. User
> > > applications initiate access to the system wide audio service, not
> > > the other way around.
> >
> > Just a little clarification to this so you don't think we loose all
> > usefulness of doing stuff automatically when a headset connects to
> > us: The audio service sends (D-Bus) signals when devices connect and
> > disconnect and the plan is to also integrate with HAL (a patch is
> > already in the works) to provide a object which HAL aware
> > applications (e.g. pulseaudio) could automatically use. This way the
> > applications or a sound server can automatically recognize the
> > connected headset and switch their audio routing accordingly.
>
> Oh I see, then there is no need to write a pulseaudio specific plugin.
we might have to do this for latency purposes. We don't wanna copy our
audio data around. While it would work on the desktop, on an embedded
device it would be overkill.
> However, A2DP Test Suite check SNK initiated stream start.
>
> 4.2.4.1 TP/SET/BV-04-I [Start Stream. - SNK]
> To verify that SNK can start audio streaming.
>
> A reject would probably make the test fail.
In the long run we need to accept it and then suspend the stream if no
client is attached. However in the long run we also have to tell the
plugin to simply discard data (if no A2DP connection is open) and not
fail with various stupid reasons. In that case the start command would
tell the plugin that a connection is now present and has to use it. It
is a really complex system and needs a lots of testing to get the right
and expected behavior for the end user.
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2007-08-17 14:02 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-13 16:37 [Bluez-devel] New A2DP support : HOWTO ? Fabien Chevalier
2007-08-13 16:46 ` Frederic Dalleau
2007-08-13 17:06 ` Marcel Holtmann
2007-08-13 17:25 ` Frederic Dalleau
2007-08-13 17:50 ` Marcel Holtmann
2007-08-14 12:50 ` Fabien Chevalier
2007-08-14 16:30 ` Marcel Holtmann
2007-08-17 10:42 ` Fabien Chevalier
2007-08-17 11:00 ` Marcel Holtmann
2007-08-17 11:28 ` Fabien Chevalier
2007-08-17 11:42 ` Johan Hedberg
2007-08-17 12:44 ` Frederic Dalleau
2007-08-17 13:18 ` Johan Hedberg
2007-08-17 13:43 ` Johan Hedberg
2007-08-17 13:53 ` Frederic Dalleau
2007-08-17 14:02 ` Marcel Holtmann [this message]
2007-08-17 14:15 ` Brad Midgley
2007-08-17 14:29 ` Frederic Dalleau
2007-08-18 14:10 ` Fabien Chevalier
2007-08-18 14:02 ` Fabien Chevalier
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=1187359379.6698.388.camel@violet \
--to=marcel@holtmann.org \
--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