public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Question about cvsd input and output
@ 2008-08-17 21:53 Jui-Hao Chiang
  2008-08-18  5:09 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Jui-Hao Chiang @ 2008-08-17 21:53 UTC (permalink / raw)
  To: bluez-devel

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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-devel] Question about cvsd input and output
  2008-08-17 21:53 [Bluez-devel] Question about cvsd input and output Jui-Hao Chiang
@ 2008-08-18  5:09 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2008-08-18  5:09 UTC (permalink / raw)
  To: BlueZ development

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-18  5:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-17 21:53 [Bluez-devel] Question about cvsd input and output Jui-Hao Chiang
2008-08-18  5:09 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox