Return-Path: Message-ID: <46C583BF.9080705@free.fr> Date: Fri, 17 Aug 2007 13:17:19 +0200 From: Fabien Chevalier MIME-Version: 1.0 To: BlueZ development References: <46BD85F4.1090400@free.fr> <1186855275.6698.10.camel@violet> <1186999158.6262.10.camel@ubuntu.mpl.access-company.com> <1186999538.6698.141.camel@violet> <46C07EAC.8060407@free.fr> <1187024669.6698.214.camel@violet> <46C1A54A.9080103@free.fr> <1187109870.6698.287.camel@violet> In-Reply-To: <1187109870.6698.287.camel@violet> Subject: Re: [Bluez-devel] An explanation of a2dpd weird behaviour on high resolution timers enabled kernels Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi Marcel, > > I might be simply never hear the difference, Well, you will, however not always, this will be dependant upon the bluetooth devices used, so that might work for you but fail for someone else if those clock drifting issues are not handled properly. but anyway, we can actually > do this. However the implementation is tricky. The plugin should not > send HCI commands at all. Actually no daemon (except hcid) should send > any HCI commands at any time. Woops, didn't know about that :-( Are there any hard constraints behing this limitation or is it just a good software architecturing rule that prevents us from doing it ? > I can make the kernel to as for the clock > offset in a certain interval. Just for my own comprehension : could you expose here how do you intend to implement this ? > This costs too since it has to go over the > same HCI link that the audio data goes. Agreed :-) > So at which rate do you need > this information? Let's say we are unlucky and we got the master clock and the main CPU clock to drift each of 250 ppm in opposite directions. That leaves use with a 30 ms per minute drift. I'd say a clock resynch every 20-30 seconds should be enough, and would limit the drift at any time below 15 mseconds, which should be compensated byt the headset side buffering. So let's say i need this information every ~20 seconds. Note : of course this is for a2dp only, sco matters are completely different. Cheers, Fabien ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel