From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin van Veen To: "Lewin A.R.W. Edwards" , ecos-discuss@sources.redhat.com Subject: Re: [ECOS] Anyone tried to integrate ARM's MP3 playback code? Date: Tue, 06 Feb 2001 00:22:00 -0000 Message-id: <20010206082232.30517.qmail@web11105.mail.yahoo.com> References: <4.3.2.7.2.20010205230345.00b43e90@larwe.com> X-SW-Source: 2001-02/msg00058.html Hi Lewin, --- "Lewin A.R.W. Edwards" wrote: > Has anyone successfully integrated ARM's reference [binary] MP3 > decoder into eCos? I don't want detailed code [well, I do, but I'm > not asking for it] - I'd just like an indication of whether it can > be done, so I can decide whether to try or just write my own > implementation based on the ISO sources. If you mean the ARM MPEG-2 Audio Layer III Decoder library, then I can tell you that we currently busy integrating it. The nasty thing about this library is that it expects the data to be big endian, while the data is stored little endian. This means endian swap before playing, which is easy when you're using 32kHz and 48kHz files. 44.1kHz files are more of a promblem, since its frame size can vary (1040 or 1041 bytes). As a result of this you have to watch out that you do not swap the sync word of the next frame. Success, Martin __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/