All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Bug in SBC
@ 2008-11-17 15:57 Christian Hoene
  0 siblings, 0 replies; only message in thread
From: Christian Hoene @ 2008-11-17 15:57 UTC (permalink / raw)
  To: 'BlueZ development'

Hello,

Let me forward some comments from Frans de Bont, the inventor of SBC. He
found a bug in the encoder but is not allowed to change the BlueZ
implementation. Thus, I forward you his error description because these
weeks I hardly have any time to look at the source code myself and - I have
to admit - I am getting older and coding lazy.

With best regards,
 
 Christian Hoene

PS:
Here Frans comments:

I also have taken a quick look into the filtering part of the encoder. It
seems that this code does not behave as the reference code. Unfortunately, I
cannot disclose this part of the reference source code. However, if someone
wants to correct this, the flow chart in the MPEG-1 Audio standard could be
taken as an example with slightly difference parameters, i.e. subbands=32
and filterlength=512.

You can find the referred flow chart in Figure C.4 on page 78 (in my version
of the ISO/IEC 11172-3 standard). Please note that the decoder flow charts
in A2DP have been derived from Figure A.2 on page 39.

You can find ... public version on:
http://www.mp3-tech.org/programmer/docs/iso11172-3.zip

For the encoder filterbank, you can find this in annex_c.doc, page 13,
FIGURE 3-C.2, "Layer I, II encoder flow chart".
The decoder filterbank is shown in annex_ab.doc, page 2, Figure 3-A.3,
"Layer III decoder flow chart".

BTW, I noticed that earlier versions of the Bluez SBC codec are indeed based
on the MPEG-1 flow charts. Probably the conversion from floating-point to
fixed-point has introduced the quality degradation.

Best regards,
Frans



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-17 15:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-17 15:57 [Bluez-devel] Bug in SBC Christian Hoene

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.