Re: Question about cvsd input and output

Marcel Holtmann <[email protected]> Mon, 18 Aug 2008 07:09:43 +0200
Newsgroups gmane.linux.bluez.devel
Message-ID <[email protected]>
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=/