Skip to content

mSBC tests

Frédéric Dalleau linux-bluetooth 1 version In review

Get series with b4
b4 am 1348757068-31048-1-git-send-email-frederic.dalleau@linux.intel.com

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Add msbc encoding and decoding flagMakefile.am sbc/sbc.c sbc/sbc.h +4 more+443 -561 reply
2/5Add support for mSBC frame headersbc/sbc.c+63 -411 reply
3/5update sbcdec for msbcsrc/sbcdec.c+12 -50 replies
4/5update sbcenc for msbcsrc/sbcenc.c+20 -50 replies
5/5update sbcinfo for msbcsrc/sbcinfo.c+36 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] mSBC tests

Hi folks,

I wanted to know more about mSBC and I look into the spec and saw it was just a set of settings for SBC. So I tried to exercise them using sbcenc and sbcdec and found it wasn't possible, I ended modifying SBC library and now it should be possible to use mSBC settings.
Using 15 block doesn't work using SIMD processing because of data reordering so I recalled some legacy C code from an older release (sbc_analyse_eight) and put in a separate primitives file.

Work done from the spec, not tested with any reference encoder.

How to use:
sample.au should be an .au audio file 16000hz 16bits 1 channel pcm.

$ src/sbcenc  -m -b26 -B16 -s8   sample.au > sample.au.msbc
$ src/sbcinfo sample.au.msbc
$ src/sbcdec  -m -f sample.au.msbc.au sample.au.msbc
$ mplayer sample.au.msbc.au

Note sure there is any application yet but I thought I should share.

Regards,
Frederic

Frédéric Dalleau (5):
Add msbc encoding and decoding flag
Add support for mSBC frame header
update sbcdec for msbc
update sbcenc for msbc
update sbcinfo for msbc

 Makefile.am               |    1 +
 sbc/sbc.c                 |  227 +++++++++++++++++++-------------
 sbc/sbc.h                 |    3 +
 sbc/sbc_primitives.c      |    8 +-
 sbc/sbc_primitives.h      |    7 +-
 sbc/sbc_primitives_stdc.c |  321 +++++++++++++++++++++++++++++++++++++++++++++
 sbc/sbc_primitives_stdc.h |   36 +++++
 src/sbcdec.c              |   17 ++-
 src/sbcenc.c              |   25 +++-
 src/sbcinfo.c             |   51 ++++---
 10 files changed, 574 insertions(+), 122 deletions(-)
 create mode 100644 sbc/sbc_primitives_stdc.c
 create mode 100644 sbc/sbc_primitives_stdc.h
Signature · 1 line
1.7.9.5