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?
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
so as of now, with just plugz, can i do what i was speaking of?
On 2/15/07, Brad Midgley <[email protected]> wrote:
> John
>
> > I am confused, I Can't use plugz and have to use btsco???
>
> I didn't carry forward all the junk in btsco when I created plugz, but
> the a2dp sink maybe should be brought forward. It is relatively clean
> and there is not an equivalent plugin for what it does.
>
> > I don't even see these binaries after installing btsco, like a2play
>
> make install doesn't install a2recv or a2play. the idea was that they
> are developer test apps.
>
> if you do play with a2recv, note that at least one a2dp source insists
> we do a role switch before it will work and at least one other fails to
> work right if we do. :(
>
> clearly the hci_switch_role call should be a conditioned on a
> command-line argument. for now you can run it as root and then as a
> regular user since the user isn't allowed to do the switch.
>
> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
John
> I am confused, I Can't use plugz and have to use btsco???
I didn't carry forward all the junk in btsco when I created plugz, but
the a2dp sink maybe should be brought forward. It is relatively clean
and there is not an equivalent plugin for what it does.
> I don't even see these binaries after installing btsco, like a2play
make install doesn't install a2recv or a2play. the idea was that they
are developer test apps.
if you do play with a2recv, note that at least one a2dp source insists
we do a role switch before it will work and at least one other fails to
work right if we do. :(
clearly the hci_switch_role call should be a conditioned on a
command-line argument. for now you can run it as root and then as a
regular user since the user isn't allowed to do the switch.
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
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 <[email protected]> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel