From: Brad Midgley <bmidgley@xmission.com>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] a2dp timing
Date: Fri, 25 Mar 2005 09:44:11 -0700 [thread overview]
Message-ID: <42443FDB.3070205@xmission.com> (raw)
In-Reply-To: <1111756476.9195.105.camel@pegasus>
Marcel
> In the case of an ALSA plugin, we may simple use the timing of the ALSA
> system itself. However it would be great if the SBC encoder would also
> calculate the time of the PCM fragment.
ok, I will look at the plugin again. I was discouraged before by the
complexity and by the fact that a lot of alsa clients won't let you
choose a userspace plugin device (and even with those that do, you have
to remember and type in an alsa device name to reach a userspace plugin)
>> frame_len = read_header(fd, &sbc_info);
>> bytes_read = read(fd, killbuffer, frame_len);
>
> And then you need to sleep some time before reading/dropping the next
> SBC frame.
of course from the plugin, these won't be read() calls, they will be
calls into the sbc lib.
brad
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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:[~2005-03-25 16:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-25 5:00 [Bluez-devel] a2dp timing Brad Midgley
2005-03-25 13:14 ` Marcel Holtmann
2005-03-25 14:22 ` Guylhem Aznar
2005-03-25 14:26 ` Marcel Holtmann
2005-03-25 17:23 ` Guylhem Aznar
2005-03-25 17:28 ` Marcel Holtmann
2005-03-25 18:14 ` btlog anyone? " Brad Midgley
2005-03-25 16:44 ` Brad Midgley [this message]
2005-03-25 17:31 ` Marcel Holtmann
2005-04-04 17:14 ` Brad Midgley
2005-04-05 15:12 ` Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
2005-04-14 8:04 Mayank Batra
2005-04-14 8:17 ` Brad Midgley
2005-04-15 9:41 Mayank Batra
2005-04-16 20:32 ` Henryk Plötz
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=42443FDB.3070205@xmission.com \
--to=bmidgley@xmission.com \
--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.