Return-Path: From: Andrew Waldram To: BlueZ development In-Reply-To: <44FE95CE.1090502@palmsource.com> References: <554C5F4C5BA7384EB2B412FD46A3BAD10135633A@pdsmsx411.ccr.corp.intel.com> <44FE42C7.7030100@xmission.com> <44FE95CE.1090502@palmsource.com> Date: Thu, 07 Sep 2006 17:48:23 +0100 Message-Id: <1157647703.16404.2.camel@localhost> Mime-Version: 1.0 Subject: Re: [Bluez-devel] Big patch to a2dpd Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net SGkgRnJlZGVyaWMsCgpTaW5jZSBCcmFkIGFwcGxpZWQgdGhlIEJpZyBwYXRjaCB0byBhMmRwZCBp J20gZ2V0dGluZwoKYTJkcGQuYzo0MDoyMTogZXJyb3I6IGFsc2FsaWIuaDogTm8gc3VjaCBmaWxl IG9yIGRpcmVjdG9yeQphMmRwZC5jOiBJbiBmdW5jdGlvbiDigJhidF9oYW5kbGVy4oCZOgphMmRw ZC5jOjY5NTogd2FybmluZzogaW1wbGljaXQgZGVjbGFyYXRpb24gb2YgZnVuY3Rpb24g4oCYYWxz YV9uZXfigJkKCkkgY2FuJ3QgZmlndXJlIG91dCB3aGVyZSBhbHNhbGliLmggc2hvdWxkIGJlIGNv bW1pbmcgZnJvbSA/CgoKT24gV2VkLCAyMDA2LTA5LTA2IGF0IDExOjMzICswMjAwLCBGcsOpZMOp cmljIERBTExFQVUgd3JvdGU6Cj4gSGksCj4gCj4gPiBMZWEKPiA+Cj4gPiAgIAo+ID4+IFllcy4g SSBwcmVmZXIgbW9kaWZ5aW5nIGFsc2FfdHJhbnNmZXJfcmF3KCksIHdoaWNoIG1ha2VzIHRoZSBm cmFtZXdvcmsgbG9naWMgY29uc2lzdGVudC4gSG93IGRvIHlvdSB0aGluayBhYm91dCBpdD8gCj4g Pj4gICAgIAo+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