public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Question about cvsd input and output
Date: Mon, 18 Aug 2008 07:09:43 +0200	[thread overview]
Message-ID: <1219036183.7591.13.camel@violet.holtmann.net> (raw)
In-Reply-To: <loom.20080817T214007-401@post.gmane.org>

Hi,

> I have looked all the old articles, but still have a question.
> In the Bluetooth spec, it said the CVSD input shall be 64ksample/s and 16-bit
> linear PCM.
> It also says the output of the CVSD decoder are 16-bit linear PCM
> digital samples, at a sampling frequency of 8 ksample/sec.
> 
> I am a little confused about the data rate of the input side (64k*16bit =
> 1024kbps), which seems 8 times faster than the output of decoder.
> 
> Besides, I tried to open a SCO socket between two adapters (scotest), and the
> maximum data rate in one direction is 128kbps.
> Thus, I don't think we can actually feed 64ksamples/sec, 16-bit voice data into
> the CVSD codec of the adapter. 

the CVSD is only used over-the-air. The input for the host adapter is
based on the voice setting which defaults to 16-bit linear PCM.

Regards

Marcel



-------------------------------------------------------------------------
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

      reply	other threads:[~2008-08-18  5:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-17 21:53 [Bluez-devel] Question about cvsd input and output Jui-Hao Chiang
2008-08-18  5:09 ` Marcel Holtmann [this message]

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=1219036183.7591.13.camel@violet.holtmann.net \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox