Return-Path: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C5A7F3.557DB2CA" Subject: RE: [Bluez-devel] sbc and fixed-point progress Message-ID: From: "Victor Shcherbatyuk" To: Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 23 Aug 2005 17:00:00 +0200 This is a multi-part message in MIME format. ------_=_NextPart_001_01C5A7F3.557DB2CA Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Brad, I did some test runs on ARM9@400MHz, general fixed point encoder eats up = ~40% of CPU time, while arm specific version - ~20%. And in both cases = it runs quite smooth. So the drops you had should have been caused by = something else (unless you run some othe applications cuncurently). Victor. -----Original Message----- From: bluez-devel-admin@lists.sourceforge.net on behalf of Brad Midgley Sent: Mon 8/22/2005 9:22 AM To: bluez-devel@lists.sourceforge.net Subject: Re: [Bluez-devel] sbc and fixed-point progress =20 Victor >> I do not have HW to test arm specific version real time, hope no=20 >> suprises there, but I could have missed something when integrating it = >> into sbc code (it decodes well, but how fast, I will try only monday=20 >> evening). >=20 >=20 > Ok, I'll load it on gumstix now and give it a try. This is almost perfect. On a 400mhz gumstix (pxa255), I'm able to send a = 5-minute audio stream with only about three breaks in the audio (about 5 = seconds each). I think it will work flawlessly in 4 subbands or if we can shorten a few = of the ops from 64 to 32 bit. I committed what's there and used __arm__ for the conditional asm code. >> Using a2play needs to tweak 87 magic number, otherwise it drops = samples? >=20 >=20 > yes, this is disappointing. We may need to find another way to get=20 > reliable timing than setitimer. >=20 > I did change the first usleep(10) to usleep(1000) and that *may* help=20 > with this problem by ensuring that we always interrupt the usleep=20 > syscall consistently. I don't have my hp headphones (the set that's = very=20 > sensitive to timing) handy to test. fwiw, I had to use the -n flag to a2play so it wouldn't use itimer at=20 all. This flag tells a2play to just send the audio as fast as it can=20 encode it. Brad ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle = Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & = QA Security * Process Improvement & Measurement * = http://www.sqe.com/bsce5sf _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel ------_=_NextPart_001_01C5A7F3.557DB2CA Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 eJ8+IgEPAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEgAEALwAAAFJFOiBbQmx1ZXotZGV2ZWxd IHNiYyBhbmQgZml4ZWQtcG9pbnQgcHJvZ3Jlc3MArxABBYADAA4AAADVBwgAFwARAAAAAAACAA4B ASCAAwAOAAAA1QcIABcAEQAAAAAAAgAOAQEJgAEAIQAAAEU0NzA4MTk0OTNBOTg5NDFBNkQwOTU1 NjhDNUZEOTdGACYHAQOQBgB8DgAAOAAAAAMAJgAAAAAAAwA2AAAAAABAADkAyrJ9VfOnxQEeAD0A AQAAAAUAAABSRTogAAAAAAIBRwABAAAAJQAAAGM9Tkw7YT0gO2w9QVJJT04tMDUwODIzMTUwMDAw Wi00MzczNgAAAAAeAEkAAQAAAC8AAABSZTogW0JsdWV6LWRldmVsXSBzYmMgYW5kIGZpeGVkLXBv aW50IHByb2dyZXNzAABAAE4AgDm1M+qmxQEeAFoAAQAAACgAAABibHVlei1kZXZlbC1hZG1pbkBs aXN0cy5zb3VyY2Vmb3JnZS5uZXQAAgFbAAEAAABtAAAAAAAAAIErH6S+oxAZnW4A3QEPVAIAAAAA Ymx1ZXotZGV2ZWwtYWRtaW5AbGlzdHMuc291cmNlZm9yZ2UubmV0AFNNVFAAYmx1ZXotZGV2ZWwt YWRtaW5AbGlz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AAAZQAAAEhFTExPQlJBRCxJRElEU09NRVRFU1RSVU5TT05BUk05QDQwME1I WixHRU5FUkFMRklYRURQT0lOVEVOQ09ERVJFQVRTVVA0MCVPRkNQVVRJTUUsV0hJTEVBUk1TUEVD SUZJQ1YAAAAAAgF/AAEAAAA7AAAAPEM3MDA2MUIxODNERTA5NDE5NTY4QUIyMDYwQzUyQTk1MEU0 NDkwQGFyaW9uLmludHJhLmxvY2FsPgAA/h4= ------_=_NextPart_001_01C5A7F3.557DB2CA-- ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel