Openmoko media player and direct mp3 to bluetooth headphones
daniel at benoy.name
Thu Feb 26 15:07:12 CET 2009
On Wednesday 25 February 2009 22:06:49 you wrote:
> So is this to say that the bluetooth earpiece itself has MP3-decoding
> capability? I find that hard to imagine. So where is the decoding actually
> taking place? And can it be done with OGG too, since it's the obviously
> superior codec. :P
Yes it does decode the MP3 data itself, and despite the fact that only SBC is required by the spec, it's actually very common for MP3 to be supported.
To check if mp3 is supported, use the 'avinfo' command included with bluez on the bluetooth address of the headphones, and it'll ask it for all supported codecs. It will say 'MPEG12' as one of the codecs if it supports it.
I don't think there are any that support ogg. I suppose it's something that's possible, however I've been through the code of the gstreamer a2dpsink and I can tell you that it will have to be modified to support ogg, in addition to the headphones.
More information about the community