public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Martin van Veen <martin_van_veen@yahoo.com>
To: "Lewin A.R.W. Edwards" <larwe@larwe.com>,
	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	[thread overview]
Message-ID: <20010206082232.30517.qmail@web11105.mail.yahoo.com> (raw)
In-Reply-To: <4.3.2.7.2.20010205230345.00b43e90@larwe.com>

Hi Lewin,

--- "Lewin A.R.W. Edwards" <larwe@larwe.com> 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/

  reply	other threads:[~2001-02-06  0:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-05 20:06 Lewin A.R.W. Edwards
2001-02-06  0:22 ` Martin van Veen [this message]
2001-02-06  6:09   ` Lewin A.R.W. Edwards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010206082232.30517.qmail@web11105.mail.yahoo.com \
    --to=martin_van_veen@yahoo.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=larwe@larwe.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).