public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Huitl <bluez-devel@huitl.de>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] skype and bluetooth
Date: Wed, 16 May 2007 02:21:26 +0200	[thread overview]
Message-ID: <200705160221.27516.bluez-devel@huitl.de> (raw)
In-Reply-To: <200705152220.58038.chick@computergeek.freeserve.co.uk>

On Dienstag, 15. Mai 2007, you wrote:
> On Tuesday 15 May 2007 21:22, Robert Huitl wrote:
> > Okay after some debugging I know what the problem is.
> > 2.) Offering more sampling rates than 8 kHz would be nice to have, but
> > I'm not familiar with the design philosophies around ALSA. It's probably
> > not a good idea to implement resampling in each and every sound plugin
> > like pcm_sco. Does ALSA have some resampling facilities that can be
> > plugged in between an application and a plugin? Maybe some magic lines in
> > .asoundrc?
>
> I do this with a2dp, I'm sure the same could apply to sco.
> I use an .asoundrc file which looks like this:

Thanks a lot for this configuration. I got Skype running with it, even though 
it's freezing almost always when I call the echo test service (and both input 
and output are set to headset-sco-resample). But in a few cases it actually 
worked very nicely.

However, if only input _or_ output is set to the headset device, it's quite 
stable. So recording is fine, playback is fine, but both of them at a time 
freeze Skype.

For reference, this is my .asoundrc:

pcm.headset-sco-resample {
        type plug
        slave {
                pcm "headset-sco"
                rate 8000
                format S16_LE
                channels 1
        }
}
pcm.headset-sco {
        @args [BDADDR TIMEOUT]
        @args.BDADDR {
                type string
                default "xx:xx:xx:xx:xx:xx" # Put your HS address here
        }
        @args.TIMEOUT {
                type integer
                default 6000
        }
        type        sco
        bdaddr      $BDADDR
        timeout     $TIMEOUT
}

Might be some problem with ALSA, though.

Regards,
  Robert

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2007-05-16  0:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-14 17:14 [Bluez-devel] skype and bluetooth John H.
2007-05-14 18:02 ` John H.
2007-05-15  0:00 ` Robert Huitl
2007-05-15  0:16   ` Robert Huitl
2007-05-15 20:22   ` Robert Huitl
2007-05-15 21:20     ` Tim Chick
2007-05-16  0:21       ` Robert Huitl [this message]
2007-05-16  2:26         ` John H.
2007-05-16  8:02           ` Robert Huitl
2007-05-16 21:37             ` John H.

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=200705160221.27516.bluez-devel@huitl.de \
    --to=bluez-devel@huitl.de \
    --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