Skip to contentSkip to conversation

Question about cvsd input and output

Bluez-devel Jui-Hao Chiang 2 participants 2 messages Aug 17, 2008 – Aug 18, 2008 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi, all

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.

Am I right? or it's just the limitation of my adapter (Cyber Blue, Bluetooth EDR USB dongles,class II,V2.0)?

Bests

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi,

Quoted 6 lines

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.

Quoted 7 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel