From: "John H." <mistamaila@gmail.com>
To: "BlueZ development" <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] can you use bluetooth alsa to let bt device use computer speakers as output?
Date: Thu, 15 Feb 2007 02:30:26 -0600 [thread overview]
Message-ID: <5b9417770702150030x4e84f59flfbac26257b600ef1@mail.gmail.com> (raw)
In-Reply-To: <45D33129.7040906@xmission.com>
I am confused, I Can't use plugz and have to use btsco???
I don't even see these binaries after installing btsco, like a2play
Legacy Stereo (A2DP) Testing
Only developers should need to use this testing code. The A2DP plugin
work is mature enough to use directly.
A2DP provides a way to send stereo high-quality audio to some of the
newer headsets. On all the headsets I've seen so far, this is one-way
audio, so if you were expecting to get something like a gaming headset
(talking to other players, getting stereo sound back from the game),
you should wait for the next generation of headsets to get 2-way A2DP.
This code is found only in the "btsco" package.
To test stereo audio without installing the alsa plugin, you can run:
mpg123 --au - file.mp3 | ./a2play 00:0D:3C:30:32:AD
Where you replace file.mp3 with a good mp3 file and bdaddr with the
address of your headset. You can send live audio from line-in etc
using a command like:
./a2play -s -d -r 44100 00:0D:3C:30:32:AD /dev/dsp
Don't be surprised to get a delay. It's probably under 500ms but not
much under that.
The A2DP sink code receives a stream from another device. Run it with:
hciconfig hci0 class 0x200404
sdptool add A2SNK
./a2recv
It will try to bind to the bluetooth adapter and send audio out to /dev/dsp.
On 2/14/07, Brad Midgley <bmidgley@xmission.com> wrote:
> John
>
> > My moto Q can use a bluetooth headset for stereo music listening. Can
> > I tell bluez to allow my speakers to act as such a headset? If so,
> > how?
>
> open http://bluetooth-alsa.sourceforge.net/build.html (see the legacy
> drivers section and "the a2dp sink code" specifically)
>
> brad
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2007-02-15 8:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-14 7:16 [Bluez-devel] can you use bluetooth alsa to let bt device use computer speakers as output? John H.
2007-02-14 15:56 ` Brad Midgley
2007-02-15 8:30 ` John H. [this message]
2007-02-15 15:34 ` Brad Midgley
2007-02-15 16:15 ` John H.
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=5b9417770702150030x4e84f59flfbac26257b600ef1@mail.gmail.com \
--to=mistamaila@gmail.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