All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: linux-bluetooth@vger.kernel.org
Subject: sbcdec: problem with sbc mono stream
Date: Mon, 26 Oct 2009 18:17:03 +0100	[thread overview]
Message-ID: <4AE5D98F.9010500@pengutronix.de> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1566 bytes --]

Hello,

I've got a problem with the gstreamer sbcdec plugin. When playing the
attached sbc mono stream with this gstreamer pipeline:
$(gst-launch -v filesrc location=mono-short.sbc ! sbcdec ! alsasink)
the first some 100ms the stream sounds like an electric shaver. The
effect can be verified when streaming to a filesink.

The sbcdec command line tool just works fine. So the problem must be the
sbcdec plugin or I've started the pipeline the wrong way.

However I observer that the repeated starts of the pipeline give
different strange sounds at the beginning, Decoding into a filesrc does too:

for i in $(seq -w 1 10); do gst-launch filesrc location=mono-short.sbc !
sbcdec ! filesink location=out-$i.raw; done

md5sum *.raw
1b0b7f86c09e01a50356a5665ed2b102  out-01.raw
e1c0d6e947ae38fe8b97c3cf1bf6722c  out-02.raw
895181960e81632340ba633b4f9dbf66  out-03.raw
a2e2dbc03ee7bace8a21c5a5a049e3cf  out-04.raw
9eea2dc39181a20a16ab7fbd46367e35  out-05.raw
169a8c395c689671792a2683dcdc309f  out-06.raw
0d5611f28e2c5f4a40c97c488c6eac2b  out-07.raw
7b50d3bdaba858f1706f28c7b80334cf  out-08.raw
9c5fce3703edd77c48949b3552fed1e4  out-09.raw
7dc8b34832b04a86873a3fad34304fd0  out-10.raw

I'm usung the latest bluez release.

cheers, Marc

-- 
Pengutronix e.K.                         | Marc Kleine-Budde           |
Linux Solutions for Science and Industry | Phone: +49-231-2826-924     |
Vertretung West/Dortmund                 | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686         | http://www.pengutronix.de   |

[-- Attachment #1.2: mono-short.sbc --]
[-- Type: application/octet-stream, Size: 14560 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

                 reply	other threads:[~2009-10-26 17:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AE5D98F.9010500@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.