Return-Path: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C5A8A6.9C219CDF" 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: Wed, 24 Aug 2005 14:18:30 +0200 This is a multi-part message in MIME format. ------_=_NextPart_001_01C5A8A6.9C219CDF Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Brad, I ran one more test and instead of -n flag for a2play I changed magic 87 = to magic 50, CPU usage dropped >2 times to ~8% on ARM9@400Mhz and sound = is still smooth. That's how it was tested in first place which is close = to 30 MIPS I guess... Regards, Victor. -----Original Message----- From: bluez-devel-admin@lists.sourceforge.net on behalf of Victor = Shcherbatyuk Sent: Tue 8/23/2005 5:00 PM To: bluez-devel@lists.sourceforge.net Subject: RE: [Bluez-devel] sbc and fixed-point progress =20 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_01C5A8A6.9C219CDF Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 eJ8+IhQMAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEgAEALwAAAFJFOiBbQmx1ZXotZGV2ZWxd IHNiYyBhbmQgZml4ZWQtcG9pbnQgcHJvZ3Jlc3MArxABBYADAA4AAADVBwgAGAAOABIAHgADAD0B ASCAAwAOAAAA1QcIABgADgAXABIAAwA2AQEJgAEAIQAAADBGMkMyOTQ3QkE1MjUxNDg5QkIxRDE3 RERGMzNCOTcyAC8HAQOQBgCIDwAAOAAAAAMAJgAAAAAAAwA2AAAAAABAADkA57gz8KWoxQEeAD0A AQAAAAUAAABSRTogAAAAAAIBRwABAAAAJQAAAGM9Tkw7YT0gO2w9QVJJT04tMDUwODI0MTIyMzE4 Wi00NTc1MQAAAAAeAEkAAQAAAC8AAABSRTogW0JsdWV6LWRldmVsXSBzYmMgYW5kIGZpeGVkLXBv aW50IHByb2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dWsAAgH5PwEA AABoAAAAAAAAANynQMjAQhAatLkIACsv4YIBAAAAAAAAAC9PPUVYQ0hBTkdFIE9SR0FOSVpBVElP Ti9PVT1GSVJTVCBBRE1JTklTVFJBVElWRSBHUk9VUC9DTj1SRUNJUElFTlRTL0NOPVZTSAAeAPo/ AQAAABUAAABTeXN0ZW0gQWRtaW5pc3RyYXRvcgAAAAACAfs/AQAAAB4AAAAAAAAA3KdAyMBCEBq0 uQgAKy/hggEAAAAAAAAALgAAAAMA/T/kBAAAAwAZQAAAAAADABpAAAAAAAMAHUAAAAAAAwAeQAAA AAAeADBAAQAAAAQAAABWU0gAHgAxQAEAAAAEAAAAVlNIAB4AMkABAAAAKAAAAGJsdWV6LWRldmVs LWFkbWluQGxpc3RzLnNvdXJjZWZvcmdlLm5ldAAeADNAAQAAAB8AAABWaWN0b3IuU2hjaGVyYmF0 eXVrQHRvbXRvbS5jb20AAB4AOEABAAAABAAAAFZTSAAeADlAAQAAAAIAAAAuAAAAAwB2QP////8L ACkAAAAAAAsAIwAAAAAAAwAGEBLlEgQDAAcQhAgAAAMAEBAAAAAAAwAREAAAAAAeAAgQAQAAAGUA AABCUkFELElSQU5PTkVNT1JFVEVTVEFORElOU1RFQURPRi1ORkxBR0ZPUkEyUExBWUlDSEFOR0VE TUFHSUM4N1RPTUFHSUM1MCxDUFVVU0FHRURST1BQRUQyVElNRVNUTzglT05BAAAAAAIBfwABAAAA OwAAADxDNzAwNjFCMTgzREUwOTQxOTU2OEFCMjA2MEM1MkE5NTBFNDQ5MkBhcmlvbi5pbnRyYS5s b2NhbD4AAJG2 ------_=_NextPart_001_01C5A8A6.9C219CDF-- ------------------------------------------------------- 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