All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luca Pizzamiglio <pizzamiglio@cefriel.it>
To: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] SCO & btsco
Date: Wed, 14 Sep 2005 09:51:06 +0200	[thread overview]
Message-ID: <4327D66A.1030304@cefriel.it> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi to all.

I'm using btsco with a headset and it works very well.
Now I'm trying to record audio from another bt device (es. a phone):
using socket SCO interface I read data and I write it in a file (sound.raw);
I'm trying to understand what audio formats I receive.

bt specification says that bluetooth supports three audio formats:
- - CVSD
- - u-law
- - a-law

hciconfig hci0 voice command reports:

hci0:   Type: USB
        BD Address: 00:09:DD:10:4C:C6 ACL MTU: 192:8 SCO MTU: 64:8
        Voice setting: 0x0060 (Default Condition)
        Input Coding: Linear
        Input Data Format: 2's complement
        Input Sample Size: 16 bit
        # of bits padding at MSB: 0
        Air Coding Format: CVSD

I see from btsco sources that btsco support only mu-law format (it is a
comment), but the code check if voice setting is equal to 0x0060 (CVSD).
So, btsco support CVSD? There's a CVSD codec in btsco source code or I
have to implement a Bluez CVSD codec?

Cheers,
Pizza

- -------------------------------------------
Luca Pizzamiglio
CEFRIEL - Embedded Systems Design Unit
Via Fucini, 2 - 20133 MILANO (ITALY)
Phone:		+39 02 23954 343
e-mail:		pizzamiglio@cefriel.it
ICQ:		5046978
- -------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDJ9ZqAoUy56ORfbERAiCgAJ99Bu1+gXGwGnaoigrmtlQCziMWJQCfVtMc
K7t5kgaiP17l2Q4uivDMQvE=
=KAmk
-----END PGP SIGNATURE-----


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

             reply	other threads:[~2005-09-14  7:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-14  7:51 Luca Pizzamiglio [this message]
2005-09-14 11:36 ` [Bluez-devel] SCO & btsco Steven Singer
2005-09-14 13:21   ` Luca Pizzamiglio

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=4327D66A.1030304@cefriel.it \
    --to=pizzamiglio@cefriel.it \
    --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 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.