From: Marcel Holtmann <marcel@holtmann.org>
To: James Courtier-Dutton <James@superbug.demon.co.uk>
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] SCO. Some ideas.
Date: Sun, 29 Feb 2004 21:38:30 +0100 [thread overview]
Message-ID: <1078087109.1942.54.camel@pegasus> (raw)
In-Reply-To: <40423226.8050007@superbug.demon.co.uk>
Hi James,
> This is something I need to be able to understand better.
> What should actually be adjusting the voice setting? To me it seems
> sensible that we should try to get the voice setting to match the alsa
> PCM samples if we can.
> Of course, another approach is getting the application to set the voice
> setting, and then open the SCO link, and then force alsa to use whatever
> voice setting the SCO link was set to. We would get the application to
> inform alsa about this voice setting via an ioctl.
we only need to know about the input coding. The ALSA driver maybe needs
to convert the PCM samples to the input coding of the Bluetooth device.
> The alsa-driver receives a trigger() api call from an alsa based
> application. It would be nice to pass this trigger() function on down
> the stack to whichever bluetooth hci driver we are using (hci_usb or
> whatever else), and that hci driver handle it appropriately.
> I just gave the usb_submit_urb() as an example of what the hci_usb.c
> driver would do when it received the trigger() call.
> For example. The SCO link is open, but no actual sound samples start
> being sent or received from the CPU until the trigger() call.
I don't see any need for it.
> I was using the HCI USB driver as an example only.
> The alsa-driver receives a pointer() from the alsa based application. we
> need to pass a call to the HCI driver (hardware independently) which
> would return the frame pointer. I don't think the concept of a
> frame_pointer is USB specific. Any Bluetooth hardware driver will use a
> frame_pointer.
I don't get this either, because we don't need to interface with any
hardware drivers.
> Maybe I should look at the patch first, but ..
You can find it in the mailing list archive.
> I cannot see anywhere in the current HCI layer api where I can find out
> which HCI SCO packet is currently(in realtime) being output. All I know
> is that if I send an HCI SCO packet down the stack, it will get queued,
> and at some point be output. That is not good enough.
Why would you wanna know this? If you send too much data, the Bluetooth
chip itself will drop the packets.
Regards
Marcel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2004-02-29 20:38 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-29 16:15 [Bluez-devel] SCO. Some ideas James Courtier-Dutton
2004-02-29 17:02 ` Marcel Holtmann
2004-02-29 18:40 ` James Courtier-Dutton
2004-02-29 20:38 ` Marcel Holtmann [this message]
2004-02-29 21:19 ` James Courtier-Dutton
2004-02-29 22:01 ` Marcel Holtmann
2004-02-29 23:25 ` James Courtier-Dutton
2004-02-29 23:38 ` Marcel Holtmann
2004-03-01 14:11 ` James Courtier-Dutton
2004-03-01 15:28 ` Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
2004-03-01 16:27 Williams, Richard
2004-03-01 17:20 ` Simon Vogl
2004-03-01 17:22 ` Marcel Holtmann
2004-03-02 7:43 ` Simon Vogl
2004-03-01 17:39 ` James Courtier-Dutton
2004-03-01 19:08 Williams, Richard
2004-03-01 19:45 ` James Courtier-Dutton
2004-03-01 19:46 ` James Courtier-Dutton
2004-03-01 20:25 Williams, Richard
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=1078087109.1942.54.camel@pegasus \
--to=marcel@holtmann.org \
--cc=James@superbug.demon.co.uk \
--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