Re: [Bluez-devel] CVS audio-api.txt : 1st question

Fabien Chevalier
2007-07-06T13:32:26Z

Hi Luiz,

> It is already possible to use the plugin with gstreamer, you just need
> to set the device property to "bluetooth". So my guess it that alsa
> already fulfill our need of system wide mechanism to access bt audio.
>
> This is the command line I use to play mp3 with gstreamer:
> gst-launch -v filesrc location="path_to.mp3" ! decodebin !
> audioconvert ! audioresample ! alsasink device=bluetooth sync=false
>

Sure it is possible, but it is not the more powerfull way of doing it.
In this case your format converting path is MP3 --> PCM -->SBC, which is
not good for sound quality, nor for power consumption ;-)
You need the power of Gstreamer in order to stream MP3 directly to the
headset : you need a native Gstreamer bluetooth element.

Cheers,

Fabien